Skip to content

Commit

Permalink
Update dockerfile for new ubuntu LTS :)
Browse files Browse the repository at this point in the history
  • Loading branch information
monkey-company committed Oct 20, 2022
1 parent 56c92c7 commit 00aea99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
FROM ubuntu:bionic
FROM ubuntu:focal
#RUN rm /bin/sh && ln -s /bin/bash /bin/sh

#variables
Expand Down Expand Up @@ -34,9 +34,13 @@ RUN apt-get install apache2 -y && \
apt-get install php php-dev php-pear libapache2-mod-php -y && \

#install certbot, sendmail and ssmtp for ssl and mails
add-apt-repository ppa:certbot/certbot -y && \
apt-get update && \
apt-get install python-certbot-apache -y
apt update && \
apt install python3 python3-venv libaugeas0 -y && \
python3 -m venv /opt/certbot/ && \
/opt/certbot/bin/pip install --upgrade pip && \
/opt/certbot/bin/pip install certbot certbot-apache && \
ln -s /opt/certbot/bin/certbot /usr/bin/certbot


COPY ./scripts /scripts
COPY ./entrypoint-custom /
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### php-apache-certbot
Docker image with php, pear, xdiff, pagespeed, apache and certbot. Based on ubuntu:bionic
Docker image with php, pear, xdiff, pagespeed, apache and certbot. Based on ubuntu:focal
(Old version based on ubuntu:bionic is available on build monkeycompany/php-apache-certbot:e26af93)

Docker hub : [monkeycompany/php-apache-certbot](https://hub.docker.com/r/monkeycompany/php-apache-certbot/)

Expand All @@ -12,10 +13,11 @@ Github project : [monkey-company/php-apache-certbot](https://github.com/monkey-c
[![Monkey Company](https://img.shields.io/badge/Monkey-Company-red.svg?longCache=true&style=flat)](https://themonkey.co/)
![GitHub](https://img.shields.io/github/license/monkey-company/php-apache-certbot.svg)
[![Build Status](https://travis-ci.org/monkey-company/php-apache-certbot.svg?branch=master)](https://travis-ci.org/monkey-company/php-apache-certbot)
[![Docker Pulls](https://img.shields.io/docker/pulls/monkeycompany/php-apache-certbot.svg)](https://hub.docker.com/r/monkeycompany/php-apache-certbot/)
[![Docker Stars](https://img.shields.io/docker/stars/monkeycompany/php-apache-certbot)](https://hub.docker.com/r/monkeycompany/php-apache-certbot/)
![GitHub last commit](https://img.shields.io/github/last-commit/monkey-company/php-apache-certbot.svg)
[![GitHub release](https://img.shields.io/github/release/monkey-company/php-apache-certbot.svg)](https://github.com/monkey-company/php-apache-certbot/releases/latest)
![GitHub repo size in bytes](https://img.shields.io/github/repo-size/monkey-company/php-apache-certbot.svg)
[![Docker Pulls](https://img.shields.io/docker/pulls/monkeycompany/php-apache-certbot.svg)](https://hub.docker.com/r/monkeycompany/php-apache-certbot/)
![GitHub language count](https://img.shields.io/github/languages/count/monkey-company/php-apache-certbot.svg)

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmonkey-company%2Fphp-apache-certbot.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmonkey-company%2Fphp-apache-certbot?ref=badge_large)
Expand Down

0 comments on commit 00aea99

Please sign in to comment.