From df1b9f7a77d06da7af5ae0562cda0f34a0cd3bcb Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 17 Sep 2021 13:44:26 -0300 Subject: [PATCH] =?UTF-8?q?a=C3=B1adir=20Containerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Containerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..2e7f91f --- /dev/null +++ b/Containerfile @@ -0,0 +1,13 @@ +FROM docker.io/alpine:3.13 + +RUN apk add --no-cache openssh-client make git bash coreutils diffutils + +RUN echo "https://alpine.sutty.nl/alpine/v3.13/sutty" >> "/etc/apk/repositories" && \ + wget https://alpine.sutty.nl/alpine/sutty.pub -O "/etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub" + +COPY packages /root/packages + +RUN apk add --no-cache $(cat "/root/packages" | tr "\n" " ") +RUN sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" + +COPY .gemrc /root/.gemrc