Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
updated base image to 'golang:1.10.1-alpine3.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
dericcrago authored and mattclay committed Apr 17, 2018
1 parent 9fcf25c commit f871e58
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM golang:1.10.1
FROM golang:1.10.1-alpine3.7

RUN apt-get update && \
apt-get -y --no-install-recommends install python-dev python-pip python-setuptools python-wheel && \
rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache build-base git linux-headers python python-dev py-pip py-setuptools

ADD requirements.txt /root/requirements.txt
RUN pip install -r /root/requirements.txt
Expand All @@ -14,5 +12,4 @@ RUN go get -d github.com/vmware/govmomi && \
go install github.com/vmware/govmomi/govc github.com/vmware/govmomi/vcsim

EXPOSE 5000 8989 443 80 8080

CMD ["/root/flask_control.py"]

0 comments on commit f871e58

Please sign in to comment.