Skip to content

Commit

Permalink
chore: call make install before docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaakola-aiven committed Sep 26, 2024
1 parent a5e1855 commit 0393230
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
!src
!requirements/*.txt
!README.rst
!LICENSE
!pyproject.toml
!container/start.sh
!container/healthcheck.py
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/container-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
fetch-depth: 0

- name: Install requirements
run: |
python -m venv venv
source ./venv/bin/activate
pip install .
run: make install

- name: Resolve Karapace version
run: |
Expand Down
2 changes: 1 addition & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
else \
PRETEND_VERSION=$KARAPACE_VERSION; \
fi; \
SETUPTOOLS_SCM_PRETEND_VERSION=$PRETEND_VERSION python3 -m pip install --no-deps .
SETUPTOOLS_SCM_PRETEND_VERSION=$PRETEND_VERSION python3 -m pip install --no-deps -e .

# Karapace image, i.e. production.
FROM python:3.10.11-slim-bullseye AS karapace
Expand Down

0 comments on commit 0393230

Please sign in to comment.