add image build
This commit is contained in:
@@ -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"]
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
FPMOPTS="${INPUT_FPM_OPTS}" fpm $@
|
||||
Reference in New Issue
Block a user