Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ LABEL org.opencontainers.image.title="Python" \
# Install dependencies
RUN pkg update && \
pkg install -y python${PYTHON_VERSION} && \
mkdir -p /app && \
pkg query %v python${PYTHON_VERSION} > /app/version && \
pkg clean -ay && \
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*
2 changes: 2 additions & 0 deletions Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ LABEL org.opencontainers.image.title="Python" \
# Install dependencies
RUN pkg update && \
pkg install -y python${PYTHON_VERSION} && \
mkdir -p /app && \
pkg query %v python${PYTHON_VERSION} > /app/version && \
pkg clean -ay && \
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*