target/mmk-ui-api

ERROR [mmk-ui-api_ui stage-0 2/11]

Closed this issue · 1 comments

When trying to build the demo on a Mac, I'm receiving the following error:

=> CANCELED [mmk-ui-api_api stage-0 2/18] RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main openssl 1.0s
=> CANCELED [mmk-ui-api_scanner stage-0 2/16] RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara-dev 0.9s
=> CANCELED [mmk-ui-api_scanner stage-1 2/11] RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara 1.0s
=> ERROR [mmk-ui-api_ui stage-0 2/11] RUN apk add --no-cache bash git openssl wget ca-certificates openssh 0.9s
=> [mmk-ui-api_api stage-1 2/10] RUN mkdir -p /app 0.7s

[mmk-ui-api_ui stage-0 2/11] RUN apk add --no-cache bash git openssl wget ca-certificates openssh:
#40 0.496 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
#40 0.732 140482507094856:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
#40 0.734 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: Permission denied
#40 0.734 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
#40 0.887 140482507094856:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
#40 0.889 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: Permission denied
#40 0.889 ERROR: unable to select packages:
#40 0.891 bash (no such package):
#40 0.891 required by: world[bash]
#40 0.891 ca-certificates (no such package):
#40 0.891 required by: world[ca-certificates]
#40 0.891 git (no such package):
#40 0.891 required by: world[git]
#40 0.891 openssh (no such package):
#40 0.891 required by: world[openssh]
#40 0.891 openssl (no such package):
#40 0.891 required by: world[openssl]
#40 0.891 wget (no such package):
#40 0.891 required by: world[wget]


failed to solve: executor failed running [/bin/sh -c apk add --no-cache bash git openssl wget ca-certificates openssh]: exit code: 6

Looks like this is happening when trying to build the frontend container - but I'm not sure why I'd be getting a permission denied error at the container level. Has anyone else encountered this or have a workaround?

I'm pretty sure this is due to a firewall issue when the frontend container is trying to hit alpinelinux.org - I'll keep this open until I find out for sure and will update if I'm able to fix it.