stage for external build
This commit is contained in:
parent
a0ced2386d
commit
7bb5005765
19
Dockerfile
19
Dockerfile
|
@ -0,0 +1,19 @@
|
|||
FROM node:20-bullseye-slim
|
||||
|
||||
# Add Docker's official GPG key:
|
||||
RUN apt update
|
||||
RUN apt -y install ca-certificates curl
|
||||
RUN install -m 0755 -d /etc/apt/keyrings
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
RUN chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
# Add the repository to Apt sources:
|
||||
RUN echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] 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 install -y docker-ce-cli docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
# FIXME install just
|
Loading…
Reference in New Issue