diff --git a/Containerfile b/Containerfile index 9e11c5c..29d9cee 100644 --- a/Containerfile +++ b/Containerfile @@ -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/* \ No newline at end of file diff --git a/Containerfile.j2 b/Containerfile.j2 index e21bfa6..05cb591 100644 --- a/Containerfile.j2 +++ b/Containerfile.j2 @@ -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/*