From 656d9aa2d6601b7ce520fceaa9f652c4ee64f323 Mon Sep 17 00:00:00 2001 From: "Junior L. Botelho (JLB)" Date: Sat, 11 Feb 2023 19:54:45 -0300 Subject: [PATCH] chore: change approach of dockerfiles --- Dockerfile | 6 +++--- docker/nginx/{nginx.entrypoint.sh => prepare.sh} | 0 docker/php/{php.dockerfile => php.Dockerfile} | 0 docker/php/{php.entrypoint.sh => prepare.sh} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename docker/nginx/{nginx.entrypoint.sh => prepare.sh} (100%) rename docker/php/{php.dockerfile => php.Dockerfile} (100%) rename docker/php/{php.entrypoint.sh => prepare.sh} (100%) 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