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