diff --git a/Dockerfile b/Dockerfile index 0dd4dbc..e593e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM docker:20.10 +# syntax=docker/dockerfile:1 +ARG VERSION="3.17" +FROM alpine:${VERSION} AS builder WORKDIR "/home/librex" -VOLUME [ "/var/run/docker.sock" ] - # Docker metadata contains information about the maintainer, such as the name, repository, and support email # Please add any necessary information or correct any incorrect information # See more: https://docs.docker.com/config/labels-custom-metadata/ diff --git a/docker/nginx/nginx.entrypoint.sh b/docker/nginx/prepare.sh similarity index 100% rename from docker/nginx/nginx.entrypoint.sh rename to docker/nginx/prepare.sh diff --git a/docker/php/php.dockerfile b/docker/php/php.Dockerfile similarity index 100% rename from docker/php/php.dockerfile rename to docker/php/php.Dockerfile diff --git a/docker/php/php.entrypoint.sh b/docker/php/prepare.sh similarity index 100% rename from docker/php/php.entrypoint.sh rename to docker/php/prepare.sh