Sha256: 8a17284f86882bccb45f8d1f130e076a608c3e6ffd78aea289532a6c79f396e9

Contents?: true

Size: 838 Bytes

Versions: 4

Compression:

Stored size: 838 Bytes

Contents

FROM ruby:2.3-alpine
MAINTAINER Seth Vargo <seth@hashicorp.com>

ARG GEM_VERSION

# Install packages
RUN apk add --no-cache bash build-base curl jq nodejs python py-setuptools wget git openssh-client

# Install s3cmd
RUN cd /tmp && \
  wget https://github.com/s3tools/s3cmd/releases/download/v1.6.1/s3cmd-1.6.1.tar.gz && \
  tar -xzvf s3cmd-1.6.1.tar.gz && \
  cd s3cmd-1.6.1 && \
  python setup.py install && \
  cd .. && \
  rm -rf s3cmd-1.6.1*

# Upgrade bundler
RUN gem install bundler -v '~> 1.13' --no-document && \
  gem cleanup

# Install the bundle
RUN GEM_PATH="${GEM_HOME}" gem install middleman-hashicorp -v "${GEM_VERSION}" --no-document

# Mounts
WORKDIR /website

# Expose ports
EXPOSE 4567
EXPOSE 35729

ADD docker/entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

CMD ["bundle", "exec", "middleman", "server"]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-hashicorp-0.3.44 docker/Dockerfile
middleman-hashicorp-0.3.43 docker/Dockerfile
middleman-hashicorp-0.3.41 docker/Dockerfile
middleman-hashicorp-0.3.40 docker/Dockerfile