Sha256: b8d56d29c03ec9e188e2268d338c883c675f0bb761b511747d172283e4d86ff9

Contents?: true

Size: 743 Bytes

Versions: 45

Compression:

Stored size: 743 Bytes

Contents

ARG RUBY_VERSION=2.6.6
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

45 entries across 45 versions & 1 rubygems

Version Path
aws_recon-0.5.6 Dockerfile
aws_recon-0.5.5 Dockerfile
aws_recon-0.5.4 Dockerfile
aws_recon-0.5.3 Dockerfile
aws_recon-0.5.2 Dockerfile
aws_recon-0.5.1 Dockerfile
aws_recon-0.5.0 Dockerfile
aws_recon-0.4.6 Dockerfile
aws_recon-0.4.5 Dockerfile
aws_recon-0.4.4 Dockerfile
aws_recon-0.4.3 Dockerfile
aws_recon-0.4.2 Dockerfile
aws_recon-0.4.1 Dockerfile
aws_recon-0.4.0 Dockerfile
aws_recon-0.3.5 Dockerfile
aws_recon-0.3.4 Dockerfile
aws_recon-0.3.3 Dockerfile
aws_recon-0.3.2 Dockerfile
aws_recon-0.3.1 Dockerfile
aws_recon-0.3.0 Dockerfile