This commit is contained in:
parent
4b305f9afc
commit
f0841226f5
1 changed files with 3 additions and 10 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,16 +1,9 @@
|
||||||
FROM debian:12-slim
|
FROM debian:testing-slim
|
||||||
LABEL maintainer="Zi Gao<zi@mightycastle.net>"
|
LABEL maintainer="Zi Gao<zi@mightycastle.net>"
|
||||||
LABEL version="1.0"
|
LABEL version="1.1"
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -qy --no-install-recommends \
|
RUN apt-get update && apt-get install -qy --no-install-recommends \
|
||||||
curl software-properties-common git sudo zstd openssh-client make unzip nodejs python3 jq curl bzip2 && \
|
curl git zstd openssh-client make unzip nodejs python3 jq curl bzip2 docker-cli docker-buildx docker-compose && \
|
||||||
install -m 0755 -d /etc/apt/keyrings && \
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \
|
|
||||||
chmod a+r /etc/apt/keyrings/docker.asc && \
|
|
||||||
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 && \
|
|
||||||
apt-get update && \
|
|
||||||
apt-get install -qy --no-install-recommends docker-ce-cli docker-buildx-plugin docker-compose-plugin && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /var/log/*.log /usr/share/doc/* /usr/share/info/* /usr/share/linda/* /usr/share/lintian/overrides/* /usr/share/man/* /etc/cron.daily/* /etc/cron.d/*
|
rm -rf /var/lib/apt/lists/* /var/log/*.log /usr/share/doc/* /usr/share/info/* /usr/share/linda/* /usr/share/lintian/overrides/* /usr/share/man/* /etc/cron.daily/* /etc/cron.d/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue