You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image Tag: node:16.13.2-alpine or node:18.20.4-alpine
Expected Behavior
I should be able to create a base image from node:16.13.2-alpine. Should be able to install bash as part of the base image creation.
I'm trying to understand what has changed, if it's something related to these images.
Current Behavior
docker build -f Base.Dockerfile -t base .
[+] Building 3.0s (7/10) docker:desktop-linux
=> [internal] load build definition from Base.Dockerfile 0.0s
=> => transferring dockerfile: 849B 0.0s
=> [internal] load metadata for docker.io/library/node:16.13.2-alpine 1.2s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 117B 0.0s
=> CACHED [1/5] FROM docker.io/library/node:16.13.2-alpine@sha256:2f50f4a428f8b5280817c9d4d896dbee03f072e93f4e0c70b90cc84bd1fcfe0d 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2.00kB 0.0s
=> ERROR [2/5] RUN apk update && apk add bash && rm -rf /var/cache/apk/* 1.6s
------
> [2/5] RUN apk update && apk add bash && rm -rf /var/cache/apk/*:
1.283 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
1.445 139819256949576:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
1.449 ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/main: Permission denied
1.452 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory
1.456 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
1.558 139819256949576:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
1.563 ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/community: Permission denied
1.566 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory
1.571 2 errors; 16 distinct packages available
------
Base.Dockerfile:12
--------------------
11 | # Add Bash (Need for certain CLI tools e.g. Snyk)
12 | >>> RUN apk update \
13 | >>> && apk add bash \
14 | >>> && rm -rf /var/cache/apk/*
15 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apk update && apk add bash && rm -rf /var/cache/apk/*" did not complete successfully: exit code: 2
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/b5j5l7n17vlzz0ccyuj914iqg
Steps to Reproduce
FROM node:16.13.2-alpine
# Add Bash (Need for certain CLI tools e.g. Snyk)
RUN apk update \
&& apk add bash \
&& rm -rf /var/cache/apk/*
docker build -f Base.Dockerfile -t base .
Additional Information
I've tried it on 2 different machines and I get the same error.
This was working in February as I was able to fully build my project.
The text was updated successfully, but these errors were encountered:
Environment
Expected Behavior
I should be able to create a base image from node:16.13.2-alpine. Should be able to install bash as part of the base image creation.
I'm trying to understand what has changed, if it's something related to these images.
Current Behavior
Steps to Reproduce
docker build -f Base.Dockerfile -t base .
Additional Information
I've tried it on 2 different machines and I get the same error.
This was working in February as I was able to fully build my project.
The text was updated successfully, but these errors were encountered: