Skip to content

Commit

Permalink
Improve building image
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jul 16, 2024
1 parent d29d774 commit 5f01874
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions image-sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM python:3-slim AS build
FROM python:3 AS build

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential gcc git \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /image-sync

RUN python -m venv /image-sync/venv
Expand Down

0 comments on commit 5f01874

Please sign in to comment.