To use Ubuntu 20 instead of Ubuntu 22.04 EDIT: 24.04 IS DEFAULT FROM v 0.1.7 for the OpenPanel base image, edit the Dockerfile and make changes:
- Instead of
FROM ubuntu:22.04
set FROM ubuntu:20.04
- Before
ttyd \
add new line with git \
Example:
FROM ubuntu:20.04
ENV TZ=UTC
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php && \
apt-get update && \
apt-get install --no-install-recommends -y \
git \
ttyd \
screen \
apache2 \
...
then build the image and make sure to disable updating docker images from OpenAdmin > Docker or your change will be overwritten during next update!