Instalar /usr/local/bin en el contenedor
All checks were successful
continuous-integration/woodpecker the build was successful

This commit is contained in:
Cat /dev/Nulo 2021-11-30 15:39:07 +00:00
parent 552cb373f1
commit c5b4f72251

View file

@ -6,7 +6,9 @@ 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"