mirror of
https://github.com/casjaysdevdocker/nextcloud
synced 2025-01-18 06:34:28 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
3f7963a475
commit
d8d636d7a3
17
Dockerfile
17
Dockerfile
@ -1,12 +1,14 @@
|
|||||||
FROM casjaysdevdocker/alpine:latest as build
|
FROM casjaysdevdocker/alpine:latest AS build
|
||||||
|
|
||||||
ARG LICENSE=WTFPL \
|
ARG LICENSE=WTFPL \
|
||||||
IMAGE_NAME=nextcloud \
|
IMAGE_NAME=nextcloud \
|
||||||
TIMEZONE=America/New_York \
|
TIMEZONE=America/New_York \
|
||||||
PORT=8000 \
|
PORT=8000 \
|
||||||
NEXTCLOUD_VERSION=24.0.5 \
|
NEXTCLOUD_VERSION=24.0.5 \
|
||||||
ALPINE_VERSION=3.16 \
|
ALPINE_VERSION=edge \
|
||||||
SMBCLIENT_VERSION=1.0.6
|
SMBCLIENT_VERSION=1.0.6 \
|
||||||
|
PGID=1000 \
|
||||||
|
PUID=1000
|
||||||
|
|
||||||
ENV SHELL=/bin/bash \
|
ENV SHELL=/bin/bash \
|
||||||
TERM=xterm-256color \
|
TERM=xterm-256color \
|
||||||
@ -15,6 +17,9 @@ ENV SHELL=/bin/bash \
|
|||||||
|
|
||||||
RUN mkdir -p /bin/ /config/ /data/ && \
|
RUN mkdir -p /bin/ /config/ /data/ && \
|
||||||
rm -Rf /bin/.gitkeep /config/.gitkeep /data/.gitkeep && \
|
rm -Rf /bin/.gitkeep /config/.gitkeep /data/.gitkeep && \
|
||||||
|
echo "http://dl-cdn.alpinelinux.org/alpine/$ALPINE_VERSION/main" >> /etc/apk/repositories && \
|
||||||
|
echo "http://dl-cdn.alpinelinux.org/alpine/$ALPINE_VERSION/community" >> /etc/apk/repositories && \
|
||||||
|
echo "http://dl-cdn.alpinelinux.org/alpine/$ALPINE_VERSION/testing" >> /etc/apk/repositories && \
|
||||||
apk update -U --no-cache \
|
apk update -U --no-cache \
|
||||||
apk add --no-cache curl gnupg tar unzip xz \
|
apk add --no-cache curl gnupg tar unzip xz \
|
||||||
apk --update --no-cache add \
|
apk --update --no-cache add \
|
||||||
@ -70,7 +75,7 @@ RUN mkdir -p /bin/ /config/ /data/ && \
|
|||||||
php8-zlib \
|
php8-zlib \
|
||||||
python3 \
|
python3 \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
tzdata
|
tzdata
|
||||||
|
|
||||||
RUN apk --update --no-cache add -t build-dependencies \
|
RUN apk --update --no-cache add -t build-dependencies \
|
||||||
autoconf \
|
autoconf \
|
||||||
@ -84,8 +89,8 @@ RUN apk --update --no-cache add -t build-dependencies \
|
|||||||
tar \
|
tar \
|
||||||
wget
|
wget
|
||||||
|
|
||||||
RUN pip install --upgrade pip && \
|
RUN pip3 install --upgrade pip && \
|
||||||
pip install nextcloud_news_updater
|
pip3 install nextcloud_news_updater
|
||||||
|
|
||||||
RUN mv /etc/php8 /etc/php && \
|
RUN mv /etc/php8 /etc/php && \
|
||||||
ln -s /etc/php /etc/php8 && \
|
ln -s /etc/php /etc/php8 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user