Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactoring of dockerfiles#215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes from1 commit
Commits
Show all changes
10 commits
Select commitHold shift + click to select a range
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
PrevPrevious commit
NextNext commit
A problem with PYTHON_VERSION is fixed
  • Loading branch information
@dmitry-lipetsk
dmitry-lipetsk committedMar 12, 2025
commitce66524945414ab84f2dc9d2fd3ee63e38beee54
4 changes: 3 additions & 1 deletionDockerfile--std.tmpl
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,11 @@ FROM postgres:${PG_VERSION}-alpine as base1

FROM base1 as base2_with_python-2
RUN apk add --no-cache curl python2 python2-dev build-base musl-dev linux-headers py-virtualenv py-pip
ENV PYTHON_VERSION=2

FROM base1 as base2_with_python-3
RUN apk add --no-cache curl python3 python3-dev build-base musl-dev linux-headers py-virtualenv
ENV PYTHON_VERSION=3

FROM base2_with_python-${PYTHON_VERSION} as final

Expand All@@ -18,4 +20,4 @@ WORKDIR /pg/testgres
RUN chown -R postgres:postgres /pg

USER postgres
ENTRYPOINTPYTHON_VERSION="${PYTHON_VERSION}"bash run_tests.sh
ENTRYPOINT bash run_tests.sh

[8]ページ先頭

©2009-2025 Movatter.jp