Skip to content

Commit a5f8c9a

Browse files
committed
Support PL/SQL native compilation. See #7.
1 parent 4f11dd4 commit a5f8c9a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

02-run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FILES_DIR=${FILES_DIR:-$BASE_DIR/files}
1515
echo "##### Check if Docker network $DOCKER_NETWORK_NAME #####"
1616
docker network inspect -f {{.Name}} $DOCKER_NETWORK_NAME || \
1717
echo "##### Create Docker network $DOCKER_NETWORK_NAME #####"; \
18-
docker network create $DOCKER_NETWORK_NAME
18+
docker network create $DOCKER_NETWORK_NAME
1919

2020
echo "##### Removing any previous containers #####"
2121
docker rm -vf $CONTAINER_NAME
@@ -28,7 +28,7 @@ echo "##### Changing file ownership. May require password to continue. #####"
2828
if ! [[ $RTU_ENABLED =~ ^(Y|y)$ ]]; then
2929
sudo -n chown 54321:543321 ${HOST_DATA_DIR} || chmod 777 ${HOST_DATA_DIR}
3030
fi
31-
31+
3232
echo "##### Creating container $CONTAINER_NAME #####"
3333
if [[ $RTU_ENABLED =~ ^(Y|y)$ ]]; then
3434
docker run -d --name $CONTAINER_NAME \
@@ -37,6 +37,7 @@ if [[ $RTU_ENABLED =~ ^(Y|y)$ ]]; then
3737
-p ${DOCKER_EM_PORT:-55500}:5500 \
3838
-p ${DOCKER_DB_PORT:-51521}:1521 \
3939
--env-file $ENV_FILE \
40+
--tmpfs /dev/shm:rw,exec,size=2G \
4041
oracle/database:${DB_VERSION}-${DB_EDITION}
4142
else
4243
docker run -d --name $CONTAINER_NAME \
@@ -49,6 +50,7 @@ else
4950
-v $PWD/scripts/setup:/opt/oracle/scripts/setup \
5051
-v $PWD/scripts/startup:/opt/oracle/scripts/startup \
5152
-v $FILES_DIR:/tmp/files \
53+
--tmpfs /dev/shm:rw,exec,size=2G \
5254
oracle/database:${DB_VERSION}-${DB_EDITION}
5355
fi
5456

0 commit comments

Comments
 (0)