feat: add docker
This commit is contained in:
parent
49523dc6e2
commit
d60fe7d39c
10
Dockerfile
10
Dockerfile
|
|
@ -8,13 +8,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||
gnupg \
|
||||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg
|
||||
COPY nodesource.list /etc/apt/sources.list.d/
|
||||
# Set up repositories
|
||||
RUN curl -fsSs https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource.gpg && \
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg
|
||||
|
||||
COPY nodesource.list docker.list /etc/apt/sources.list.d/
|
||||
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
nodejs \
|
||||
git \
|
||||
docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
deb [arch=arm64 signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable
|
||||
Loading…
Reference in New Issue