Update 'Dockerfile'

This commit is contained in:
lnkr 2022-05-05 11:13:38 +03:00
parent c02075e55a
commit f4f77b2f2e

View file

@ -1,14 +1,14 @@
#ARG DEBIAN_VERSION #ARG DEBIAN_VERSION
#FROM debian:${DEBIAN_VERSION}-slim #FROM debian:${DEBIAN_VERSION}-slim
FROM debian:bullseye-slim FROM ubuntu:jammy
ENV RUSTUP_HOME=/usr/local/rustup \ ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \ CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH PATH=/usr/local/cargo/bin:$PATH
RUN set -eux; \ RUN set -eux; \
apt-get update; \ apt update; \
apt-get install -y --no-install-recommends \ apt install -y --no-install-recommends \
ca-certificates \ ca-certificates \
gcc \ gcc \
libc6-dev \ libc6-dev \
@ -31,7 +31,7 @@ RUN set -eux; \
cargo --version; \ cargo --version; \
rustc --version; \ rustc --version; \
\ \
apt-get remove -y --auto-remove \ apt remove -y --auto-remove \
wget \ wget \
; \ ; \
rm -rf /var/lib/apt/lists/*; rm -rf /var/lib/apt/lists/*;