Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
container: Minor updates to Dockerfile.
Browse files Browse the repository at this point in the history
- Added better comments
- Removed unused items
  • Loading branch information
ashcrow authored and mbarnes committed Jan 27, 2017
1 parent c331b47 commit 7b337dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM fedora:25
MAINTAINER Red Hat, Inc. <container-tools@redhat.com>

ENV MHM_RELEASE v0.1.0
ENV PYTHONPATH /commissaire/src/

# Install required dependencies and commissaire
RUN dnf -y update && dnf -y install --setopt=tsflags=nodocs rsync openssh-clients redhat-rpm-config python3-pip python3-virtualenv git gcc libffi-devel openssl-devel etcd redis; dnf clean all && \
git clone https://github.com/projectatomic/commissaire-service.git && \
Expand Down Expand Up @@ -33,5 +30,7 @@ VOLUME /etc/commissaire/

# commissaire-server address
EXPOSE 8000
# Run everything from /commissaire
WORKDIR /commissaire
# Execute the all-in-one-script
CMD /commissaire/startup-all-in-one.sh

0 comments on commit 7b337dc

Please sign in to comment.