Sha256: be9202c0fe7f4c18fa9c5ec9636ebc0db4c70f0eda787b60af099b65d58b6cfd

Contents?: true

Size: 821 Bytes

Versions: 14

Compression:

Stored size: 821 Bytes

Contents

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

# Install packages
RUN apk add --no-cache build-base curl 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

14 entries across 14 versions & 1 rubygems

Version Path
middleman-hashicorp-0.3.22 docker/Dockerfile
middleman-hashicorp-0.3.21 docker/Dockerfile
middleman-hashicorp-0.3.20 docker/Dockerfile
middleman-hashicorp-0.3.19 docker/Dockerfile
middleman-hashicorp-0.3.18 docker/Dockerfile
middleman-hashicorp-0.3.17 docker/Dockerfile
middleman-hashicorp-0.3.16 docker/Dockerfile
middleman-hashicorp-0.3.15 docker/Dockerfile
middleman-hashicorp-0.3.14 docker/Dockerfile
middleman-hashicorp-0.3.13 docker/Dockerfile
middleman-hashicorp-0.3.12 docker/Dockerfile
middleman-hashicorp-0.3.11 docker/Dockerfile
middleman-hashicorp-0.3.10 docker/Dockerfile
middleman-hashicorp-0.3.9 docker/Dockerfile