Closed Gary-H9 closed 2 years ago
When building on a Docker + WSL2 Ubuntu laptop I encounter the following error:
... => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/alpine:3.15.0 4.9s => [internal] load build context 0.0s => => transferring context: 2.44kB 0.0s => CACHED [1/6] FROM docker.io/library/alpine:3.15.0@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 0.0s => ERROR [2/6] RUN apk --update --no-cache add git openssl~=1.1.1n jq tshark python3-dev py3-pip bash make curl gcc make g++ zlib-dev talloc-dev libressl openssl-dev linux-headers 1.6s ------ > [2/6] RUN apk --update --no-cache add git openssl~=1.1.1n jq tshark python3-dev py3-pip bash make curl gcc make g++ zlib-dev talloc-dev libressl openssl-dev linux-headers: #5 0.368 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz #5 0.737 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz #5 1.533 ERROR: unable to select packages: #5 1.591 openssl-1.1.1o-r0: #5 1.591 breaks: world[openssl~1.1.1n] ------ executor failed running [/bin/sh -c apk --update --no-cache add git openssl~=1.1.1n jq tshark python3-dev py3-pip bash make curl gcc make g++ zlib-dev talloc-dev libressl openssl-dev linux-headers]: exit code: 1 make: *** [Makefile:5: build] Error 1
If you remove this from Dockerfile then the build also fails with the following error:
Dockerfile
executor failed running [/bin/sh -c wget https://github.com/FreeRADIUS/freeradius-server/archive/release_3_2_0.tar.gz && tar xzvf release_3_2_0.tar.gz && cd freeradius-server-release_3_2_0 && ./configure --with-experimental-modules --with-rlm-python3-bin=/usr/bin/python --build=x86_64-unknown-linux-gnu && make && make install && mkdir -p /tmp/radiusd /usr/local/etc/raddb /usr/local/etc/raddb/certs && rm -fr /usr/local/etc/raddb/sites-enabled/* && openssl dhparam -out /usr/local/etc/raddb/dh 1024 && ln -sf python3 /usr/bin/python && pip3 install --ignore-installed --no-cache --upgrade pip six setuptools py-radius PyMySQL && cd - && rm -fr ./freeradius-server && chown root:root /usr/bin/dumpcap]: exit code: 2 make: *** [Makefile:5: build] Error 1
Run AWS_PROFILE=moj-nac-development make build on the latest pull of this repository. Be sure to export TERRAFORM_OUTPUTS ENV and REGISTRY_URL.
AWS_PROFILE=moj-nac-development make build
TERRAFORM_OUTPUTS
ENV
REGISTRY_URL
A complete build.
Latest pull of the repo as of 13th May 2022.
No response
Error now appears in development pipeline, thereby discounting this being solely a Windows / WSL issue.
CNSA-10 created on Jira board and transitioned to Done
Describe the bug.
When building on a Docker + WSL2 Ubuntu laptop I encounter the following error:
If you remove this from
Dockerfile
then the build also fails with the following error:To Reproduce
Run
AWS_PROFILE=moj-nac-development make build
on the latest pull of this repository. Be sure to exportTERRAFORM_OUTPUTS
ENV
andREGISTRY_URL
.Expected Behaviour
A complete build.
Environment
Additional context
No response