File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM alpine:3.17
2
2
3
- ARG VERSION="1.2.6.4 "
3
+ ARG VERSION="1.2.6.5 "
4
4
ARG DIST_URL="https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/${VERSION}.tar.gz"
5
5
ARG BUILD_DATE
6
6
ARG VCS_REF
@@ -54,10 +54,6 @@ RUN curl -# -L -o phpldapadmin.tar.gz ${DIST_URL} && \
54
54
tar -xzf phpldapadmin.tar.gz -C /var/www/phpldapadmin --strip-components=1 && \
55
55
rm phpldapadmin.tar.gz && \
56
56
rm -vr ./doc/ ./.gitignore ./*.md && \
57
- # See: https://github.com/leenooks/phpLDAPadmin/issues/166
58
- echo "RELEASE-${VERSION}" > ./VERSION && \
59
- # See: https://github.com/leenooks/phpLDAPadmin/issues/165
60
- sed -i -e "/Check the memory limit parameter/,+6d" lib/functions.php && \
61
57
php -l lib/functions.php
62
58
63
59
# Metadata
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ checkUrl "http://${TEST_ADDR}/index.php" -I
37
37
checkUrl " http://${TEST_ADDR} /robots.txt" -I
38
38
checkUrl " http://${TEST_ADDR} /images/default/logo-small.png" -I | grep -F " Cache-Control: max-age=315360000"
39
39
40
- checkUrl " http://${TEST_ADDR} /index.php" | grep -q -F " 1.2.6.4 "
40
+ checkUrl " http://${TEST_ADDR} /index.php" | grep -q -F " 1.2.6.5 "
41
41
checkUrl " http://${TEST_ADDR} /cmd.php" " form" " cmd=login&server_id=1&nodecode%5Blogin_pass%5D=1&login=cn%3Dadmin%2Cdc%3Dexample%2Cdc%3Dorg&login_pass=ldapadminpass&submit=Authenticate" | grep -q -F " Successfully logged into server."
42
42
43
43
if [ $DID_FAIL -gt 0 ]; then
You can’t perform that action at this time.
0 commit comments