Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
BPM pid support in new container-run
Browse files Browse the repository at this point in the history
Also fix the version of container-run and use newer Go version to build
it.

References cloudfoundry-incubator/quarks-container-run#11
  • Loading branch information
Mario Manno committed May 21, 2021
1 parent ae3a4ea commit 606a88b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
RUN mv /go/bin/cmd /usr/local/bin/container-run

################################################################################
FROM golang:1.16.3 AS build
Expand Down

0 comments on commit 606a88b

Please sign in to comment.