Skip to content

Commit

Permalink
#57 - add Renovate (#58)
Browse files Browse the repository at this point in the history
* - add Renovate and update Dockerfiles

* - add line
  • Loading branch information
Blusia authored Aug 26, 2024
1 parent 425cc44 commit 08032b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions environment/dev/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/alpine
FROM alpine:3.19.0 as secops-tools
FROM alpine:3.19.0 AS secops-tools

# https://github.com/FiloSottile/age/releases
ARG AGE_VERSION="1.1.1"
Expand All @@ -14,9 +14,9 @@ RUN wget --output-document age.tar.gz "https://github.com/FiloSottile/age/releas
&& wget --output-document /usr/local/bin/sops "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64" \
&& chmod +x /usr/local/bin/sops

FROM composer/composer:2.7.2-bin as composer-bin
FROM composer/composer:2.7.2-bin AS composer-bin

FROM node:21.7.1-bookworm-slim as node
FROM node:21.7.1-bookworm-slim AS node

FROM php:8.3.3-fpm-bookworm

Expand Down
6 changes: 3 additions & 3 deletions environment/prod/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### PHP DEPENDENCIES ###
FROM composer:2.7.2 as vendor
FROM composer:2.7.2 AS vendor

WORKDIR /app_composer_dependencies

Expand All @@ -13,7 +13,7 @@ RUN composer install \
--ignore-platform-reqs

### FRONTEND ###
FROM node:21.7.1-bookworm-slim as frontend
FROM node:21.7.1-bookworm-slim AS frontend

WORKDIR /app_frontend_dependencies

Expand All @@ -27,7 +27,7 @@ COPY ./public/pastMeetup.html ./public/pastMeetup.html
RUN npx tailwindcss -i ./styles.css -o ./public/output.css

### APPLICATION ###
FROM php:8.3.3-fpm-bookworm as app
FROM php:8.3.3-fpm-bookworm AS app

COPY --from=vendor /usr/bin/composer /usr/local/bin/composer

Expand Down
12 changes: 12 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>blumilksoftware/infrastructure//renovate/presets/default.json5",
],
"additionalReviewers": [
"Blusia", // Agnieszka Rudek
],
"ignoreDeps": [
"ghcr.io/blumilksoftware/lmt",
],
}

0 comments on commit 08032b2

Please sign in to comment.