forgejo-app/Dockerfile

18 lines
404 B
Docker
Raw Normal View History

2015-04-26 19:45:32 +00:00
FROM girish/base:0.2.0
USER cloudron
2015-04-29 00:12:16 +00:00
# gogs uses this env to detect current user
ENV USER cloudron
2015-04-26 19:45:32 +00:00
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
2015-04-29 00:12:16 +00:00
ADD app.ini.template /home/cloudron/app.ini.template
ADD start.sh /home/cloudron/start.sh
2015-04-26 19:45:32 +00:00
2015-04-29 00:12:16 +00:00
CMD [ "/home/cloudron/start.sh" ]
2015-04-26 19:45:32 +00:00