summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/runtimes/go/Dockerfile
diff options
context:
space:
mode:
authorSamantha Sample <samsample@google.com>2019-07-29 14:15:51 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-29 14:17:11 -0700
commit8e8b6096116eb490b438a53061195f737d4eca8b (patch)
treeee0af6ddec5c18483fe2bc783382b62760e751ee /runsc/test/runtimes/go/Dockerfile
parent09be87bbee1e4338b488f22199d0f079ffec8d0e (diff)
Move runtimes tests to appropriate directory.
PiperOrigin-RevId: 260577765
Diffstat (limited to 'runsc/test/runtimes/go/Dockerfile')
-rw-r--r--runsc/test/runtimes/go/Dockerfile31
1 files changed, 0 insertions, 31 deletions
diff --git a/runsc/test/runtimes/go/Dockerfile b/runsc/test/runtimes/go/Dockerfile
deleted file mode 100644
index cd55608cd..000000000
--- a/runsc/test/runtimes/go/Dockerfile
+++ /dev/null
@@ -1,31 +0,0 @@
-FROM ubuntu:bionic
-ENV LANG_VER=1.12.5
-ENV LANG_NAME=Go
-
-RUN apt-get update && apt-get install -y \
- curl \
- gcc \
- git
-
-WORKDIR /root
-
-# Download Go 1.4 to use as a bootstrap for building Go from the source.
-RUN curl -o go1.4.linux-amd64.tar.gz https://dl.google.com/go/go1.4.linux-amd64.tar.gz
-RUN curl -LJO https://github.com/golang/go/archive/go${LANG_VER}.tar.gz
-RUN mkdir bootstr
-RUN tar -C bootstr -xzf go1.4.linux-amd64.tar.gz
-RUN tar -xzf go-go${LANG_VER}.tar.gz
-RUN mv go-go${LANG_VER} go
-
-ENV GOROOT=/root/go
-ENV GOROOT_BOOTSTRAP=/root/bootstr/go
-ENV LANG_DIR=${GOROOT}
-
-WORKDIR ${LANG_DIR}/src
-RUN ./make.bash
-
-WORKDIR ${LANG_DIR}
-
-COPY proctor-go.go ${LANG_DIR}
-
-ENTRYPOINT ["/root/go/bin/go", "run", "proctor-go.go"]