Skip to content

Commit

Permalink
circleci: Remove systemd from Fedora nsswitch configuration
Browse files Browse the repository at this point in the history
Lest we end up with a non-functional user/group lookup, resulting in #15230.
  • Loading branch information
bgamari committed Jun 15, 2018
1 parent 2f6069c commit dbe5370
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/images/x86_64-linux-fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ ENV LANG C.UTF-8

RUN dnf -y install coreutils binutils which git make automake autoconf gcc perl python3 texinfo xz lbzip2 patch openssh-clients sudo curl zlib-devel sqlite ncurses-compat-libs gmp-devel ncurses-devel gcc-c++ findutils

# systemd isn't running so remove it from nsswitch.conf
# Failing to do this will result in testsuite failures due to
# non-functional user lookup (#15230).
RUN sed -i -e 's/systemd//g' /etc/nsswitch.conf

# Install GHC and cabal
RUN cd /tmp && curl https://downloads.haskell.org/~ghc/8.4.2/ghc-8.4.2-x86_64-deb8-linux.tar.xz | tar -Jx
RUN cd /tmp/ghc-8.4.2 && ./configure --prefix=/opt/ghc/8.4.2
Expand Down

0 comments on commit dbe5370

Please sign in to comment.