From b0940d1f8705f999570e0b78065ea154be11d421 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 6 Sep 2019 08:38:31 -0400 Subject: [PATCH] Dockerfile: trim down to the bash rewrite Signed-off-by: Vincent Batts --- Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3dfcb19..6948a5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,6 @@ FROM fedora -RUN dnf install -y skopeo golang jq git -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 +RUN dnf install -y jq skopeo findutils file COPY . /usr/local/bin/ @@ -18,4 +11,4 @@ VOLUME /output ENV SRC_DIR=/src VOLUME /src -#ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"] +ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]