Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Support building on non x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Nov 17, 2022
1 parent 5f739c8 commit 66b7c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ FROM registry.suse.com/bci/bci-minimal:15.4 as deploy
WORKDIR /app/
COPY --from=go-builder /app/analyzer .
COPY --from=node-builder /app/public/ public/
COPY --from=go-builder /var/cache/zypp/packages/SLE_BCI/x86_64/ .
COPY --from=go-builder /var/cache/zypp/packages/SLE_BCI/ .

RUN rpm -i --nodeps --force *rpm && rm -rf *rpm
RUN rpm -i --nodeps --force $(uname -m)/*rpm && rm -rf $(uname -m)/ noarch
RUN mkdir -p /etc/containers/ /var/lib/containers/storage /var/run/containers/storage && \
echo '{"default":[{"type":"insecureAcceptAnything"}],"transports":{"docker-daemon":{"":[{"type":"insecureAcceptAnything"}]}}}' > /etc/containers/policy.json && \
echo $'[storage] \n\
Expand Down

0 comments on commit 66b7c71

Please sign in to comment.