Skip to content

Commit

Permalink
update docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Song Song Li <[email protected]>
  • Loading branch information
songleo committed Sep 17, 2021
1 parent 378753d commit 2cfe3fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Build the manager binary
FROM golang:1.13.3-alpine3.10 as builder
FROM registry.ci.openshift.org/open-cluster-management/builder:go1.17-linux AS builder

RUN apk add --update --no-cache git bash
WORKDIR /workspace
# Copy the jsonnet source
COPY . operator/
COPY ./jsonnet/vendor/github.com/observatorium/deployments/components/ components/
COPY ./jsonnet/vendor/github.com/observatorium/deployments/environments/base/default-config.libsonnet operator/jsonnet/
# Build
WORKDIR /workspace/operator
RUN GO111MODULE="on" go build github.com/brancz/locutus

FROM alpine:3.10 as runner
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
WORKDIR /
COPY --from=builder /workspace/locutus /
COPY --from=builder /workspace/operator/jsonnet /environments/operator
Expand Down

0 comments on commit 2cfe3fc

Please sign in to comment.