Browse Source

install esh in Gitea only since only needed for it

feature/startup-from-labels
Mar Alegre 4 years ago
parent
commit
11b630fb9e
  1. 6
      debian/Containerfile
  2. 6
      gitea/Containerfile
  3. 0
      gitea/assets/bin/esh

6
debian/Containerfile

@ -34,9 +34,3 @@ COPY assets/bash.bashrc /etc/bash.bashrc
# copy custom scripts # copy custom scripts
COPY assets/bin/ /usr/local/bin/ COPY assets/bin/ /usr/local/bin/
# Install templating engine
RUN wget https://raw.githubusercontent.com/jirutka/esh/master/esh && \
chmod +x esh && \
mkdir -p /usr/local/lib/esh && \
mv esh /usr/local/lib/esh

6
gitea/Containerfile

@ -75,6 +75,12 @@ RUN mv pg_hba.conf /etc/postgresql/${PSQLV:?}/main/pg_hba.conf
### Gitea ### Gitea
### ###
# Install templating engine
RUN wget https://raw.githubusercontent.com/jirutka/esh/master/esh && \
chmod +x esh && \
mkdir -p /usr/local/lib/esh && \
mv esh /usr/local/lib/esh
# dowload gitea # dowload gitea
RUN wget https://dl.gitea.io/gitea/${GITEAV:?}/gitea-${GITEAV:?}-linux-amd64 && \ RUN wget https://dl.gitea.io/gitea/${GITEAV:?}/gitea-${GITEAV:?}-linux-amd64 && \
mv gitea-${GITEAV:?}-linux-amd64 /usr/local/bin/gitea && \ mv gitea-${GITEAV:?}-linux-amd64 /usr/local/bin/gitea && \

0
debian/assets/bin/esh → gitea/assets/bin/esh

Loading…
Cancel
Save