Dockerfile: trim down to the bash rewrite

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-09-06 08:38:31 -04:00
parent 89bfe5bf20
commit b0940d1f87
Signed by: vbatts
GPG key ID: 10937E57733F1362

View file

@ -1,13 +1,6 @@
FROM fedora FROM fedora
RUN dnf install -y skopeo golang jq git RUN dnf install -y jq skopeo findutils file
RUN dnf install -y make findutils
ENV GOPATH=/usr/share/gocode
ENV GOBIN=/usr/local/bin
RUN git clone https://github.com/openSUSE/umoci $GOPATH/src/github.com/openSUSE/umoci
RUN cd $GOPATH/src/github.com/openSUSE/umoci && \
make && \
mv umoci /usr/local/bin
COPY . /usr/local/bin/ COPY . /usr/local/bin/
@ -18,4 +11,4 @@ VOLUME /output
ENV SRC_DIR=/src ENV SRC_DIR=/src
VOLUME /src VOLUME /src
#ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"] ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]