Skip to content

Commit

Permalink
fix(rpm): re-add rpm (#58)
Browse files Browse the repository at this point in the history
-_-'
  • Loading branch information
curiositycasualty authored Jan 3, 2023
1 parent 4141932 commit 7e99059
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ SHELL ["/bin/bash", "-e", "-x", "-c"]

COPY patches/fpm-apk-archive-header.patch /tmp/fpm.patch

RUN if [[ "$FPM_VERSION" == 'latest' ]]; then \
RUN set -x \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends rpm \
&& if [[ "$FPM_VERSION" == 'latest' ]]; then \
gem install --no-document fpm; \
else \
gem install --no-document fpm -v "$FPM_VERSION"; \
Expand Down

0 comments on commit 7e99059

Please sign in to comment.