summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rpi
diff options
context:
space:
mode:
authorJean-Philippe Roemer <roemer.jp@gmail.com>2016-01-25 13:07:37 +0000
committerJean-Philippe Roemer <roemer.jp@gmail.com>2016-01-25 13:07:37 +0000
commit9032bd097be863ec7e27b2b56f641937f65067c3 (patch)
tree9b1644543afa17531facc265c0dfbbde7ca1c6cb /Dockerfile.rpi
parent38efa72146eb8caeed0140f36a8e322c1426fda1 (diff)
downloadgitea-9032bd097be863ec7e27b2b56f641937f65067c3.tar.gz
gitea-9032bd097be863ec7e27b2b56f641937f65067c3.zip
Update Dockerfile & build script and add /etc/nsswitch.conf:
- Add nsswitch.conf to configure LibC Name Service inside the container - Change my email in the Dockerfile - Update build script to install software as a `build-deps` virtual package so that adding a package to it will be automatically removed at the end of the build script
Diffstat (limited to 'Dockerfile.rpi')
-rw-r--r--Dockerfile.rpi5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile.rpi b/Dockerfile.rpi
index 552a4f8af8..ef3994dd60 100644
--- a/Dockerfile.rpi
+++ b/Dockerfile.rpi
@@ -1,5 +1,5 @@
FROM sander85/rpi-alpine:latest
-MAINTAINER roemer.jp@gmail.com, raxetul@gmail.com
+MAINTAINER jp@roemer.im, raxetul@gmail.com
# Install system utils & Gogs runtime dependencies
ADD https://github.com/tianon/gosu/releases/download/1.6/gosu-armhf /usr/sbin/gosu
@@ -15,6 +15,9 @@ COPY . /app/gogs/
WORKDIR /app/gogs/
RUN ./docker/build.sh
+# Configure LibC Name Service
+COPY docker/nsswitch.conf /etc/nsswitch.conf
+
# Configure Docker Container
VOLUME ["/data"]
EXPOSE 22 3000