diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
commit | 708594d32ffe779cf547c816fa7cdd19d095be2e (patch) | |
tree | 30d28553316db02bc027664e17b76d58f2e352ff /build | |
parent | add en_CAT makefile and use ucfirst/ucwords (diff) | |
download | xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.gz xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.bz2 xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.zip |
v2 done
Diffstat (limited to 'build')
-rw-r--r-- | build/init/Dockerfile (renamed from build/dbinit/Dockerfile) | 4 | ||||
-rwxr-xr-x | build/init/init (renamed from build/dbinit/dbinit) | 0 | ||||
-rw-r--r-- | build/postgrest/Dockerfile | 2 | ||||
-rw-r--r-- | build/shim/Dockerfile | 9 |
4 files changed, 12 insertions, 3 deletions
diff --git a/build/dbinit/Dockerfile b/build/init/Dockerfile index 81c66ea..2b3d770 100644 --- a/build/dbinit/Dockerfile +++ b/build/init/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:3.19 RUN apk add --no-cache postgresql16-client tini -COPY ./dbinit /usr/local/bin/dbinit +COPY ./init /usr/local/bin/init ENTRYPOINT ["/sbin/tini", "--"] -CMD ["/usr/local/bin/dbinit"] +CMD ["/usr/local/bin/init"] diff --git a/build/dbinit/dbinit b/build/init/init index c64f139..c64f139 100755 --- a/build/dbinit/dbinit +++ b/build/init/init diff --git a/build/postgrest/Dockerfile b/build/postgrest/Dockerfile index 62b8a2e..d7720aa 100644 --- a/build/postgrest/Dockerfile +++ b/build/postgrest/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.19 COPY ./postgrest.tar.xz /tmp/postgrest.tar.xz RUN tar xJf /tmp/postgrest.tar.xz -C /tmp -RUN mv /tmp/postgrest /usr/local/bin/postgrest +RUN cp /tmp/postgrest /usr/local/bin/postgrest RUN rm /tmp/postgrest.tar.xz COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh CMD ["/usr/local/bin/entrypoint.sh"] diff --git a/build/shim/Dockerfile b/build/shim/Dockerfile new file mode 100644 index 0000000..82cc9a7 --- /dev/null +++ b/build/shim/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.19 +RUN apk add --no-cache \ + php83 \ + php83-pdo \ + php83-pdo_sqlite \ + php83-pdo_pgsql \ + tini +ENTRYPOINT ["/sbin/tini", "--"] +CMD ["/usr/bin/php83", "/opt/shim/shim.php"] |