mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
libnetwork: update Dockerfile to Go 1.13.15
Also adds other build-args to match the main Dockerfile Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a384f83e7a
commit
e90d6abfcd
1 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
||||||
ARG GO_VERSION=1.13.8
|
# syntax=docker/dockerfile:1.2
|
||||||
|
|
||||||
FROM golang:${GO_VERSION}-buster as dev
|
ARG GO_VERSION=1.13.15
|
||||||
|
ARG BASE_DEBIAN_DISTRO="buster"
|
||||||
|
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"
|
||||||
|
|
||||||
|
FROM ${GOLANG_IMAGE} AS dev
|
||||||
RUN apt-get update && apt-get -y install iptables \
|
RUN apt-get update && apt-get -y install iptables \
|
||||||
protobuf-compiler
|
protobuf-compiler
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue