diff --git a/Dockerfile b/Dockerfile index f58485a..19e4cc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11 +FROM openjdk:21 EXPOSE 8083 VOLUME /usr/src/data diff --git a/README.md b/README.md index a1be273..a7dc7f3 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ ``` $ cd ~/docker/task-bldg/ -$ docker build -t task-bldg:0.1.19 ./ +$ docker build -t task-bldg:0.2.1 ./ DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ @@ -80,7 +80,7 @@ 作成された docker の image を起動する ``` - $ docker run -d --name TASK-BLDG -v /home/hayashi/docker/task-bldg/data:/usr/src/data -p 8083:8083 task-bldg:0.1.19 /bin/sh + $ docker run -d --name TASK-BLDG -v /home/hayashi/docker/task-bldg/data:/usr/src/data -p 8083:8083 task-bldg:0.2.1 /bin/sh 105f4c0795542cd0189483e504c036f84e89556f03d00fe3f01dfeb5fd145e00 $ ``` diff --git a/data/h2.sh b/data/h2.sh old mode 100644 new mode 100755 index de597bd..6670012 --- a/data/h2.sh +++ b/data/h2.sh @@ -1,3 +1,3 @@ #!/bin/sh dir=$(dirname "$0") -java -cp "$dir/h2-2.1.214.jar:$H2DRIVERS:$CLASSPATH" org.h2.tools.Console "$@" +java -cp "$dir/h2-1.4.200.jar:$H2DRIVERS:$CLASSPATH" org.h2.tools.Console "$@" diff --git a/run.sh b/run.sh index b1082af..4b03b2b 100755 --- a/run.sh +++ b/run.sh @@ -1 +1 @@ -docker run -d --name TASK-BLDG -v /home/hayashi/docker/task-bldg/data:/usr/src/data -p 8083:8083 task-bldg:latest /bin/sh +docker run -d --name TASK-BLDG -v /home/hayashi/docker/task-bldg/data:/usr/src/data -p 8083:8083 task-bldg:0.2.0 /bin/sh