You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-12-10 00:41:17 +03:00
Revert "Added inline SBOM for binaries downloaded outside package manager"
This reverts commit 6f4ae83640.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
.jq-template.awk
|
.jq-template.awk
|
||||||
template-helper-functions.jq
|
|
||||||
|
|||||||
4
12/alpine3.18/Dockerfile
generated
4
12/alpine3.18/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -152,8 +151,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"12.17","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@12.17?os_name=alpine&os_version=3.18"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
12/alpine3.19/Dockerfile
generated
4
12/alpine3.19/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -152,8 +151,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"12.17","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@12.17?os_name=alpine&os_version=3.19"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
13/alpine3.18/Dockerfile
generated
4
13/alpine3.18/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -152,8 +151,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"13.13","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@13.13?os_name=alpine&os_version=3.18"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
13/alpine3.19/Dockerfile
generated
4
13/alpine3.19/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -152,8 +151,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"13.13","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@13.13?os_name=alpine&os_version=3.19"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
14/alpine3.18/Dockerfile
generated
4
14/alpine3.18/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -155,8 +154,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"14.10","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@14.10?os_name=alpine&os_version=3.18"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
14/alpine3.19/Dockerfile
generated
4
14/alpine3.19/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -155,8 +154,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"14.10","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@14.10?os_name=alpine&os_version=3.19"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
15/alpine3.18/Dockerfile
generated
4
15/alpine3.18/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -158,8 +157,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"15.5","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@15.5?os_name=alpine&os_version=3.18"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
15/alpine3.19/Dockerfile
generated
4
15/alpine3.19/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -158,8 +157,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"15.5","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@15.5?os_name=alpine&os_version=3.19"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
16/alpine3.18/Dockerfile
generated
4
16/alpine3.18/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -157,8 +156,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"16.1","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@16.1?os_name=alpine&os_version=3.18"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
4
16/alpine3.19/Dockerfile
generated
4
16/alpine3.19/Dockerfile
generated
@@ -4,7 +4,6 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -157,8 +156,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"postgres-sbom","packages":[{"name":"postgres","versionInfo":"16.1","SPDXID":"SPDXRef-Package--postgres","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/postgres@16.1?os_name=alpine&os_version=3.19"}],"licenseDeclared":"PostgreSQL"}]}' > /usr/local/postgres.spdx.json \
|
\
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
{{ include "template-helper-functions" }}
|
|
||||||
FROM alpine:{{ env.variant | ltrimstr("alpine") }}
|
FROM alpine:{{ env.variant | ltrimstr("alpine") }}
|
||||||
|
|
||||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||||
@@ -165,20 +164,7 @@ RUN set -eux; \
|
|||||||
/usr/local/share/doc \
|
/usr/local/share/doc \
|
||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
echo '{{
|
\
|
||||||
{
|
|
||||||
name: "postgres",
|
|
||||||
version: .version,
|
|
||||||
params: {
|
|
||||||
os_name: "alpine",
|
|
||||||
os_version: env.variant | ltrimstr("alpine"),
|
|
||||||
},
|
|
||||||
licenses: [
|
|
||||||
"PostgreSQL"
|
|
||||||
]
|
|
||||||
} | sbom | tostring
|
|
||||||
}}' > /usr/local/postgres.spdx.json \
|
|
||||||
; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -13,11 +13,6 @@ elif [ "$BASH_SOURCE" -nt "$jqt" ]; then
|
|||||||
wget -qO "$jqt" 'https://github.com/docker-library/bashbrew/raw/9f6a35772ac863a0241f147c820354e4008edf38/scripts/jq-template.awk'
|
wget -qO "$jqt" 'https://github.com/docker-library/bashbrew/raw/9f6a35772ac863a0241f147c820354e4008edf38/scripts/jq-template.awk'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
jqf='template-helper-functions.jq'
|
|
||||||
if [ "$BASH_SOURCE" -nt "$jqf" ]; then
|
|
||||||
wget -qO "$jqf" 'https://github.com/docker-library/bashbrew/raw/master/scripts/template-helper-functions.jq'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$#" -eq 0 ]; then
|
if [ "$#" -eq 0 ]; then
|
||||||
versions="$(jq -r 'keys | map(@sh) | join(" ")' versions.json)"
|
versions="$(jq -r 'keys | map(@sh) | join(" ")' versions.json)"
|
||||||
eval "set -- $versions"
|
eval "set -- $versions"
|
||||||
|
|||||||
Reference in New Issue
Block a user