File: mk_dockerfile.sh

package info (click to toggle)
postgresql-rum 1.3.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,956 kB
  • sloc: ansic: 29,184; sql: 6,614; perl: 546; python: 97; makefile: 68; sh: 64
file content (16 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if [ -z ${PG_VERSION+x} ]; then
	echo PG_VERSION is not set!
	exit 1
fi

if [ -z ${LEVEL+x} ]; then
	LEVEL=standard
fi

echo PG_VERSION=${PG_VERSION}
echo LEVEL=${LEVEL}

sed \
	-e 's/${PG_VERSION}/'${PG_VERSION}/g \
	-e 's/${LEVEL}/'${LEVEL}/g \
Dockerfile.in > Dockerfile