Skip to content

Commit

Permalink
Fix the manifest generation by allowing it to see the local rpms
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Mar 15, 2024
1 parent b0c9ed3 commit 319b693
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion images/manageiq-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ RUN --mount=type=bind,from=rpms,source=/tmp/rpms,target=/tmp/rpms \
ADD container-assets/container_env ${APP_ROOT}/

# Build the RPM manifest
RUN source /etc/default/evm && \
RUN --mount=type=bind,from=rpms,source=/tmp/rpms,target=/tmp/rpms \
source /etc/default/evm && \
/usr/bin/generate_rpm_manifest.sh && \
clean_dnf_rpm

Expand Down
3 changes: 2 additions & 1 deletion images/manageiq-webserver-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ RUN --mount=type=bind,from=rpms,source=/tmp/rpms,target=/tmp/rpms \
chmod g+rwx /var/log/httpd

# Build the RPM manifest
RUN source /etc/default/evm && \
RUN --mount=type=bind,from=rpms,source=/tmp/rpms,target=/tmp/rpms \
source /etc/default/evm && \
/usr/bin/generate_rpm_manifest.sh && \
clean_dnf_rpm

Expand Down

0 comments on commit 319b693

Please sign in to comment.