Sha256: 7b4bd24554fa380ba648882b9e7b54e049ce255a05098d6d0256c81c5b087883

Contents?: true

Size: 872 Bytes

Versions: 1

Compression:

Stored size: 872 Bytes

Contents

FROM outstand/ruby-base:2.3.1-alpine
MAINTAINER Ryan Schlesinger <ryan@outstand.com>

RUN addgroup stockpile && \
    adduser -S -G stockpile stockpile

RUN apk --no-cache add build-base openssh

ENV USE_BUNDLE_EXEC true

WORKDIR /consul_stockpile
COPY Gemfile consul_stockpile.gemspec /consul_stockpile/
COPY lib/consul_stockpile/version.rb /consul_stockpile/lib/consul_stockpile/
COPY scripts/fetch-bundler-data.sh /consul_stockpile/scripts/fetch-bundler-data.sh

ARG bundler_data_host
RUN /consul_stockpile/scripts/fetch-bundler-data.sh ${bundler_data_host} && \
    bundle install && \
    git config --global push.default simple
COPY . /consul_stockpile/
RUN ln -s /consul_stockpile/exe/consul_stockpile /usr/local/bin/consul_stockpile

COPY scripts/docker-entrypoint.sh /docker-entrypoint.sh

ENV DUMB_INIT_SETSID 0
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["help"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
consul_stockpile-0.1.5 Dockerfile