Skip to content

Commit a5b2f3c

Browse files
committed
refactor: enforce documented LDAP deployment rather than all-in-one applicance build
1 parent 786bee7 commit a5b2f3c

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Dockerfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash -
5252
# and management.
5353
RUN apt update && apt -y install git make nodejs sudo
5454

55-
# Install the ldap-gateway package
56-
ARG LDAP_GATEWAY_BRANCH=main
57-
RUN git clone \
58-
--branch=${LDAP_GATEWAY_BRANCH} \
59-
https://github.com/mieweb/LDAPServer.git \
60-
/opt/ldap-gateway \
61-
&& cd /opt/ldap-gateway \
62-
&& npm install \
63-
&& npm run build \
64-
&& adduser --system --group --disabled-login --no-create-home --home /nonexistent ldap-gateway \
65-
&& chown -R ldap-gateway:ldap-gateway /opt/ldap-gateway \
66-
&& cp /opt/ldap-gateway/nfpm/systemd/ldap-gateway.service /etc/systemd/system/ldap-gateway.service \
67-
&& systemctl enable ldap-gateway
68-
6955
# Install the software. We include the .git directory so that the software can
7056
# update itself without replacing the entire container.
7157
COPY . /opt/opensource-server

0 commit comments

Comments
 (0)