From fb95b550fe8e93993ecfafdae546d790f26c05dc Mon Sep 17 00:00:00 2001 From: reijin90 <6883646+reijin90@users.noreply.github.com> Date: Sat, 24 Apr 2021 00:31:33 +0200 Subject: [PATCH] Switching base-image to official alpine This changes the base image to the official alpine one, thereby allowing multiplatform support (tested on Raspi4 arm64) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08c8130..8c59e5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM n0madic/alpine-gcc:9.2.0 -RUN apk add --quiet --no-cache libressl-dev +FROM alpine:latest +RUN apk add --quiet --no-cache gcc musl-dev make bash libressl-dev COPY ./*.h /opt/src/ COPY ./*.c /opt/src/ COPY Makefile /opt/src/ COPY entrypoint.sh / -#RUN apt-get install libssl-dev WORKDIR /opt/src RUN make RUN make OPENSSL=/usr/local/opt/openssl/include OPENSSL_LIB=-L/usr/local/opt/openssl/lib