File tree Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 6161 operating-system : ${{ matrix.os }}
6262 python-version : ${{ matrix.python-version }}
6363
64+ docker-style :
65+ name : Docker Style Check
66+ runs-on : ubuntu-latest
67+ steps :
68+ - name : PyAnsys documentation style checks
69+ uses : ansys/actions/docker-style@v5
70+ with :
71+ directory : docker
72+ recursive : true
73+
6474# =================================================================================================
6575# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv RUNNING ON SELF-HOSTED RUNNER vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
6676# =================================================================================================
Original file line number Diff line number Diff line change 1818* [ Maxime Rey] ( https://github.com/MaxJPRey )
1919* [ Revathy Venugopal] ( https://github.com/Revathyvenugopal162 )
2020* [ Riccardo Manno] ( https://github.com/rmanno91 )
21+ * [ Sebastien Morais] ( https://github.com/SMoraisAnsys )
2122* [ Umut Soysal] ( https://github.com/umutsoysal )
Original file line number Diff line number Diff line change @@ -7,11 +7,17 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0
77WORKDIR /app
88
99# Install unzip
10- RUN apt-get update && apt-get install -y unzip
10+ RUN apt-get update && \
11+ apt-get install -y --no-install-recommends unzip=6.0-26+deb11u1 && \
12+ rm -rf /var/lib/apt/lists/*
1113
1214# Add the binary files from the latest release
1315COPY linux-binaries.zip .
14- RUN unzip -qq linux-binaries.zip -d . && rm linux-binaries.zip && chmod -R 0755 DockerLinux && mv DockerLinux/bin/x64/Release_Linux/net6.0/* . && rm -rf DockerLinux
16+ RUN unzip -qq linux-binaries.zip -d . && \
17+ rm linux-binaries.zip && \
18+ chmod -R 0755 DockerLinux && \
19+ mv DockerLinux/bin/x64/Release_Linux/net6.0/* . && \
20+ rm -rf DockerLinux
1521
1622# Let the dynamic link loader where to search for shared libraries
1723ENV LD_LIBRARY_PATH="/app"
Original file line number Diff line number Diff line change 1+ # hadolint shell = cmd.exe
2+ #
13# Geometry service Windows-based Dockerfile
24#
35# Based on mcr.microsoft.com/dotnet/framework/runtime:4.7.2-windowsservercore-ltsc2019
@@ -15,10 +17,12 @@ WORKDIR /app
1517
1618# Add the binary files from the latest release
1719COPY windows-binaries.zip .
18- RUN mkdir tmp_folder && tar -xf windows-binaries.zip -C tmp_folder
19- RUN xcopy "tmp_folder\DockerWindows\bin\x64\Release_Headless\net472\*" ".\" /s /e /i /h
20- RUN xcopy "tmp_folder\DockerWindows\*" ".\"
21- RUN del windows-binaries.zip && rmdir /s /q tmp_folder
20+ RUN mkdir tmp_folder && \
21+ tar -xf windows-binaries.zip -C tmp_folder && \
22+ xcopy tmp_folder\D ockerWindows\b in\x 64\R elease_Headless\n et472\* . /e /i /h && \
23+ xcopy tmp_folder\D ockerWindows\* . && \
24+ del windows-binaries.zip && \
25+ rmdir /s /q tmp_folder
2226
2327# Defining environment variables
2428ENV LICENSE_SERVER=""
You can’t perform that action at this time.
0 commit comments