diff --git a/Dockerfile b/Dockerfile index d1d2fab..acfb8a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,26 +1,25 @@ -FROM lsiobase/alpine:3.6 -MAINTAINER sparklyballs +FROM lsiobase/alpine:3.7 # set version label ARG BUILD_DATE ARG VERSION LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" +LABEL maintainer="sparklyballs" # environment settings ARG SYNC_SRC="/tmp/syncthing" ARG SYNC_BUILD="$SYNC_SRC/src/github.com/syncthing/syncthing" ENV HOME="/config" -# install build packages RUN \ + echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ curl \ g++ \ gcc \ go \ tar && \ - -# compile syncthing + echo "**** compile syncthing ****" && \ mkdir -p \ "${SYNC_BUILD}" && \ export GOPATH="${SYNC_SRC}" && \ @@ -34,8 +33,7 @@ RUN \ "${SYNC_BUILD}" --strip-components=1 && \ cd "${SYNC_BUILD}" && \ go run build.go -no-upgrade -version=${SYNC_TAG} && \ - -# install syncthing + echo "**** install syncthing ****" && \ install -d -o abc -g abc \ /var/lib/syncthing && \ install -D -m755 \ @@ -47,8 +45,7 @@ RUN \ fi; \ done && \ export GOPATH="" && \ - -# cleanup + echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ rm -rf \ diff --git a/README.md b/README.md index 8e4b9c6..5e23480 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ You can find some of the best documentation available on the web at [docs.syncth ## Versions ++ **13.12.17:** Rebase to alpine 3.7. + **25.10.17:** Add env for manual setting of umask. + **29.07.17:** Simplify build structure as symlinks failing on > 0.14.32 + **28.05.17:** Rebase to alpine 3.6.