Skip to content

Commit

Permalink
Fixing generate dockerfile
Browse files Browse the repository at this point in the history
Propagate FBC configs directory to Dockerfile template so it is copied correctly.

[CLOUDDST-23891]
  • Loading branch information
lipoja committed Sep 24, 2024
1 parent 491c522 commit 8130070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iib/workers/tasks/opm_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def create_dockerfile(
CMD ["serve", "/configs", "--cache-dir=/tmp/cache"]
# Copy declarative config root and cache into image
ADD catalog /configs
ADD {os.path.basename(fbc_dir)} /configs
COPY --chown=1001:0 cache /tmp/cache
# Set DC-specific label for the location of the DC root directory
Expand Down
2 changes: 1 addition & 1 deletion tests/test_workers/test_tasks/test_opm_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def test_create_dockerfile(tmpdir, dockerfile):
CMD ["serve", "/configs", "--cache-dir=/tmp/cache"]
# Copy declarative config root and cache into image
ADD catalog /configs
ADD catalogs /configs
COPY --chown=1001:0 cache /tmp/cache
# Set DC-specific label for the location of the DC root directory
Expand Down

0 comments on commit 8130070

Please sign in to comment.