summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-04-06 20:51:10 +0200
committerWild Kat <wk@futureinquestion.net>2018-04-06 20:51:10 +0200
commitcd466cc2d11c276f125d909b3196553570666537 (patch)
tree19d570b060b120a3ff85fa37c9d5365ba6a98988 /Dockerfile
parent8d3e17a54e57aa51511ac2e7a1ca73d10effd9d1 (diff)
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