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:
Sebastiaan van Stijn 2021-06-09 12:32:18 +02:00
parent a384f83e7a
commit e90d6abfcd
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 6 additions and 2 deletions

View File

@ -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 \
protobuf-compiler