Skip to content

Commit

Permalink
fix(Dockerfile): Add /var/lib/rpm
Browse files Browse the repository at this point in the history
This directory needs to exist for the write below rpm database action to
succeed

Signed-off-by: Spencer Krum <[email protected]>
  • Loading branch information
nibalizer authored and poiana committed Apr 22, 2020
1 parent 2d4a452 commit 7d952cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ RUN make

FROM alpine:3.11
COPY --from=builder /event-generator/event-generator /bin/event-generator
# Need to have this for 'write below rpm db dir' event
RUN mkdir -p /var/lib/rpm/
ENTRYPOINT ["/bin/event-generator"]

0 comments on commit 7d952cf

Please sign in to comment.