Sha256: 78b61ff3cd57f08b17136f8b4ddba3bf5fd6aac75783d8d45fcac3142dddbe86

Contents?: true

Size: 829 Bytes

Versions: 4

Compression:

Stored size: 829 Bytes

Contents

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

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

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

# Add the context
ADD pkg/ /pkg

# Upgrade bundler
RUN gem update --no-document && \
  gem cleanup

# Install the bundle
RUN gem install /pkg/middleman-hashicorp-*.gem --no-document \
  && rm -rf /pkg

# Remove the package
RUN rm -rf /pkg

# 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.28 docker/Dockerfile
middleman-hashicorp-0.3.26 docker/Dockerfile
middleman-hashicorp-0.3.25 docker/Dockerfile
middleman-hashicorp-0.3.24 docker/Dockerfile