Skip to content

Commit a60cc30

Browse files
committed
HOTFIX: failing docker image build after core service addition
1 parent 6012fa1 commit a60cc30

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ jobs:
772772
- name: Build Docker image
773773
working-directory: docker
774774
run: |
775-
docker build -f linux/Dockerfile -t ghcr.io/ansys/geometry:linux-tmp .
775+
docker build -f linux/coreservice/Dockerfile -t ghcr.io/ansys/geometry:linux-tmp .
776776
777777
- name: Launch Geometry service
778778
run: |

docker/linux/coreservice/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ RUN apt-get update && \
1717
COPY linux-core-binaries.zip .
1818
RUN unzip -qq linux-core-binaries.zip -d . && \
1919
rm linux-core-binaries.zip && \
20-
chmod -R 0755 DockerLinux && \
21-
mv DockerLinux/bin/x64/Release_Linux/net8.0/* . && \
22-
rm -rf DockerLinux
20+
chmod -R 0755 bin && \
21+
mv bin/x64/Release_Core_Linux/net8.0/* . && \
22+
rm -rf bin
2323

2424
# Let the dynamic link loader where to search for shared libraries
2525
ENV LD_LIBRARY_PATH=/app:/app/CADIntegration/bin:/app/Native/Linux

docker/windows/coreservice/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ WORKDIR /app
2121
COPY windows-core-binaries.zip .
2222
RUN mkdir tmp_folder && \
2323
tar -xf windows-core-binaries.zip -C tmp_folder && \
24-
xcopy tmp_folder\DockerWindows\bin\x64\Release_Core_Windows\net8.0\* . /e /i /h && \
25-
xcopy tmp_folder\DockerWindows\* . && \
24+
xcopy tmp_folder\bin\x64\Release_Core_Windows\net8.0\* . /e /i /h && \
25+
xcopy tmp_folder\* . && \
2626
del windows-core-binaries.zip && \
2727
rmdir /s /q tmp_folder
2828

docker/windows/dms/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ WORKDIR /app
1919
COPY windows-dms-binaries.zip .
2020
RUN mkdir tmp_folder && \
2121
tar -xf windows-dms-binaries.zip -C tmp_folder && \
22-
xcopy tmp_folder\DockerWindows\bin\x64\Release_Headless\net472\* . /e /i /h && \
23-
xcopy tmp_folder\DockerWindows\* . && \
22+
xcopy tmp_folder\bin\x64\Release_Headless\net472\* . /e /i /h && \
23+
xcopy tmp_folder\* . && \
2424
del windows-dms-binaries.zip && \
2525
rmdir /s /q tmp_folder
2626

0 commit comments

Comments
 (0)