18 lines
739 B
Docker
18 lines
739 B
Docker
FROM mcr.microsoft.com/devcontainers/base:0-alpine-3.16
|
|
|
|
COPY host-ca-certificates.crt /tmp/host-ca-certificates.crt
|
|
RUN cat /tmp/host-ca-certificates.crt >> /etc/ssl/certs/ca-certificates.crt
|
|
RUN csplit -f /usr/local/share/ca-certificates/host-ca-certificate- -b '%02d.pem' -z -s /tmp/host-ca-certificates.crt '/-----BEGIN CERTIFICATE-----/' '{*}'
|
|
ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
# Avoiding OpenSSH >8.8 for compatibility for now: https://github.com/microsoft/vscode-remote-release/issues/7482
|
|
RUN echo "@old https://dl-cdn.alpinelinux.org/alpine/v3.15/main" >> /etc/apk/repositories
|
|
|
|
RUN apk add --no-cache \
|
|
nodejs \
|
|
docker-cli \
|
|
docker-cli-buildx \
|
|
docker-cli-compose \
|
|
openssh-client-default@old \
|
|
;
|