File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM sander85/rpi-alpine:latest
2
+ MAINTAINER roemer.jp@gmail.com, raxetul@gmail.com
3
+
4
+ # Install system utils & Gogs runtime dependencies
5
+ ADD https://github.com/tianon/gosu/releases/download/1.6/gosu-armhf /usr/sbin/gosu
6
+ RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories \
7
+ && echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories \
8
+ && apk -U --no-progress upgrade \
9
+ && apk -U --no-progress add ca-certificates bash git linux-pam s6@edge curl openssh socat \
10
+ && chmod +x /usr/sbin/gosu
11
+
12
+ ENV GOGS_CUSTOM /data/gogs
13
+
14
+ COPY . /app/gogs/
15
+ WORKDIR /app/gogs/
16
+ RUN ./docker/build.sh
17
+
18
+ # Configure Docker Container
19
+ VOLUME ["/data"]
20
+ EXPOSE 22 3000
21
+ ENTRYPOINT ["docker/start.sh"]
22
+ CMD ["/usr/bin/s6-svscan", "/app/gogs/docker/s6/"]
You can’t perform that action at this time.
0 commit comments