summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-06 22:11:17 +0300
committerGitHub <noreply@github.com>2018-04-06 22:11:17 +0300
commit5eb0282dcd140860d6b158581e95d46cf73a06e8 (patch)
tree19d570b060b120a3ff85fa37c9d5365ba6a98988 /Dockerfile
parent8d3e17a54e57aa51511ac2e7a1ca73d10effd9d1 (diff)
parentcd466cc2d11c276f125d909b3196553570666537 (diff)
Merge pull request #1256 from wk/dockerfile-refresh
reorder dockerfile gem installation
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 36c650c..07adc0f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,6 +32,9 @@ COPY --from=libssh2-backport \
/tmp/
RUN dpkg -i /tmp/*.deb
+# dependencies for hooks
+RUN gem install aws-sdk slack-api xmpp4r
+
# build and install oxidized
COPY . /tmp/oxidized/
WORKDIR /tmp/oxidized
@@ -42,9 +45,6 @@ RUN gem install oxidized-*.gem
# web interface
RUN gem install oxidized-web --no-ri --no-rdoc
-# dependencies for hooks
-RUN gem install aws-sdk slack-api xmpp4r
-
# clean up
WORKDIR /
RUN rm -rf /tmp/oxidized