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 485ca68
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ matrix:
- ARGS="--prefix=/usr"
- TEST_INSTALL=t
- DOCKER_TAG=t
- name: "Ubuntu: 20.04"
compiler: gcc
env:
- ARGS="--prefix=/usr"
- IMG=focal
- DOCKER_TAG=t
- name: "Centos 7: docker-deploy"
compiler: gcc
env:
Expand Down
29 changes: 29 additions & 0 deletions src/test/docker/focal/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM fluxrm/flux-core:focal

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 485ca68

Please sign in to comment.