Update Dockerfile to accurately reflect filenames for releases
This commit is contained in:
@ -12,10 +12,11 @@ RUN apt-get update && \
|
||||
gettext-base \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 2) Download and install Hydra binary (v1.16.4 as example)
|
||||
RUN HYDRA_VERSION=v1.16.4 && \
|
||||
# 2) Download and install Hydra binary (v2.3.0) with the correct filename
|
||||
RUN HYDRA_VERSION=v2.3.0 && \
|
||||
HYDRA_FILENAME="hydra_${HYDRA_VERSION}-linux_64bit.tar.gz" && \
|
||||
wget -qO /tmp/hydra.tar.gz \
|
||||
https://github.com/ory/hydra/releases/download/${HYDRA_VERSION}/hydra_${HYDRA_VERSION}_linux_amd64.tar.gz && \
|
||||
https://github.com/ory/hydra/releases/download/${HYDRA_VERSION}/${HYDRA_FILENAME} && \
|
||||
mkdir -p /usr/local/bin/hydra_tmp && \
|
||||
tar -xzf /tmp/hydra.tar.gz -C /usr/local/bin/hydra_tmp && \
|
||||
mv /usr/local/bin/hydra_tmp/hydra /usr/local/bin/hydra && \
|
||||
@ -44,7 +45,7 @@ COPY templates/ /templates/
|
||||
RUN mkdir -p /var/www/lam/config
|
||||
RUN chown -R www-data:www-data /var/www/lam
|
||||
|
||||
# 8) Expose ports
|
||||
# 8) Expose ports: LDAP=389, LDAPS=636, Hydra Public=4444, Hydra Admin=4445, HTTP=80
|
||||
EXPOSE 389 636 4444 4445 80
|
||||
|
||||
# 9) At runtime, entrypoint.sh does all the envsubst + slapd reconfiguration + supervisord
|
||||
|
Reference in New Issue
Block a user