use a smaller base image for building ddns
This commit is contained in:
parent
25d1322902
commit
365d07dba0
|
@ -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
|
WORKDIR /go/src/github.com/pboehm/ddns
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
FROM buildpack-deps:jessie-scm
|
FROM buildpack-deps:jessie-scm
|
||||||
MAINTAINER Philipp Böhm <philipp@pboehm.org>
|
|
||||||
|
|
||||||
# the setup procedure according to https://repo.powerdns.com/ (Debian 8 Jessie)
|
# 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 \
|
RUN echo "deb http://repo.powerdns.com/debian jessie-auth-41 main" > /etc/apt/sources.list.d/pdns.list \
|
||||||
|
|
Loading…
Reference in New Issue