Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "04:00"
reviewers:
- "hoellen"
pull-request-branch-name:
separator: "-"
open-pull-requests-limit: 10
- package-ecosystem: docker
directory: "/"
schedule:
interval: daily
time: "04:00"
target-branch: "master"
reviewers:
- "hoellen"
ignore:
- dependency-name: "php"
update-types: ["version-update:semver-major","version-update:semver-minor"]
- dependency-name: "nginx"
update-types: ["version-update:semver-major","version-update:semver-minor"]
pull-request-branch-name:
separator: "-"
open-pull-requests-limit: 10
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
# -------------- Build-time variables --------------
ARG NEXTCLOUD_VERSION=23.0.0
ARG PHP_VERSION=8.0
ARG NGINX_VERSION=1.20

ARG ALPINE_VERSION=3.15
ARG HARDENED_MALLOC_VERSION=8

ARG UID=1000
ARG GID=1000
# ---------------------------------------------------

### Build PHP base
FROM php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} as base
FROM php:8.0.13-fpm-alpine3.15 as base

ARG APCU_VERSION
ARG REDIS_VERSION
Expand Down Expand Up @@ -72,8 +69,7 @@ RUN apk -U upgrade \


### Build Hardened Malloc
ARG ALPINE_VERSION
FROM alpine:${ALPINE_VERSION} as build-malloc
FROM alpine:3.15.0 as build-malloc

ARG HARDENED_MALLOC_VERSION
ARG CONFIG_NATIVE=false
Expand All @@ -86,7 +82,7 @@ RUN apk --no-cache add build-base git gnupg && cd /tmp \


### Fetch nginx
FROM nginx:${NGINX_VERSION}-alpine as nginx
FROM nginx:1.20.2-alpine as nginx


### Build Nextcloud (production environemnt)
Expand Down