Skip to content

Commit

Permalink
Simplify Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg committed Feb 16, 2024
1 parent 44c89b7 commit 8b39add
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tools/releasing/packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,7 @@ RUN apt-get -qq update && apt-get -qq install \
pkg-config && \
rm -rf /var/lib/apt/lists/*

# Setup passwordless sudo
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers

# Switch to the user precice
USER precice
WORKDIR /home/precice
ENV USER=precice

# Use bash instead of default sh
SHELL ["/bin/bash", "-c"]

# Upgrade pip to newest version (pip version from 18.04 apt-get is outdated)
RUN python3 -m pip install --user --upgrade pip
Expand Down

0 comments on commit 8b39add

Please sign in to comment.