diff mbox series

[2/3] travis: Add Ubuntu 18.04

Message ID 20180504063415.29047-2-stewart@linux.ibm.com
State Rejected
Headers show
Series [1/3] travis: remove obsolete fedora 24,25,26 | expand

Commit Message

Stewart Smith May 4, 2018, 6:34 a.m. UTC
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 .travis.yml                     |  1 +
 opal-ci/Dockerfile-ubuntu-18.04 | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 opal-ci/Dockerfile-ubuntu-18.04

Comments

Stewart Smith May 6, 2018, 5:19 p.m. UTC | #1
Stewart Smith <stewart@linux.ibm.com> writes:
> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
> ---
>  .travis.yml                     |  1 +
>  opal-ci/Dockerfile-ubuntu-18.04 | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 opal-ci/Dockerfile-ubuntu-18.04

I'm not merging and instead taking Joel's stab at it, as even though I
managed to hit issues with it, I prefer the approach of trying to use
more of what's in the distro and cleaning that up.
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index c754c12ac298..53046d09fa4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@  env:
     matrix:
     - RUN_ON_CONTAINER=ubuntu-12.04
     - RUN_ON_CONTAINER=ubuntu-16.04
+    - RUN_ON_CONTAINER=ubuntu-18.04
     - RUN_ON_CONTAINER=ubuntu-latest
     - RUN_ON_CONTAINER=centos6
     - RUN_ON_CONTAINER=centos7
diff --git a/opal-ci/Dockerfile-ubuntu-18.04 b/opal-ci/Dockerfile-ubuntu-18.04
new file mode 100644
index 000000000000..910926ec777a
--- /dev/null
+++ b/opal-ci/Dockerfile-ubuntu-18.04
@@ -0,0 +1,11 @@ 
+FROM ubuntu:18.04
+ENV DEBIAN_FRONTEND    noninteractive
+RUN apt-get update -qq
+RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi
+RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6
+RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true
+RUN if [ `arch` == "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb; dpkg -i systemsim-p8_1.0-2_amd64.deb; fi
+RUN if [ `arch` == "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi
+COPY . /build/
+WORKDIR /build
+ENTRYPOINT ./opal-ci/build-ubuntu-16.04.sh