1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

release: update downstream Dockerfile (PROJQUAY-1861) (#851)

Update Dockerfile.osbs w/ downstream changes
This commit is contained in:
thomasmckay
2021-07-26 13:14:08 -04:00
committed by GitHub
parent 64bc11fe46
commit 28b36abb27

View File

@@ -21,23 +21,21 @@ RUN cd source/quay && \
FROM openshift/golang-builder:1.15 AS build-gomod
COPY --from=build-npm $REMOTE_SOURCE_DIR/app $REMOTE_SOURCE_DIR/app
COPY --from=build-npm $REMOTE_SOURCE_DIR $REMOTE_SOURCE_DIR
WORKDIR $REMOTE_SOURCE_DIR/app
RUN source $CACHITO_ENV_FILE
COPY --from=build-npm $REMOTE_SOURCE_DIR/app/source/config-tool/pkg/lib/editor/static/build $REMOTE_SOURCE_DIR/app/source/config-tool/pkg/lib/editor/static/build
# https://projects.engineering.redhat.com/browse/CLOUDBLD-1611
# Until above is fixed, "go mod vendor" can't be run since the go.mod must be
# in the root dir (ie. no multiples). Once fixed, add "go mod vendor" as a step
# here and remove vendor dirs from quay-osbs repo
#
RUN cd source/config-tool && \
go mod vendor && \
go build ./cmd/config-tool
RUN cd source/jwtproxy && \
go build ./cmd/jwtproxy
RUN cd source/pushgateway && \
go mod vendor && \
go build