Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-ISSUE: Bump openshift/release from golang-1.16 to golang-1.18 #93

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.assisted-service
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ COPY tools/generate_python_client.sh .
RUN chmod +x ./generate_python_client.sh && SWAGGER_FILE=swagger.yaml OUTPUT=/build ./generate_python_client.sh

# TODO: Find a pure Python3 base image, rather than relying on the golang one
FROM registry.ci.openshift.org/openshift/release:golang-1.16 as pybuilder
FROM registry.ci.openshift.org/openshift/release:golang-1.18 as pybuilder
COPY --from=swagger_py /build build
RUN cd build && python3 setup.py sdist --dist-dir /assisted-service-client

# TODO: Currently, the Python package is included in the service image for testing purposes. It conveniently allows matching a service version to a specific Python client version. In the future, once the Python package is published on pip, it should (probably) be removed from the Assisted Service image (this dockerfile).

# Build binaries
FROM registry.ci.openshift.org/openshift/release:golang-1.16 as builder
FROM registry.ci.openshift.org/openshift/release:golang-1.18 as builder
# Bring in the go dependencies before anything else so we can take
# advantage of caching these layers in future builds.
COPY go.mod go.mod
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.assisted-service-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.16
FROM registry.ci.openshift.org/openshift/release:golang-1.18

ENV GO111MODULE=on
ENV GOFLAGS=""
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.assisted-service-debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SERVICE=quay.io/ocpmetal/assisted-service:latest
FROM registry.ci.openshift.org/openshift/release:golang-1.16 AS download_dlv
FROM registry.ci.openshift.org/openshift/release:golang-1.18 AS download_dlv
RUN go get github.com/go-delve/delve/cmd/dlv

FROM $SERVICE
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.bundle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.16 as build
FROM registry.ci.openshift.org/openshift/release:golang-1.18 as build

ENV GO111MODULE=on
ENV GOFLAGS=""
Expand Down