diggsweden / DCAT-AP-SE-Processor

GNU General Public License v3.0
9 stars 8 forks source link

can we use fully wualified FQIN in dockerfile? #31

Closed jave closed 3 months ago

jave commented 3 months ago

Contact Details

No response

What happened?

not by definition a bug, but a build improvement:

1 file changed, 1 insertion(+), 1 deletion(-) Dockerfile | 2 +-

modified Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:17-jdk-slim AS build +FROM docker.io/library/openjdk:17-jdk-slim AS build

RUN mkdir /build COPY pom.xml /build/

If we dont have FQIN podman builds will be flaky.

This is by design, since podman rightly considers non-qualified image names as potential attack vectors.

Steps To Reproduce

podman build .

What did you expect?

for podman to build witouth requesting image clarification

Version

No response

Optional Screenshots

No response

Relevant log output

No response

ayeshabhatti78 commented 3 months ago

Fixed.

jave commented 3 months ago

tnx