[no]
This commit is contained in:
44
Dockerfile
44
Dockerfile
@@ -2,29 +2,29 @@
|
|||||||
# Container image that runs your code
|
# Container image that runs your code
|
||||||
FROM debian:bullseye
|
FROM debian:bullseye
|
||||||
|
|
||||||
# ENV NODE_MAJOR 16
|
ENV NODE_MAJOR 16
|
||||||
|
|
||||||
# # install dependancies packages
|
# install dependancies packages
|
||||||
# RUN apt-get update \
|
RUN apt-get update \
|
||||||
# && apt-get install -y curl \
|
&& apt-get install -y curl \
|
||||||
# dnsutils \
|
dnsutils \
|
||||||
# git \
|
git \
|
||||||
# ca-certificates \
|
ca-certificates \
|
||||||
# gnupg
|
gnupg
|
||||||
|
|
||||||
# # NODE
|
# NODE
|
||||||
# RUN install -m 0755 -d /etc/apt/keyrings
|
RUN install -m 0755 -d /etc/apt/keyrings
|
||||||
# RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
# RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
# # DOCKER
|
# DOCKER
|
||||||
# RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
# RUN chmod a+r /etc/apt/keyrings/docker.gpg
|
RUN chmod a+r /etc/apt/keyrings/docker.gpg
|
||||||
# RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
|
||||||
# RUN apt-get update \
|
RUN apt-get update \
|
||||||
# && apt-get install -y nodejs \
|
&& apt-get install -y nodejs \
|
||||||
# docker-ce \
|
docker-ce \
|
||||||
# docker-ce-cli \
|
docker-ce-cli \
|
||||||
# containerd.io \
|
containerd.io \
|
||||||
# docker-buildx-plugin
|
docker-buildx-plugin
|
||||||
Reference in New Issue
Block a user