Permalink
Browse files

Fix installation of groff and follow Dockerfile best practices

  • Loading branch information...
1 parent 52517db commit e70995a0923dea787e79e7a2468d7f1f2d46a195 @stilvoid stilvoid committed Dec 10, 2015
Showing with 7 additions and 3 deletions.
  1. +7 −3 Dockerfile
View
@@ -1,7 +1,11 @@
FROM ubuntu:latest
-RUN apt-get update groff && \
- apt-get install -y python-pip && \
- pip install saws
+RUN apt-get update && apt-get install -y \
+ groff \
+ python-pip \
+ && apt-get clean \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN pip install saws
ENTRYPOINT ["saws"]

0 comments on commit e70995a

Please sign in to comment.