# Container image that runs your code FROM debian:bullseye ENV NODE_MAJOR 16 # # install dependancies packages # RUN apt-get update \ # && apt-get install -y curl \ # dnsutils \ # git \ # ca-certificates \ # gnupg # # NODE # 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 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 # 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 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 \ # && apt-get install -y nodejs \ # docker-ce \ # docker-ce-cli \ # containerd.io \ # docker-buildx-plugin