Skip to content

Commit

Permalink
🚑️ Use apt-get no lugar do apt
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoapaes committed Aug 28, 2024
1 parent e6a4099 commit ed24df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:10-slim AS ssl
WORKDIR /ssl/
RUN apt update && apt-get install -y libnss3-tools curl
RUN apt-get update && apt-get install -y libnss3-tools curl
RUN curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
RUN chmod +x mkcert-v*-linux-amd64
RUN mv mkcert-v*-linux-amd64 /usr/local/bin/mkcert
Expand All @@ -9,7 +9,7 @@ RUN mkcert -key-file privkey.pem -cert-file fullchain.pem localhost 127.0.0.1 ::
FROM debian:10-slim AS htpasswd
WORKDIR /
ARG PHP_FPM_PASSWORD=123456
RUN apt update && apt install apache2-utils -y
RUN apt-get update && apt-get install apache2-utils -y
RUN htpasswd -bc fpm_passwd admin $PHP_FPM_PASSWORD
RUN htpasswd -bv fpm_passwd admin $PHP_FPM_PASSWORD

Expand Down

0 comments on commit ed24df0

Please sign in to comment.