From 606a88b2c958424e488bed762967a173e79efcc8 Mon Sep 17 00:00:00 2001 From: Mario Manno Date: Thu, 20 May 2021 09:00:37 +0200 Subject: [PATCH] BPM pid support in new container-run Also fix the version of container-run and use newer Go version to build it. References https://github.com/cloudfoundry-incubator/quarks-container-run/pull/11 --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00d3dedc8..4c7a5ab33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,12 @@ ARG BASE_IMAGE=registry.opensuse.org/cloud/platform/quarks/sle_15_sp1/quarks-ope ################################################################################ -FROM golang:1.13.15 AS containerrun +FROM golang:1.16.3 AS containerrun ARG GOPROXY ENV GOPROXY $GOPROXY -ENV GO111MODULE on - -RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o "/usr/local/bin/container-run" code.cloudfoundry.org/quarks-container-run/cmd +RUN CGO_ENABLED=0 go install -ldflags="-s -w" code.cloudfoundry.org/quarks-container-run/cmd@v0.0.3 +RUN mv /go/bin/cmd /usr/local/bin/container-run ################################################################################ FROM golang:1.16.3 AS build