DU4L / CTFNote

CTFNote is a collaborative tool aiming to help CTF teams to organise their work.
GNU General Public License v3.0
0 stars 0 forks source link

Update multiple Dependencies #60

Closed JM-Lemmi closed 2 years ago

JM-Lemmi commented 2 years ago

There have been quite a few dependencies updated on develop, that should be included in main by now.

Also fixed #51

frereit commented 2 years ago
Building ical-relay
Sending build context to Docker daemon  3.584kB
Step 1/9 : FROM golang
latest: Pulling from library/golang
dbba69284b27: Pull complete 
9baf437a1bad: Pull complete 
6ade5c59e324: Pull complete 
b19a994f6d4c: Pull complete 
e3c59fd148be: Pull complete 
97677ce66d01: Pull complete 
d481c2fcefdc: Pull complete 
Digest: sha256:5eb58ca0a747ed2e2f4e069d1116badb02a172cf160d31f801776a2342c12863
Status: Downloaded newer image for golang:latest
 ---> 7e4f3376ce44
Step 2/9 : RUN apt-get update && apt-get install golang-rice git -y
 ---> Running in c3ba6f727b60
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [124 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B]
Fetched 8508 kB in 1s (5761 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1).
The following NEW packages will be installed:
  golang-rice
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 1365 kB of archives.
After this operation, 4352 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 golang-rice amd64 1.0.2-1+b5 [1365 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1365 kB in 0s (25.4 MB/s)
Selecting previously unselected package golang-rice.
(Reading database ... 15709 files and directories currently installed.)
Preparing to unpack .../golang-rice_1.0.2-1+b5_amd64.deb ...
Unpacking golang-rice (1.0.2-1+b5) ...
Setting up golang-rice (1.0.2-1+b5) ...
Removing intermediate container c3ba6f727b60
 ---> 3a5212c3625a
Step 3/9 : WORKDIR /app
 ---> Running in 1c931a401d72
Removing intermediate container 1c931a401d72
 ---> 2773532fdd0a
Step 4/9 : RUN git clone --branch staging https://github.com/JM-Lemmi/ical-relay ical-relay
 ---> Running in fb4184e3085c
Cloning into 'ical-relay'...
fatal: Remote branch staging not found in upstream origin
The command '/bin/sh -c git clone --branch staging https://github.com/JM-Lemmi/ical-relay ical-relay' returned a non-zero code: 128

ical-relay fails to build in current develop branch. This doesn't seem to be an issue with this PR, but is still a blocker.

frereit commented 2 years ago
front_1       | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
front_1       | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
front_1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
front_1       | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
front_1       | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
front_1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
front_1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
front_1       | /docker-entrypoint.sh: Configuration complete; ready for start up
ical-relay_1  | time="2022-04-05T14:28:07Z" level=info msg="Finding box templates"
front_1       | 2022/04/05 14:28:07 [emerg] 1#1: host not found in upstream "ical-relay" in /etc/nginx/conf.d/default.conf:40
front_1       | nginx: [emerg] host not found in upstream "ical-relay" in /etc/nginx/conf.d/default.conf:40
ctfnote_front_1 exited with code 1

Still not. "host not foudn in upstream" might be because ical-relay depends on front and starts after front? not sure

edit:

yup. front needs to depend on ical-relay, and ical-relay depends on nothing.