Skip to content

Commit 996ac17

Browse files
refactor: Rename meshing_rule_file_names and update docker files [skip tests] (#4112)
closes #3894, #3889, #4101 1. Rename `meshing_rule_file_names` to `datamodel_file_name_map`. 2. Update `mode` argument docstring. 3. Update Dockerfiles to fix an environment variable. 4. Update outdated link in Docker docs. --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent a55d38c commit 996ac17

File tree

14 files changed

+112
-102
lines changed

14 files changed

+112
-102
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Rename meshing_rule_file_names [skip tests]

doc/source/user_guide/make_container_image.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ command line arguments and run this script to copy needed files from the Ansys i
3939
4040
* These files indicate the files that are excluded during the copying:
4141

42-
* `excludeCEIList.txt <https://github.com/ansys/pyfluent/blob/main/docker/fluent/excludeCEIList.txt>`_
43-
* `excludeFluentList.txt <https://github.com/ansys/pyfluent/blob/main/docker/fluent/excludeFluentList.txt>`_
42+
* `excludeCEIList.txt <https://github.com/ansys/pyfluent/blob/main/docker/fluent_252/excludeCEIList.txt>`_
43+
* `excludeFluentList.txt <https://github.com/ansys/pyfluent/blob/main/docker/fluent_252/excludeFluentList.txt>`_
4444

4545
1. Above excluded files are not needed to run typical Fluent workflows.
4646

docker/fluent_222/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_231/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_232/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_241/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_242/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_251/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_252/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

docker/fluent_dev/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ LABEL org.opencontainers.image.documentation="https://fluent.docs.pyansys.com"
2222

2323
# Install dependencies
2424
RUN apt-get -y update && apt-get -y install \
25-
csh \
26-
fontconfig \
27-
libxi-dev \
28-
libsm6 \
29-
libice-dev \
30-
libxrandr-dev \
31-
libxinerama-dev \
32-
libxcursor-dev \
33-
libglu1-mesa \
34-
libglvnd-dev && apt-get clean all
25+
csh \
26+
fontconfig \
27+
libxi-dev \
28+
libsm6 \
29+
libice-dev \
30+
libxrandr-dev \
31+
libxinerama-dev \
32+
libxcursor-dev \
33+
libglu1-mesa \
34+
libglvnd-dev && apt-get clean all
3535

3636
# Specify working directory
37-
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORKING_DIRECTORY
37+
ARG WORK_DIR=fluent_work_dir
38+
ENV WORKING_DIRECTORY=/home/$USERNAME/$WORK_DIR
3839

3940
# Specify home directory
4041
ENV HOME=/home/$USERNAME

0 commit comments

Comments
 (0)