File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11ARG NEXUS_VERSION=3.78.1-java17-ubi
22
3- FROM maven:3.9.0 as builder
3+ FROM maven:3.9.0 AS builder
44
55# Blobstores
66# RUN mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.0.1:copy -Dartifact=org.sonatype.nexus.plugins:nexus-blobstore-google-cloud:0.20.0 -DoutputDirectory=/nexus
@@ -18,7 +18,7 @@ FROM sonatype/nexus3:$NEXUS_VERSION
1818
1919USER root
2020
21- RUN microdnf install util-linux && \
21+ RUN microdnf install -y util-linux && \
2222 microdnf clean all
2323
2424COPY entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change @@ -2,7 +2,12 @@ NEXUS_VERSION ?= 3.78.1-java17-ubi
22
33.PHONY : build
44build :
5- docker build --build-arg NEXUS_VERSION=${NEXUS_VERSION} -t dockette/nexus .
5+ docker buildx \
6+ build \
7+ --build-arg NEXUS_VERSION=${NEXUS_VERSION} \
8+ --platform linux/amd64 \
9+ -t dockette/nexus \
10+ .
611
712.PHONY : run
813run :
You can’t perform that action at this time.
0 commit comments