Sha256: 028cfed4a1c98760d2a66f73a89fe7f46861024767087c76a7a22178f837c4cf

Contents?: true

Size: 788 Bytes

Versions: 2

Compression:

Stored size: 788 Bytes

Contents

FROM ruby:2.5.1-alpine
MAINTAINER Ryan Schlesinger <ryan@outstand.com>

RUN addgroup -g 1000 -S metaractor && \
    adduser -u 1000 -S -s /bin/ash -G metaractor metaractor && \
    apk add --no-cache \
      ca-certificates \
      tini \
      su-exec \
      build-base \
      git \
      openssh

WORKDIR /metaractor
RUN chown -R metaractor:metaractor /metaractor
USER metaractor

COPY --chown=metaractor:metaractor Gemfile metaractor.gemspec /metaractor/
COPY --chown=metaractor:metaractor lib/metaractor/version.rb /metaractor/lib/metaractor/
RUN git config --global push.default simple
COPY --chown=metaractor:metaractor . /metaractor/

USER root
COPY docker-entrypoint.sh /docker-entrypoint.sh

ENTRYPOINT ["/sbin/tini", "-g", "--", "/docker-entrypoint.sh"]
CMD ["rspec", "spec"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
metaractor-1.2.0 Dockerfile
metaractor-1.1.0 Dockerfile