Skip to content

Commit 9a43dac

Browse files
feat: minor changes to Linux Dockerfile (#1111)
Co-authored-by: pyansys-ci-bot <pyansys.github.bot@ansys.com>
1 parent 4094b48 commit 9a43dac

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

doc/changelog.d/1111.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feat: minor changes to Linux Dockerfile

docker/linux/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ WORKDIR /app
88

99
# Install unzip
1010
RUN apt-get update && \
11-
apt-get install -y --no-install-recommends unzip=6.0-26+deb11u1 && \
11+
apt-get install -y --no-install-recommends unzip=6.* && \
12+
apt-get install -y --no-install-recommends gcc=4:12.2.* && \
13+
apt-get install -y --no-install-recommends mono-mcs=6.8.0.* && \
1214
rm -rf /var/lib/apt/lists/*
1315

1416
# Add the binary files from the latest release
@@ -20,7 +22,7 @@ RUN unzip -qq linux-binaries.zip -d . && \
2022
rm -rf DockerLinux
2123

2224
# Let the dynamic link loader where to search for shared libraries
23-
ENV LD_LIBRARY_PATH="/app"
25+
ENV LD_LIBRARY_PATH="/app:/app/CI_Linux/bin"
2426

2527
# Define env variables
2628
ENV ANS_DSCO_REMOTE_PORT=50051
@@ -29,6 +31,8 @@ ENV ANS_DSCO_REMOTE_LOGS_CONFIG="linux"
2931
ENV LOG_LEVEL=2
3032
ENV ENABLE_TRACE=0
3133
ENV ANSYSLMD_LICENSE_FILE=""
34+
ENV ANSYS_CI_INSTALL=/app/CI_Linux
35+
ENV P_SCHEMA=/app/Schema/
3236

3337
# Add container labels
3438
LABEL org.opencontainers.image.authors="ANSYS Inc."

0 commit comments

Comments
 (0)