Sha256: 83c81ffd5ebf5fd758422acdd1e5f39e68f76a16af4b19fe29cb5b3cce1c0dc7

Contents?: true

Size: 743 Bytes

Versions: 27

Compression:

Stored size: 743 Bytes

Contents

ARG RUBY_VERSION=2.7.3
FROM ruby:${RUBY_VERSION}-alpine

LABEL maintainer="Darkbit <info@darkbit.io>"

# Supply AWS Recon version at build time
ARG VERSION
ARG USER=recon
ARG GEM=aws_recon
ARG BUNDLER_VERSION=2.1.4

# Install new Bundler version
RUN rm /usr/local/lib/ruby/gems/*/specifications/default/bundler-*.gemspec && \
    gem uninstall bundler && \
    gem install bundler -v ${BUNDLER_VERSION}

# Install gem
RUN gem install ${GEM} -v ${VERSION}

# Create non-root user
RUN addgroup -S ${USER} && \
    adduser -S ${USER} \
    -G ${USER} \
    -s /bin/ash \
    -h /${USER}

# Copy binstub
COPY binstub/${GEM} /usr/local/bundle/bin/
RUN chmod +x /usr/local/bundle/bin/${GEM}

# Switch user
USER ${USER}
WORKDIR /${USER}

CMD ["ash"]

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
aws_recon-0.5.33 Dockerfile
aws_recon-0.5.32 Dockerfile
aws_recon-0.5.31 Dockerfile
aws_recon-0.5.30 Dockerfile
aws_recon-0.5.29 Dockerfile
aws_recon-0.5.28 Dockerfile
aws_recon-0.5.27 Dockerfile
aws_recon-0.5.26 Dockerfile
aws_recon-0.5.25 Dockerfile
aws_recon-0.5.24 Dockerfile
aws_recon-0.5.23 Dockerfile
aws_recon-0.5.22 Dockerfile
aws_recon-0.5.21 Dockerfile
aws_recon-0.5.20 Dockerfile
aws_recon-0.5.19 Dockerfile
aws_recon-0.5.18 Dockerfile
aws_recon-0.5.17 Dockerfile
aws_recon-0.5.16 Dockerfile
aws_recon-0.5.15 Dockerfile
aws_recon-0.5.14 Dockerfile