summaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2019-11-11 20:26:38 -0800
committerAndrei Vagin <avagin@gmail.com>2020-02-21 22:44:19 -0800
commit75d7f76a6cd81d77f5ce70440c1d95c0296b15ba (patch)
tree23d0417d03a0c6c28d44c9881d3c9d8a49b91095 /Dockerfile
parent3733499952c056cc8496beb01c72dcf53177048e (diff)
arm64: add a travis build ci
Build runsc and run "runsc do ls". Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 738623023..2bfdfec6c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,9 @@
-FROM ubuntu:bionic
+FROM fedora:31
-RUN apt-get update && apt-get install -y curl gnupg2 git python python3 python3-distutils python3-pip
-RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \
- curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
-RUN apt-get update && apt-get install -y bazel && apt-get clean
+RUN dnf install -y dnf-plugins-core && dnf copr enable -y vbatts/bazel
+
+RUN dnf install -y bazel2 git gcc make golang gcc-c++ glibc-devel python3 which python3-pip python3-devel libffi-devel openssl-devel pkg-config glibc-static
+
+RUN pip install pycparser
WORKDIR /gvisor