Instalar /usr/local/bin en el contenedor
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
552cb373f1
commit
c5b4f72251
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
wget https://alpine.sutty.nl/alpine/sutty.pub -O "/etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub"
|
||||||
|
|
||||||
COPY packages /root/packages
|
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 apk add --no-cache $(cat "/root/packages" | tr "\n" " ")
|
||||||
RUN sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" && \
|
RUN sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" && \
|
||||||
mkdir -m 700 -p "~/.ssh"
|
mkdir -m 700 -p "~/.ssh"
|
||||||
|
|
Loading…
Reference in a new issue