-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile.arm64v8
26 lines (20 loc) · 1.28 KB
/
Dockerfile.arm64v8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM owncloud/ubuntu:20.04-arm64v8
LABEL maintainer="ownCloud DevOps <[email protected]>" \
org.label-schema.name="ownCloud CI PHP" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
VOLUME ["/var/www/owncloud"]
ENV APACHE_LOGGING_PATH=/dev/stdout
RUN apt-get update -y && \
apt-get install -y software-properties-common language-pack-en-base && \
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php && \
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/apache2
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y apache2 libapache2-mod-php8.0 libxml2-utils git-core unzip wget fontconfig libaio1 python php8.0 php8.0-dev php8.0-xml php8.0-mbstring php8.0-curl php8.0-gd php8.0-zip php8.0-intl php8.0-sqlite3 php8.0-mysql php8.0-pgsql php8.0-soap php8.0-phpdbg php8.0-ldap php8.0-gmp php8.0-imap php8.0-redis php8.0-memcached php8.0-imagick php8.0-smbclient php8.0-apcu php8.0-ast rsync && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /etc/apache2/sites-available/default-ssl.conf && \
a2enmod rewrite headers env dir mime ssl expires dav dav_fs
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
COPY ./overlay ./overlay-arm64v8 /
WORKDIR /var/www/owncloud