Skip to content

Commit

Permalink
updating skipper dockerfile, moving to rhel base image (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
yevgeny-shnaidman authored Sep 3, 2024
1 parent fece1ae commit a52a5c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.kmm-operator-build
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.21-alpine3.19
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.17

ENV GO111MODULE=on
ENV GOFLAGS=""
ENV CGO_ENABLED=0
ENV GOOS=linux
ENV GOARCH=amd64

RUN ["apk", "add", "bash", "make", "docker", "curl", "shadow", "git"]
RUN yum install -y podman docker
RUN go install go.uber.org/mock/[email protected]
RUN curl -L "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -o /tmp/kubectl
RUN install -o root -g root -m 0755 /tmp/kubectl /usr/local/bin/kubectl
Expand Down

0 comments on commit a52a5c9

Please sign in to comment.