Nulo
c5b4f72251
All checks were successful
continuous-integration/woodpecker the build was successful
17 lines
619 B
Docker
17 lines
619 B
Docker
FROM docker.io/alpine:3.13
|
|
|
|
RUN apk add --no-cache openssh-client make git bash coreutils diffutils sudo
|
|
|
|
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
|
|
COPY bin /usr/local/bin
|
|
|
|
RUN chmod 755 /usr/local/bin/*
|
|
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" && \
|
|
mkdir -m 700 -p "~/.ssh"
|
|
|
|
COPY ssh/known_hosts /root/.ssh/known_hosts
|
|
COPY .gemrc /root/.gemrc
|