Sha256: e9875a5e6f478e6a3fad5a3f2fb98b72ff37f1e12ae27650c7dc112170608371

Contents?: true

Size: 798 Bytes

Versions: 1

Compression:

Stored size: 798 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 install bundler -v '~> 1.13' --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

1 entries across 1 versions & 1 rubygems

Version Path
middleman-hashicorp-0.3.38 docker/Dockerfile