From d53bc0a4a566ada2f3a773fa2ea3e09f1b080023 Mon Sep 17 00:00:00 2001 From: lobaro-demo Date: Mon, 3 Apr 2017 13:37:18 +0000 Subject: [PATCH] Use golang:1.7-alpine container --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec7e19c..665172e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM gliderlabs/alpine:3.3 +FROM golang:1.7-alpine MAINTAINER info@lobaro.com RUN echo http://nl.alpinelinux.org/alpine/v3.4/community >> /etc/apk/repositories -RUN apk add --no-cache git go nfs-utils openssh fuse +RUN apk add --no-cache git nfs-utils openssh fuse RUN git clone https://github.com/restic/restic \ && cd restic \ && go run build.go \ && cp restic /usr/local/bin/ -RUN apk del git go +RUN apk del git RUN mkdir /mnt/restic