use a smaller base image for building ddns

This commit is contained in:
Philipp Böhm 2018-01-28 11:50:24 +01:00
parent 25d1322902
commit 365d07dba0
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,6 @@
FROM golang:1.9
FROM golang:1.9-alpine3.7
RUN apk add --no-cache git
WORKDIR /go/src/github.com/pboehm/ddns
COPY . .

View file

@ -1,5 +1,4 @@
FROM buildpack-deps:jessie-scm
MAINTAINER Philipp Böhm <philipp@pboehm.org>
# the setup procedure according to https://repo.powerdns.com/ (Debian 8 Jessie)
RUN echo "deb http://repo.powerdns.com/debian jessie-auth-41 main" > /etc/apt/sources.list.d/pdns.list \