Skip to content

Commit

Permalink
Fixed missing file in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrasseur-aneo committed Sep 13, 2023
1 parent e06c5e2 commit bf56777
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cpp/tools/Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ COPY ./packages/cpp/ArmoniK.Api.Common ./ArmoniK.Api.Common
COPY ./packages/cpp/ArmoniK.Api.Worker ./ArmoniK.Api.Worker
COPY ./packages/cpp/ArmoniK.Api.Worker.Tests ./ArmoniK.Api.Worker.Tests
COPY ./packages/cpp/CMakeLists.txt ./
COPY ./packages/cpp/Dependencies.cmake ./

# Copy the Protocol Buffer definition files into the image
WORKDIR /app/proto
Expand Down
1 change: 1 addition & 0 deletions packages/cpp/tools/packaging/deb.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ COPY packages/cpp/ArmoniK.Api.Client/. ./ArmoniK.Api.Client/
COPY packages/cpp/ArmoniK.Api.Worker/. ./ArmoniK.Api.Worker/
COPY packages/cpp/CMakeLists.txt .
COPY packages/cpp/Packaging.cmake .
COPY packages/cpp/Dependencies.cmake .

WORKDIR /app/libarmonik/build
RUN cmake -DBUILD_SHARED_LIBS=ON -DBUILD_CLIENT:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_WORKER:BOOL=ON -DPROTO_FILES_DIR=/app/libarmonik/Protos -DCPACK_GENERATOR=DEB .. && make package -j && make clean
Expand Down
2 changes: 2 additions & 0 deletions packages/cpp/tools/packaging/ubi7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ COPY packages/cpp/ArmoniK.Api.Client/. ./ArmoniK.Api.Client/.
COPY packages/cpp/ArmoniK.Api.Worker/. ./ArmoniK.Api.Worker/.
COPY packages/cpp/CMakeLists.txt .
COPY packages/cpp/Packaging.cmake .
COPY packages/cpp/Dependencies.cmake .

WORKDIR /rpm/build
RUN cmake -DBUILD_SHARED_LIBS=ON -DBUILD_CLIENT:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_WORKER:BOOL=ON -DPROTO_FILES_DIR=/rpm/Protos -DCPACK_GENERATOR=RPM -DCMAKE_PREFIX_PATH=/usr/local/grpc .. && make package -j
ENTRYPOINT ["bash"]
Expand Down

0 comments on commit bf56777

Please sign in to comment.