From f4f77b2f2ed4da55d31e988f685154100ffcd0d6 Mon Sep 17 00:00:00 2001 From: lnkr Date: Thu, 5 May 2022 11:13:38 +0300 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b14daf..2d2872c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*; \ No newline at end of file