mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-12-22 07:06:34 +00:00
17 lines
404 B
Docker
17 lines
404 B
Docker
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 app.ini.template /home/cloudron/app.ini.template
|
|
ADD start.sh /home/cloudron/start.sh
|
|
|
|
CMD [ "/home/cloudron/start.sh" ]
|
|
|