Skip to content

Commit

Permalink
extensions: add COSA build arg to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrero committed Aug 26, 2022
1 parent 05f485b commit 2b7f69f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ FROM registry.ci.openshift.org/rhcos-devel/rhel-coreos:latest as os
RUN mkdir /os
WORKDIR /os
ADD . .
RUN if [ ! -f ocp.repo ]; then ci/get-ocp-repo.sh ; fi
ARG COSA
RUN if [[ -z "$COSA" ]] ; then ci/get-ocp-repo.sh ; fi
RUN rpm-ostree compose extensions --rootfs=/ --output-dir=/usr/share/rpm-ostree/extensions/ {manifest,extensions}.yaml

## Creates the repo metadata for the extensions & builds the go binary
Expand Down

0 comments on commit 2b7f69f

Please sign in to comment.