@@ -5,7 +5,6 @@ ARG VERSION="1.2.6.5"
5
5
ARG DIST_URL="https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/${VERSION}.tar.gz"
6
6
ARG BUILD_DATE
7
7
ARG VCS_REF
8
- ARG RUST_PYTHON_VERSION
9
8
10
9
# Set user and group
11
10
ARG user=deploy
@@ -14,44 +13,8 @@ ARG group=deploy
14
13
ENV CONTAINER_SERVICE_DIR="/container/service"
15
14
ENV FIRST_START_DONE="/container/first-start-done"
16
15
17
- COPY --from=dclong/rustpython:alpine /usr/local/bin/rustpython /usr/local/bin/rustpython
18
-
19
- COPY <<-EOT /usr/local/share/sbom/rustpython.spdx.json
20
- {
21
- "spdxVersion" : "SPDX-2.3" ,
22
- "dataLicense" : "CC0-1.0" ,
23
- "SPDXID" : "SPDXRef-DOCUMENT" ,
24
- "name" : "docker-rustpython" ,
25
- "packages" : [
26
- {
27
- "name" : "rustpython" ,
28
- "SPDXID" : "SPDXRef-Package-binary-rustpython-${RUST_PYTHON_VERSION}" ,
29
- "versionInfo" : "${RUST_PYTHON_VERSION}" ,
30
- "downloadLocation" : "https://hub.docker.com/r/dclong/rustpython" ,
31
- "sourceInfo" : "copied from dclong/rustpython:alpine Docker image, source at: https://github.com/RustPython/RustPython" ,
32
- "licenseConcluded" : "MIT" ,
33
- "licenseDeclared" : "MIT" ,
34
- "copyrightText" : "NOASSERTION" ,
35
- "description" : "rustpython"
36
- }
37
- ],
38
- "files" : [
39
- {
40
- "SPDXID" : "SPDXRef-rustpython-${RUST_PYTHON_VERSION}" ,
41
- "licenseConcluded" : "MIT" ,
42
- "fileName" : "/usr/local/bin/rustpython" ,
43
- "fileType" : "BINARY"
44
- }
45
- ],
46
- "relationships" : [
47
- {
48
- "spdxElementId" : "SPDXRef-Package-binary-rustpython-${RUST_PYTHON_VERSION}" ,
49
- "relationshipType" : "CONTAINS" ,
50
- "relatedSpdxElement" : "SPDXRef-rustpython-${RUST_PYTHON_VERSION}"
51
- }
52
- ]
53
- }
54
- EOT
16
+ COPY --from=botsudo/docker-rustpython:latest /usr/local/bin/rustpython /usr/local/bin/rustpython
17
+ COPY --from=botsudo/docker-rustpython:latest /usr/local/share/sbom/rustpython.spdx.json /usr/local/share/sbom/rustpython.spdx.json
55
18
56
19
RUN apk add --no-cache --update nginx curl bash musl \
57
20
openssl libgcc \
@@ -150,6 +113,7 @@ LABEL org.label-schema.vendor="Sudo-Bot" \
150
113
com.docker.extension.publisher-url="https://github.com/sudo-bot" \
151
114
\
152
115
org.opencontainers.image.title="Docker phpLDAPadmin server" \
116
+ org.opencontainers.image.description="A phpLDAPadmin image" \
153
117
org.opencontainers.image.authors="williamdes@wdes.fr" \
154
118
org.opencontainers.image.url="https://github.com/sudo-bot/docker-phpldapadmin#readme" \
155
119
org.opencontainers.image.documentation="https://github.com/sudo-bot/docker-phpldapadmin#readme" \
0 commit comments