Skip to content

Commit

Permalink
travis: add eoan CI builder for hwloc 2 coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
SteVwonder committed Jun 24, 2020
1 parent 8db96aa commit 0c66a8d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ matrix:
- ARGS="--prefix=/usr"
- TEST_INSTALL=t
- DOCKER_TAG=t
- name: "Ubuntu: eoan"
compiler: gcc
env:
- IMG=eoan
- name: "Centos 7: docker-deploy"
compiler: gcc
env:
Expand Down
29 changes: 29 additions & 0 deletions src/test/docker/eoan/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM fluxrm/flux-core:bionic

ARG USER=flux
ARG UID=1000

# Install extra buildrequires for flux-sched:
RUN sudo apt-get update
RUN sudo apt-get -qq install -y --no-install-recommends \
libboost-graph-dev \
libboost-system-dev \
libboost-filesystem-dev \
libboost-regex-dev \
libxml2-dev \
python-yaml \
libyaml-cpp-dev

# Add configured user to image with sudo access:
#
RUN \
if test "$USER" != "flux"; then \
sudo groupadd -g $UID $USER \
&& sudo useradd -g $USER -u $UID -d /home/$USER -m $USER \
&& sudo sh -c "printf \"$USER ALL= NOPASSWD: ALL\\n\" >> /etc/sudoers" \
&& sudo adduser $USER sudo ; \
fi

USER $USER
WORKDIR /home/$USER
RUN flux keygen

0 comments on commit 0c66a8d

Please sign in to comment.