FROM docker.jcg.re/base-alpine RUN apk add --no-cache \ bash \ git \ go \ make \ thttpd \ musl-dev \ && cd /tmp \ && git clone https://github.com/restic/rest-server restic \ && cd restic \ && make \ && install -m 755 rest-server /usr/local/bin/rest-server\ && cd / \ && rm -rf /tmp/* \ && apk del \ git \ go \ make ADD root / VOLUME /backup