Skip to content

Commit

Permalink
MAINT: Delete the apt-get lists after installing packages (#750)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <pyansys.github.bot@ansys.com>
Co-authored-by: Dipin <26918585+dipinknair@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 3, 2024
1 parent fb2512b commit e01d03a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions doc/changelog.d/750.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MAINT: Delete the apt-get lists after installing packages
8 changes: 5 additions & 3 deletions docker/231/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ RUN apt-get update && apt-get install -y \
xvfb \
tini \
ca-certificates\
libgomp1
libgomp1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Copying files
WORKDIR /install/
Expand Down Expand Up @@ -113,10 +115,10 @@ ENV ANSYS_VERSION=${VERSION} \
ANS_WB_FORCE_EGL=1 \
MECHANICAL_ON_DOCKER=TRUE

# expose port for grpc
# expose port for gRPC
EXPOSE 10000

# Set working directory
WORKDIR /install/ansys_inc/v${VERSION}/aisol/

ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]
ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]
8 changes: 5 additions & 3 deletions docker/232/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ RUN apt-get update && apt-get install -y \
xvfb \
tini \
ca-certificates \
libgomp1
libgomp1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Copying files
WORKDIR /install/
Expand Down Expand Up @@ -91,10 +93,10 @@ ENV ANSYS_VERSION=${VERSION} \
ANS_WB_FORCE_EGL=1 \
MECHANICAL_ON_DOCKER=TRUE

# expose port for grpc
# expose port for gRPC
EXPOSE 10000

# Set working directory
WORKDIR /install/ansys_inc/v${VERSION}/aisol/

ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]
ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]
8 changes: 5 additions & 3 deletions docker/241/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ RUN apt-get update && apt-get install -y \
xvfb \
tini \
ca-certificates \
libgomp1
libgomp1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Copying files
WORKDIR /install/
Expand Down Expand Up @@ -91,10 +93,10 @@ ENV ANSYS_VERSION=${VERSION} \
ANS_WB_FORCE_EGL=1 \
MECHANICAL_ON_DOCKER=TRUE

# expose port for grpc
# expose port for gRPC
EXPOSE 10000

# Set working directory
WORKDIR /install/ansys_inc/v${VERSION}/aisol/

ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]
ENTRYPOINT ["tini", "--", "xvfb-run", "./.workbench", "-dsapplet", "-AppModeMech", "-b", "-grpc", "10000"]

0 comments on commit e01d03a

Please sign in to comment.