From 33127e08a658fd78d5deda0b451201906fd32212 Mon Sep 17 00:00:00 2001 From: Hamid Emamian Date: Mon, 8 Jan 2024 23:00:56 +0330 Subject: [PATCH] added new base image for alpine --- crates/alpine-base-image/Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/alpine-base-image/Dockerfile diff --git a/crates/alpine-base-image/Dockerfile b/crates/alpine-base-image/Dockerfile new file mode 100644 index 000000000..442d63b69 --- /dev/null +++ b/crates/alpine-base-image/Dockerfile @@ -0,0 +1,18 @@ +FROM alpine:latest + +RUN apk add --no-cache wget tar + +RUN wget https://github.com/moparisthebest/static-curl/releases/download/v7.83.1/curl-amd64 -O /tmp/curl && \ + echo downloaded && \ + chmod +x /tmp/curl && \ + echo chmoded + +RUN wget https://github.com/uutils/coreutils/releases/download/0.0.17/coreutils-0.0.17-x86_64-unknown-linux-musl.tar.gz -O /tmp/coreutils.tar.gz && \ + cd /tmp && \ + tar -xvzf coreutils.tar.gz && \ + cp coreutils-0.0.17-x86_64-unknown-linux-musl/coreutils /tmp/coreutils && \ + chmod +x /tmp/coreutils && \ + rm -rf coreutils-0.0.17-x86_64-unknown-linux-musl coreutils.tar.gz && \ + echo coreutils downloaded + +CMD ["sh"]