add image build

This commit is contained in:
2023-12-24 14:02:52 +01:00
commit fbefcd91b4
5 changed files with 61 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM ruby:2
RUN apk --no-cache add build-base rpm tar zip
RUN gem install --no-document fpm -v 1.11.0
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -e
FPMOPTS="${INPUT_FPM_OPTS}" fpm $@