Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚑️ Use apt-get no lugar do apt #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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