Skip to content

Commit

Permalink
Merge pull request #19 from Embarcadero/bugfix
Browse files Browse the repository at this point in the history
Fix PAServer output loop and missing libraries #18
  • Loading branch information
checkdigits committed Jun 6, 2024
2 parents d92adf0 + 29c5541 commit 0bdbd68
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ ENV PA_SERVER_PASSWORD=$password

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -yy install \
joe \
wget \
p7zip-full \
curl \
openssh-server \
build-essential \
libcurl4-openssl-dev \
libcurl3-gnutls \
zlib1g-dev \
libcurl4-gnutls-dev \
libncurses5 \
libgl1-mesa-dev \
libgtk-3-bin \
libosmesa-dev \
Expand Down
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

docker build . --build-arg password=securepass \
docker build . \
--build-arg password=securepass \
--platform linux/amd64 \
--tag=radstudio/paserver:latest \
--tag=radstudio/paserver:athens \
--tag=radstudio/paserver:12.1 \
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" = '' ]; then
echo "Required arguments: PAServer password";
echo "ex: run-production.sh securepass";
else
docker run -d -e PA_SERVER_PASSWORD=$1 -p 64211:64211 -p 8082:8082 radstudio/paserver:latest
docker run --platform linux/amd64 -d -t -e PA_SERVER_PASSWORD=$1 -p 64211:64211 -p 8082:8082 radstudio/paserver:latest
fi
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

echo "PAServer Password: securepass"
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it -e PA_SERVER_PASSWORD=securepass -p 64211:64211 -p 8082:8082 radstudio/paserver:latest
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --platform linux/amd64 -it -e PA_SERVER_PASSWORD=securepass -p 64211:64211 -p 8082:8082 radstudio/paserver:latest

0 comments on commit 0bdbd68

Please sign in to comment.