Add bash to the image so bash git hooks can be used

tokarchuk/v1.17
Jean-Philippe Roemer 9 years ago
parent 3cad8d9492
commit fcb1f4ec07
  1. 2
      Dockerfile

@ -6,7 +6,7 @@ ADD https://github.com/tianon/gosu/releases/download/1.5/gosu-amd64 /usr/sbin/go
RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories \ RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories \
&& echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories \ && echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories \
&& apk -U --no-progress upgrade \ && apk -U --no-progress upgrade \
&& apk -U --no-progress add ca-certificates git linux-pam s6@edge curl openssh socat \ && apk -U --no-progress add ca-certificates bash git linux-pam s6@edge curl openssh socat \
&& chmod +x /usr/sbin/gosu && chmod +x /usr/sbin/gosu
# Configure Go and build Gogs # Configure Go and build Gogs

Loading…
Cancel
Save