Sha256: 6c77e2b221153c67556ad7036fd30b1a49336297826c6535fda5a32c120abc3e

Contents?: true

Size: 776 Bytes

Versions: 4

Compression:

Stored size: 776 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

# 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 update --no-document && \
  gem cleanup

# Install the bundle
RUN 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.37 docker/Dockerfile
middleman-hashicorp-0.3.35 docker/Dockerfile
middleman-hashicorp-0.3.34 docker/Dockerfile
middleman-hashicorp-0.3.33 docker/Dockerfile