Skip to content

Commit f71399d

Browse files
Wolfgang KulhanekWolfgang Kulhanek
authored andcommitted
Added VOLUME definitions, updated version
1 parent 52efb69 commit f71399d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM centos:7
22

3-
MAINTAINER Erik Jacobs <erikmjacobs@gmail.com>
3+
MAINTAINER Wolfgang Kulhanek <WolfgangKulhanek@gmail.com>
44

5-
ENV GOGS_VERSION="0.9.113"
5+
ENV GOGS_VERSION="0.9.141"
66

77
LABEL name="Gogs - Go Git Service" \
88
vendor="Gogs" \
@@ -11,8 +11,8 @@ LABEL name="Gogs - Go Git Service" \
1111
summary="The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service." \
1212
io.openshift.expose-services="3000,gogs" \
1313
io.openshift.tags="gogs" \
14-
build-date="2017-01-05" \
15-
version="0.9.113" \
14+
build-date="2017-02-23" \
15+
version="0.9.141" \
1616
release="1"
1717

1818
ENV HOME=/var/lib/gogs
@@ -31,6 +31,9 @@ RUN /usr/bin/fix-permissions /var/lib/gogs && \
3131
/usr/bin/fix-permissions /etc/gogs && \
3232
/usr/bin/fix-permissions /var/log/gogs
3333

34+
VOLUME /home/gogs/gogs-repositories
35+
VOLUME /data
36+
3437
EXPOSE 3000
3538
USER 997
3639

0 commit comments

Comments
 (0)