Skip to content

Commit

Permalink
Merge pull request #28 from openstack-k8s-operators/fix/building-oper…
Browse files Browse the repository at this point in the history
…ator

Fix job that builds the test operator
  • Loading branch information
kopecmartin authored Jan 24, 2024
2 parents 033646b + 0f0aae3 commit 68485fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ RUN if [ ! -f $CACHITO_ENV_FILE ]; then go mod download ; fi
# Build manager
RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; CGO_ENABLED=0 GO111MODULE=on go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go

RUN cp -r templates ${DEST_ROOT}/templates
# (lpiwowar): Let's comment this out as we do use the templates folder now
# It causes a failure of a job that is responsible for building
# the operator.
# RUN cp -r templates ${DEST_ROOT}/templates

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Expand Down

0 comments on commit 68485fb

Please sign in to comment.