-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathDockerfile.actions.jammy
More file actions
37 lines (28 loc) · 1.19 KB
/
Dockerfile.actions.jammy
File metadata and controls
37 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM fluidity/baseimages:jammy
USER root
RUN apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install sudo && \
rm -rf /var/cache/apt/archives && \
rm -rf /var/lib/apt/lists
# See https://github.com/FluidityProject/fluidity/issues/388
# workaround VTK reading bug with newer versions of libexpat1
# https://bugs.launchpad.net/ubuntu/+source/paraview/+bug/2058415, in particular
# https://bugs.launchpad.net/ubuntu/+source/paraview/+bug/2058415/comments/6
# NOTE: that this downgrade of libexpat1 (which is used in many places by your OS)
# reverts some security patches and is therefore not recommended on your desktop
RUN curl -fsLO http://launchpadlibrarian.net/635321776/libexpat1_2.4.7-1ubuntu0.2_amd64.deb && \
dpkg -i libexpat1_2.4.7-1ubuntu0.2_amd64.deb
RUN adduser fluidity sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
COPY . /home/fluidity
RUN chown -R fluidity /home/fluidity
USER fluidity
RUN ./configure --enable-2d-adaptivity
RUN make makefiles
RUN test -z "$(git status --porcelain */Makefile.dependencies)"
RUN make
RUN make fltools
RUN make manual
# Python module 'assess' is required for some longtests
RUN python3 -m pip install assess