summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 7199d26..7cf07aa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,21 +24,19 @@ ADD .github .github
ADD scripts scripts
ADD ctl.sh .
-# Install Golang
+# Install Golang and Browsh
ENV GOROOT=/go
ENV GOPATH=/go-home
ENV PATH=$GOROOT/bin:$GOPATH/bin:$PATH
-RUN /build/ctl.sh install_golang
-
-# Install firefox
-RUN /build/ctl.sh install_firefox
-
-# Build Browsh
ENV BASE=$GOPATH/src/browsh/interfacer
-WORKDIR $BASE
ADD interfacer $BASE
+WORKDIR $BASE
+RUN /build/ctl.sh install_golang $BASE
RUN /build/ctl.sh build_browsh_binary $BASE
+# Install firefox
+RUN /build/ctl.sh install_firefox
+
###########################
# Actual final Docker image