Skip to content

Commit

Permalink
Merge branch 'hypernext'
Browse files Browse the repository at this point in the history
* hypernext:
  try sbom action
  add php81-iconv package, required by ldaprecord
  • Loading branch information
NicolasCARPi committed Jun 1, 2023
2 parents f7187ac + 306d3cf commit e292b6f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build_hypernext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
schedule:
- cron: "42 01 * * *"

## GITHUB_TOKEN authentication
permissions:
contents: write

jobs:
buildandpush:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,6 +68,15 @@ jobs:
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'github'
output: 'dependency-results.sbom.json'
image-ref: '.'
github-pat: ${{ secrets.GITHUB_TOKEN }}

# This ugly bit is necessary if you don't want your cache to grow forever
# till it hits GitHub's limit of 5GB.
# Temp fix
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Container image version
# Note: the version here is from `ELABIMG_VERSION` present in Dockerfile, not the tagged one

# 4.3.0

* Add php81-iconv package required by LdapRecord dependency

# 4.2.1

* Make 404 page lighter
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN abuild-keygen -n -a && abuild && find /home/builder/packages -type f -name '
FROM alpine:3.16

# this is versioning for the container image
ENV ELABIMG_VERSION=4.2.1
ENV ELABIMG_VERSION=4.3.0

# the target elabftw version is passed with --build-arg
# it is a mandatory ARG
Expand Down Expand Up @@ -137,6 +137,7 @@ RUN mkdir -p /var/log/nginx \
# php8-bcmath is required to send emails via Exchange (NTLM authenticator)
# php8-gd is required by mpdf for transparent png
# php8-tokenizer and php8-xmlwriter are for dev only
# php8-iconv is required by LdapRecord php library
# don't put line comments inside this instruction
RUN apk upgrade -U -a && apk add --no-cache \
bash \
Expand All @@ -156,6 +157,7 @@ RUN apk upgrade -U -a && apk add --no-cache \
php81-gettext \
php81-fileinfo \
php81-fpm \
php81-iconv \
php81-json \
php81-intl \
php81-ldap \
Expand Down

0 comments on commit e292b6f

Please sign in to comment.