From 11f1360c20aad40d8b55b5c79a05ebf793335ad4 Mon Sep 17 00:00:00 2001 From: Stefan Negru Date: Fri, 15 Dec 2023 12:55:15 +0200 Subject: [PATCH] make it podman compatible --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b352869..ff81f80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG EMSCRIPTEN_VERSION=3.1.51 # Build libsodium -FROM emscripten/emsdk:$EMSCRIPTEN_VERSION AS SODIUM +FROM docker.io/emscripten/emsdk:$EMSCRIPTEN_VERSION AS SODIUM ARG LIBSODIUM_VERSION=1.0.19-stable @@ -12,7 +12,7 @@ RUN tar xvf libsodium-${LIBSODIUM_VERSION}.tar.gz \ && dist-build/emscripten.sh --sumo # Build openssl -FROM emscripten/emsdk:$EMSCRIPTEN_VERSION AS OPENSSL +FROM docker.io/emscripten/emsdk:$EMSCRIPTEN_VERSION AS OPENSSL ARG OPENSSL_VERSION=1.1.1w @@ -30,7 +30,7 @@ RUN bash -c 'echo "$(cat openssl-${OPENSSL_VERSION}.tar.gz.sha256) openssl-${OPE && emmake make install # Build libcrypt4gh -FROM emscripten/emsdk:$EMSCRIPTEN_VERSION AS LIBCRYPT4GH +FROM docker.io/emscripten/emsdk:$EMSCRIPTEN_VERSION AS LIBCRYPT4GH RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache @@ -57,7 +57,7 @@ RUN export EMCC_CFLAGS="-I/emsdk/upstream/include -L/emsdk/upstream/lib" \ && emmake make install # Build libcrypt4gh-keys -FROM emscripten/emsdk:$EMSCRIPTEN_VERSION AS LIBCRYPT4GHKEYS +FROM docker.io/emscripten/emsdk:$EMSCRIPTEN_VERSION AS LIBCRYPT4GHKEYS COPY --from=SODIUM /src/libsodium-stable/libsodium-js-sumo/include/ /emsdk/upstream/include/ COPY --from=SODIUM /src/libsodium-stable/libsodium-js-sumo/lib/ /emsdk/upstream/lib/ @@ -85,7 +85,7 @@ RUN export EMCC_CFLAGS="-I/emsdk/upstream/include -L/emsdk/upstream/lib" \ && emmake make install # Build wasm application -FROM emscripten/emsdk:$EMSCRIPTEN_VERSION AS WASMCRYPT +FROM docker.io/emscripten/emsdk:$EMSCRIPTEN_VERSION AS WASMCRYPT LABEL maintainer="CSC Developers" LABEL org.label-schema.schema-version="1.0"