Update 'Dockerfile'
This commit is contained in:
parent
c02075e55a
commit
f4f77b2f2e
|
@ -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/*;
|
Loading…
Reference in a new issue