Ver Fonte

chore: change approach of dockerfiles

Junior L. Botelho (JLB) há 2 anos atrás
pai
commit
656d9aa2d6
4 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      Dockerfile
  2. 0 0
      docker/nginx/prepare.sh
  3. 0 0
      docker/php/php.Dockerfile
  4. 0 0
      docker/php/prepare.sh

+ 3 - 3
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/

+ 0 - 0
docker/nginx/nginx.entrypoint.sh → docker/nginx/prepare.sh


+ 0 - 0
docker/php/php.dockerfile → docker/php/php.Dockerfile


+ 0 - 0
docker/php/php.entrypoint.sh → docker/php/prepare.sh