middleman-hashicorp 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docker/Dockerfile +6 -7
- data/lib/middleman-hashicorp/extension.rb +2 -1
- data/lib/middleman-hashicorp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48894cc818c6519f28f263c6c0744fd750ee15e5
|
4
|
+
data.tar.gz: b0bf6f0cf09d42872fa6bc338ae2384e0bc73b70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 267866fd439dcaba37d96e83ed1144dd62d7bb7352b1603111d9bd73149ec11c9f5c91a1eb185c563e4579927857ba6d24092c3c4628ebc8d0b29a5354eeb08a
|
7
|
+
data.tar.gz: 07fd2273aee1d944d1b8ecd8540fd5b054f09e1400c50da8af3d140cdf3dde215d0f35cf2c20fb2805799ae65e87f2ce21042c293b858748b16f33e9d39a3f7c
|
data/docker/Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM ruby:2.3-alpine
|
|
2
2
|
MAINTAINER Seth Vargo <seth@hashicorp.com>
|
3
3
|
|
4
4
|
# Install packages
|
5
|
-
RUN apk add --no-cache build-base nodejs python py-setuptools
|
5
|
+
RUN apk add --no-cache build-base curl nodejs python py-setuptools wget
|
6
6
|
|
7
7
|
# Install s3cmd
|
8
8
|
ADD https://github.com/s3tools/s3cmd/releases/download/v1.6.1/s3cmd-1.6.1.tar.gz /s3cmd-1.6.1.tar.gz
|
@@ -15,16 +15,15 @@ RUN tar -xzvf /s3cmd-1.6.1.tar.gz && \
|
|
15
15
|
ADD pkg/ /pkg
|
16
16
|
|
17
17
|
# Upgrade bundler
|
18
|
-
RUN gem update --no-document
|
18
|
+
RUN gem update --no-document && \
|
19
|
+
gem cleanup
|
19
20
|
|
20
21
|
# Install the bundle
|
21
22
|
RUN gem install /pkg/middleman-hashicorp-*.gem --no-document \
|
22
23
|
&& rm -rf /pkg
|
23
24
|
|
24
|
-
|
25
|
-
|
26
|
-
# For some reason, this isn't installed by default
|
27
|
-
# RUN gem install minitest --version "~> 5.9"
|
25
|
+
# Remove the package
|
26
|
+
RUN rm -rf /pkg
|
28
27
|
|
29
28
|
# Mounts
|
30
29
|
WORKDIR /website
|
@@ -37,4 +36,4 @@ ADD docker/entrypoint.sh /entrypoint.sh
|
|
37
36
|
|
38
37
|
ENTRYPOINT ["/entrypoint.sh"]
|
39
38
|
|
40
|
-
CMD ["server"]
|
39
|
+
CMD ["bundle", "exec", "middleman", "server"]
|
@@ -67,7 +67,8 @@ class Middleman::HashiCorpExtension < ::Middleman::Extension
|
|
67
67
|
app.configure :development do
|
68
68
|
# Reload the browser automatically whenever files change
|
69
69
|
require "middleman-livereload"
|
70
|
-
activate :livereload
|
70
|
+
activate :livereload,
|
71
|
+
host: "0.0.0.0"
|
71
72
|
end
|
72
73
|
|
73
74
|
# Configure the build-specific environment
|