1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-25 22:47:24 +00:00

Make it work

This commit is contained in:
Girish Ramakrishnan
2015-04-28 17:12:16 -07:00
parent 6457a75618
commit 9a436eacfb
5 changed files with 85 additions and 298 deletions

View File

@@ -1,12 +1,17 @@
FROM girish/base:0.2.0
USER cloudron
# gogs uses this env to detect current user
ENV USER cloudron
RUN cd /tmp && \
wget https://github.com/gogits/gogs/releases/download/v0.6.1/linux_amd64.zip && \
unzip linux_amd64.zip -d /home/cloudron && \
rm linux_amd64.zip
ADD start.sh /home/git/start.sh
ADD app.ini.template /home/cloudron/app.ini.template
ADD start.sh /home/cloudron/start.sh
CMD [ "/home/git/start.sh" ]
CMD [ "/home/cloudron/start.sh" ]