diff --git a/Dockerfile b/Dockerfile index c1cbab9..1474d40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.5 +FROM alpine:3.6 MAINTAINER Cameron Eagans # Install needed packages. @@ -11,11 +11,10 @@ MAINTAINER Cameron Eagans RUN apk add --no-cache bash # Install Unison from source with inotify support + remove compilation tools -ARG UNISON_VERSION=2.48.4 +ARG UNISON_VERSION=2.51.2 RUN apk add --no-cache --virtual .build-dependencies build-base curl && \ - apk add --no-cache inotify-tools && \ - apk add --no-cache --repository http://dl-4.alpinelinux.org/alpine/edge/testing/ ocaml && \ - curl -L https://github.com/bcpierce00/unison/archive/$UNISON_VERSION.tar.gz | tar zxv -C /tmp && \ + apk add --no-cache inotify-tools ocaml && \ + curl -L https://github.com/bcpierce00/unison/archive/v$UNISON_VERSION.tar.gz | tar zxv -C /tmp && \ cd /tmp/unison-${UNISON_VERSION} && \ sed -i -e 's/GLIBC_SUPPORT_INOTIFY 0/GLIBC_SUPPORT_INOTIFY 1/' src/fsmonitor/linux/inotify_stubs.c && \ make UISTYLE=text NATIVE=true STATIC=true && \