Skip to content

Commit

Permalink
Updates to docker-compose and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jleaniz committed Oct 5, 2023
1 parent c09d923 commit d0c907a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
- TURBINIA_EXTRA_ARGS=${TURBINIA_EXTRA_ARGS}

turbinia-api-server:
#image: "turbinia-api-server-dev # Use this for local development and comment out below line
#image: "turbinia-api-server-dev" # Use this for local development and comment out below line
image: "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-api-server:latest" # Latest stable
container_name: turbinia-api-server

Expand Down
5 changes: 4 additions & 1 deletion docker/tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ WORKDIR /home/turbinia
COPY --chown=turbinia:turbinia ./pyproject.toml ./poetry.toml ./poetry.lock /home/turbinia/

# Install dependencies using Poetry
RUN poetry install --no-interaction --no-ansi -E worker -E gcp --with test
RUN poetry install --no-interaction --no-ansi -E worker -E gcp --with test --no-root
RUN poetry run python3 -m pip install impacket --no-deps

ENV PATH="/home/turbinia/.venv/bin:$PATH" \
Expand All @@ -113,4 +113,7 @@ ENV PATH="/home/turbinia/.venv/bin:$PATH" \
# Copy the source directory to the container
COPY --chown=turbinia:turbinia . /home/turbinia/

# Install Turbinia package -- will skip dependencies if installed
RUN poetry install --no-interaction --no-ansi --sync -E worker -E gcp --with test

CMD ["/bin/bash"]

0 comments on commit d0c907a

Please sign in to comment.