Compare commits

..

10 Commits
v0.1.0 ... main

Author SHA1 Message Date
f00f72c065
fix: create container user home dir
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/tag/build-container Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/tag/notify Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
2024-10-26 21:46:33 +02:00
2a83f4f541 chore(deps): update dependency alpine_3_20/openldap to v2.6.8-r0 (#7)
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
Reviewed-on: #7
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2024-10-26 19:34:24 +00:00
2734497185
fix: cleanup dockerfile and always install latest package version
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
2024-10-26 21:29:50 +02:00
fb98cc0f47
ci: replace deprecated workflow syntax
Some checks failed
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline failed
ci/woodpecker/push/docs unknown status
2024-10-26 20:55:59 +02:00
f67391f377 chore(docker): update docker.io/alpine:3.20 docker digest to beefdbd (#5)
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
2024-09-07 02:36:35 +02:00
797f1643aa
ci: fix notification step
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful
ci/woodpecker/tag/build-container Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/tag/notify Pipeline was successful
2024-08-12 09:41:20 +02:00
a8badbec38 chore(docker): update docker.io/alpine:3.20 docker digest to 0a4eaa0 (#4)
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
2024-07-23 02:38:39 +02:00
f7774eb4e0 Merge pull request 'chore(deps): update quay.io/thegeeklab/wp-docker-buildx docker tag to v5' (#3) from renovate/quay.io-thegeeklab-wp-docker-buildx-5.x into main
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
Reviewed-on: #3
2024-07-08 21:32:13 +02:00
0a0c6deedd chore(deps): update quay.io/thegeeklab/wp-docker-buildx docker tag to v5
All checks were successful
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/build-container Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
2024-07-08 10:05:33 +00:00
38cf952378
fix: fix syntax of multiple listeners
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/tag/build-container Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/tag/notify Pipeline was successful
2024-07-07 11:57:26 +02:00
4 changed files with 32 additions and 35 deletions

View File

@ -7,14 +7,15 @@ when:
steps: steps:
- name: security-build - name: security-build
image: quay.io/thegeeklab/wp-docker-buildx:4 image: quay.io/thegeeklab/wp-docker-buildx:5
settings: settings:
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch
output: type=oci,dest=oci/${CI_REPO_NAME},tar=false output: type=oci,dest=oci/${CI_REPO_NAME},tar=false
repo: thegeeklab/${CI_REPO_NAME} repo: thegeeklab/${CI_REPO_NAME}
- name: security-scan - name: security-scan
image: ghcr.io/aquasecurity/trivy image: docker.io/aquasec/trivy
depends_on: security-build
commands: commands:
- trivy -v - trivy -v
- trivy image --input oci/${CI_REPO_NAME} - trivy image --input oci/${CI_REPO_NAME}
@ -24,10 +25,11 @@ steps:
TRIVY_NO_PROGRESS: "true" TRIVY_NO_PROGRESS: "true"
TRIVY_SEVERITY: HIGH,CRITICAL TRIVY_SEVERITY: HIGH,CRITICAL
TRIVY_TIMEOUT: 1m TRIVY_TIMEOUT: 1m
TRIVY_DB_REPOSITORY: docker.io/aquasec/trivy-db:2
- name: publish-dockerhub - name: publish-dockerhub
image: quay.io/thegeeklab/wp-docker-buildx:4 image: quay.io/thegeeklab/wp-docker-buildx:5
group: container depends_on: security-scan
settings: settings:
auto_tag: true auto_tag: true
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch
@ -47,8 +49,8 @@ steps:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
- name: publish-quay - name: publish-quay
image: quay.io/thegeeklab/wp-docker-buildx:4 image: quay.io/thegeeklab/wp-docker-buildx:5
group: container depends_on: security-scan
settings: settings:
auto_tag: true auto_tag: true
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch

View File

@ -8,13 +8,11 @@ when:
steps: steps:
- name: markdownlint - name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli image: quay.io/thegeeklab/markdownlint-cli
group: test
commands: commands:
- markdownlint 'README.md' - markdownlint 'README.md'
- name: spellcheck - name: spellcheck
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
group: test
commands: commands:
- spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls - spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment: environment:
@ -22,18 +20,17 @@ steps:
- name: link-validation - name: link-validation
image: docker.io/lycheeverse/lychee image: docker.io/lycheeverse/lychee
group: test
commands: commands:
- lychee --no-progress --format detailed README.md - lychee --no-progress --format detailed README.md
- name: pushrm-dockerhub - name: pushrm-dockerhub
image: docker.io/chko/docker-pushrm:1 image: docker.io/chko/docker-pushrm:1
secrets: depends_on: [markdownlint, spellcheck, link-validation]
- source: docker_password
target: DOCKER_PASS
- source: docker_username
target: DOCKER_USER
environment: environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
PUSHRM_FILE: README.md PUSHRM_FILE: README.md
PUSHRM_SHORT: OpenLDAP server PUSHRM_SHORT: OpenLDAP server
PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME} PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME}
@ -45,10 +42,10 @@ steps:
- name: pushrm-quay - name: pushrm-quay
image: docker.io/chko/docker-pushrm:1 image: docker.io/chko/docker-pushrm:1
secrets: depends_on: [markdownlint, spellcheck, link-validation]
- source: quay_token
target: APIKEY__QUAY_IO
environment: environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME} PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME}
when: when:

View File

@ -13,12 +13,12 @@ steps:
settings: settings:
homeserver: homeserver:
from_secret: matrix_homeserver from_secret: matrix_homeserver
password: room_id:
from_secret: matrix_password from_secret: matrix_room_id
roomid: user_id:
from_secret: matrix_roomid from_secret: matrix_user_id
username: access_token:
from_secret: matrix_username from_secret: matrix_access_token
when: when:
- status: [success, failure] - status: [success, failure]

View File

@ -1,4 +1,4 @@
FROM docker.io/alpine:3.20@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0 FROM docker.io/alpine:3.20@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>" LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -11,20 +11,18 @@ ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
ARG TARGETVARIANT ARG TARGETVARIANT
ARG CONTAINER_LIBRARY
# renovate: datasource=repology depName=alpine_3_20/openldap versioning=loose # renovate: datasource=repology depName=alpine_3_20/openldap versioning=loose
ENV OPENLDAP_VERSION=2.6.7-r0 ENV OPENLDAP_VERSION=2.6.8-r0
RUN addgroup -g 1001 -S ldap && \ RUN addgroup -g 1001 -S ldap && \
adduser -S -D -H -u 1001 -h /var/www -s /usr/lib/openldap -G ldap -g ldap ldap && \ adduser -S -D -H -u 1001 -h /openldap -G ldap -g ldap ldap && \
apk --update add --virtual .build-deps curl && \ apk --update add --virtual .build-deps curl && \
apk --update --no-cache add openldap=${OPENLDAP_VERSION} \ apk --update --no-cache add openldap \
openldap-back-ldap=${OPENLDAP_VERSION} \ openldap-back-ldap \
openldap-back-mdb=${OPENLDAP_VERSION} \ openldap-back-mdb \
openldap-overlay-rwm=${OPENLDAP_VERSION} \ openldap-overlay-rwm \
openldap-overlay-memberof=${OPENLDAP_VERSION} \ openldap-overlay-memberof \
openldap-clients=${OPENLDAP_VERSION} && \ openldap-clients && \
mkdir -p /openldap/conf /openldap/data && \ mkdir -p /openldap/conf /openldap/data && \
cp /etc/openldap/slapd.conf /openldap/conf/slapd.conf && \ cp /etc/openldap/slapd.conf /openldap/conf/slapd.conf && \
chown -R ldap:ldap /openldap && \ chown -R ldap:ldap /openldap && \
@ -41,4 +39,4 @@ USER 1001
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
WORKDIR /openldap WORKDIR /openldap
CMD ["/usr/sbin/slapd", "-d", "stats", "-u", "ldap", "-g", "ldap", "-f", "/openldap/conf/slapd.conf", "-h", "ldaps://", "ldap://"] CMD ["/usr/sbin/slapd", "-d", "stats", "-u", "ldap", "-g", "ldap", "-f", "/openldap/conf/slapd.conf", "-h", "ldaps:// ldap://"]