Skip to content

Commit

Permalink
Merge pull request #10 from lmbelo/main
Browse files Browse the repository at this point in the history
Script updated to 12.1.1 Athens
  • Loading branch information
checkdigits authored Jun 18, 2024
2 parents 1049b85 + 5dc00cc commit 2de72b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6

#====GET ZIP FILES====
ADD https://altd.embarcadero.com/getit/public/libraries/RADServer/RADServerLinux-20240402.zip ./radserver.zip
ADD https://altd.embarcadero.com/releases/studio/23.0/121/LinuxPAServer23.0.tar.gz ./paserver.tar.gz
ADD https://altd.embarcadero.com/releases/studio/23.0/121/1211/LinuxPAServer23.0.tar.gz ./paserver.tar.gz

RUN unzip radserver.zip
RUN tar xvzf paserver.tar.gz
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ if [ "$1" = '' ] || [ "$2" = '' ]; then
else
docker build --build-arg password=securepass \
--build-arg dbhost=$1 --build-arg dbport=$2 \
--platform linux/amd64 \
--tag radstudio/pa-radserver:latest \
--tag radstudio/pa-radserver:athens \
--tag radstudio/pa-radserver:12.1 \
--tag radstudio/pa-radserver:12.1.1 \
.
fi
2 changes: 1 addition & 1 deletion run-production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if [ "$1" = '' ] || [ "$2" = '' ]; then
echo "Required arguments: RAD Server database (InterBase) host and port";
echo "ex: run-production.sh example.com 3050";
else
docker run -d --mount source=ems,target=/etc/ems -e DB_PORT=$2 -e DB_HOST=$1 -e CONFIG=PRODUCTION -p 80:80 radstudio/pa-radserver:latest
docker run -d --platform linux/amd64 --mount source=ems,target=/etc/ems -e DB_PORT=$2 -e DB_HOST=$1 -e CONFIG=PRODUCTION -p 80:80 radstudio/pa-radserver:latest
fi
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "$1" = '' ] || [ "$2" = '' ]; then
echo "ex: run.sh example.com 3050";
else
echo "PAServer Password: securepass"
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --platform linux/amd64 \
-it --mount source=ems,target=/etc/ems \
-e DB_PORT=$2 -e DB_HOST=$1 \
-e PA_SERVER_PASSWORD=securepass -p 80:80 -p 64211:64211 -p 8082:8082 \
Expand Down

0 comments on commit 2de72b1

Please sign in to comment.