Merge pull request #15636 from Budibase/ops/certbot-dependency-in-singleimage
Update apt cache before installing python3-certbot-nginx
This commit is contained in:
commit
8c3f480d5d
|
@ -92,7 +92,7 @@ COPY hosting/single/ssh/sshd_config /etc/
|
||||||
COPY hosting/single/ssh/ssh_setup.sh /tmp
|
COPY hosting/single/ssh/ssh_setup.sh /tmp
|
||||||
|
|
||||||
# setup letsencrypt certificate
|
# setup letsencrypt certificate
|
||||||
RUN apt-get install -y certbot python3-certbot-nginx
|
RUN apt-get update && apt-get install -y certbot python3-certbot-nginx
|
||||||
COPY hosting/letsencrypt /app/letsencrypt
|
COPY hosting/letsencrypt /app/letsencrypt
|
||||||
RUN chmod +x /app/letsencrypt/certificate-request.sh /app/letsencrypt/certificate-renew.sh
|
RUN chmod +x /app/letsencrypt/certificate-request.sh /app/letsencrypt/certificate-renew.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue