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

Commit02049e1

Browse files
committed
Pass USE_TPCDS env variable to Docker container
1 parent18f5a38 commit02049e1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

‎Dockerfile.tmpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ ADD . /pg/testdir
3535
WORKDIR /pg/testdir
3636

3737
USER postgres
38-
ENTRYPOINT LEVEL=${LEVEL} /run.sh
38+
ENTRYPOINT LEVEL=${LEVEL}USE_TPCDS=${USE_TPCDS}/run.sh

‎mk_dockerfile.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ if [ -z ${LEVEL+x} ]; then
99
LEVEL=scan-build
1010
fi
1111

12+
if [-z${USE_TPCDS+x} ];then
13+
USE_TPCDS=0
14+
fi
15+
1216
echo PG_VERSION=${PG_VERSION}
1317
echo LEVEL=${LEVEL}
18+
echo USE_TPCDS=${USE_TPCDS}
1419

1520
sed \
1621
-e's/${PG_VERSION}/'${PG_VERSION}/g \
1722
-e's/${LEVEL}/'${LEVEL}/g \
23+
-e's/${USE_TPCDS}/'${USE_TPCDS}/g \
1824
Dockerfile.tmpl> Dockerfile

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp