diff --git a/immich/sol-auth-deployment.yml b/immich/sol-auth-deployment.yml index 6f3783f..be9d264 100644 --- a/immich/sol-auth-deployment.yml +++ b/immich/sol-auth-deployment.yml @@ -17,7 +17,7 @@ spec: # runAsGroup: 1000 # fsGroup: 1000 containers: - - image: hebury/sol-auth:2.2 + - image: hebury/sol-auth:2.3 name: sol-auth resources: requests: diff --git a/immich/sol-auth/Dockerfile b/immich/sol-auth/Dockerfile new file mode 100644 index 0000000..2e94e9d --- /dev/null +++ b/immich/sol-auth/Dockerfile @@ -0,0 +1,13 @@ +FROM httpd:2.4-bullseye +RUN apt-get update && \ + apt-get install --no-install-recommends -y \ + ca-certificates libapache2-mod-auth-openid +RUN touch /tmp/mod_auth_openid.db && chown www-data /tmp/mod_auth_openid.db +RUN mkdir /config +RUN touch /config/httpd.conf +RUN rm /usr/local/apache2/conf/httpd.conf +RUN ln -s /config/httpd.conf /usr/local/apache2/conf/httpd.conf + +# how to build: docker build . -t hebury/sol-auth:2.3 +# how to push: docker push hebury/sol-auth:2.3 +# do not remember how to build for arm atm. \ No newline at end of file