[fix] perms

This commit is contained in:
Andy Bunce 2022-08-11 12:46:15 +01:00
parent 51f65150bc
commit 6861f0cbee
4 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,7 @@ RUN export JAVA_HOME
# install BaseX to /basex/
RUN curl https://files.basex.org/releases/9.5.1/BaseX951.zip | jar xv && \
chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ;
chown -R 1000:1000 /basex && chmod a+x /basex/bin/* ;
ENV PATH=$PATH:/basex/bin
# install docker cli only

View File

@ -16,10 +16,11 @@ done
# pull useful projects
cd /config/workspace
git clone https://git.quodatum.duckdns.org/apb/vscode-basex.git
git clone https://git.quodatum.duckdns.org/apb/thedocks
git clone https://github.com/BloomsburyDigital/XML-CMS.git
mkdir quodatum
cd quodatum
git clone https://github.com/Quodatum/xqlint.git
git clone https://github.com/Quodatum/xqdoca.git
git clone https://git.quodatum.duckdns.org/apb/file-samples.git

View File

@ -13,6 +13,7 @@ services:
- SUDO_PASSWORD_HASH= #optional
volumes:
- ./config:/config
- ./repo:/basex/repo
- ./custom:/basex/lib/custom
- /var/run/docker.sock:/var/run/docker.sock
ports: