docker-restic-server/Dockerfile
Jan Christian Grünhage ada3d11ac4
All checks were successful
the build was successful
initial impl
2018-03-29 12:32:02 +02:00

24 lines
406 B
Docker

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