Open smikkelbakje opened 2 years ago
when i try to build manifests/images/panel with docker build . the build errors
C:\Users\username\Downloads\pterodactyl-containers-master\manifest\images\daemon>docker build . [+] Building 13.5s (11/14) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 764B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/alpine:latest 2.2s => [internal] load metadata for docker.io/library/golang:alpine 2.2s => [auth] library/alpine:pull token for registry-1.docker.io 0.0s => [auth] library/golang:pull token for registry-1.docker.io 0.0s => [build 1/2] FROM docker.io/library/golang:alpine@sha256:c23027af83ff27f663d7983750a9a08f442adb2e7563250787b23 9.3s => => resolve docker.io/library/golang:alpine@sha256:c23027af83ff27f663d7983750a9a08f442adb2e7563250787b23ab3b67 0.0s => => sha256:193418aa43219b3f1294805d57b40064a529239ff05d76617453c78c1fc30ebf 5.19kB / 5.19kB 0.0s => => sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 2.82MB / 2.82MB 0.4s => => sha256:666ba61612fd7c93393f9a5bc1751d8a9929e32d51501dba691da9e8232bc87b 282.16kB / 282.16kB 0.5s => => sha256:8ed8ca4862056a130f714accb3538decfa0663fec84e635d8b5a0a3305353dee 155B / 155B 0.2s => => sha256:c23027af83ff27f663d7983750a9a08f442adb2e7563250787b23ab3b6750d9e 1.65kB / 1.65kB 0.0s => => sha256:1dc6a836407ef26c761af27bd39eb86ec385bab0f89a6c969bb1a04b342f7074 1.36kB / 1.36kB 0.0s => => sha256:b5d6e1be9cf8d1f919eb3c151527578a335fb7cb665ab341dc94d73838675686 110.14MB / 110.14MB 4.6s => => extracting sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 0.5s => => sha256:53fed53c8f50e893da46c90f3f0ddd42390a18a325ff130e71eef790aae2d1b7 156B / 156B 0.6s => => extracting sha256:666ba61612fd7c93393f9a5bc1751d8a9929e32d51501dba691da9e8232bc87b 0.2s => => extracting sha256:8ed8ca4862056a130f714accb3538decfa0663fec84e635d8b5a0a3305353dee 0.0s => => extracting sha256:b5d6e1be9cf8d1f919eb3c151527578a335fb7cb665ab341dc94d73838675686 4.2s => => extracting sha256:53fed53c8f50e893da46c90f3f0ddd42390a18a325ff130e71eef790aae2d1b7 0.0s => [final 1/5] FROM docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285 1.0s => => resolve docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8 0.0s => => sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 1.64kB / 1.64kB 0.0s => => sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3 528B / 528B 0.0s => => sha256:c059bfaa849c4d8e4aecaeb3a10c2d9b3d85f5165c66ad3a4d937758128c4d18 1.47kB / 1.47kB 0.0s => => sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 2.82MB / 2.82MB 0.4s => => extracting sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 0.5s => [internal] load build context 0.0s => => transferring context: 428B 0.0s => [final 2/5] RUN apk add --no-cache ca-certificates tini tzdata; mkdir -p /etc/pterodactyl /var/log/pterod 1.7s => ERROR [build 2/2] RUN apk add git; cd /; git clone https://github.com/pterodactyl/wings --depth 1 --bra 1.8s ------ > [build 2/2] RUN apk add git; cd /; git clone https://github.com/pterodactyl/wings --depth 1 --branch release/; cd wings; go build -ldflags="-s -w";: #10 0.338 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz #10 0.499 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz #10 0.722 (1/6) Installing brotli-libs (1.0.9-r5) #10 0.751 (2/6) Installing nghttp2-libs (1.46.0-r0) #10 0.774 (3/6) Installing libcurl (7.80.0-r0) #10 0.799 (4/6) Installing expat (2.4.4-r0) #10 0.819 (5/6) Installing pcre2 (10.39-r0) #10 0.859 (6/6) Installing git (2.34.1-r0) #10 1.056 Executing busybox-1.34.1-r3.trigger #10 1.065 OK: 19 MiB in 21 packages #10 1.088 Cloning into 'wings'... #10 1.499 warning: Could not find remote branch release/ to clone. #10 1.499 fatal: Remote branch release/ not found in upstream origin #10 1.500 /bin/sh: cd: line 1: can't cd to wings: No such file or directory #10 1.504 go: go.mod file not found in current directory or any parent directory; see 'go help modules' ------ executor failed running [/bin/sh -c apk add git; cd /; git clone https://github.com/pterodactyl/wings --depth 1 --branch ${GIT_BRANCH}; cd wings; go build -ldflags="-s -w";]: exit code: 1
You need to supply a version and optional branch args while building.
when i try to build manifests/images/panel with docker build . the build errors