File tree Expand file tree Collapse file tree 5 files changed +11
-35
lines changed
Expand file tree Collapse file tree 5 files changed +11
-35
lines changed Original file line number Diff line number Diff line change 1- FROM sonatype/nexus3:3.77 .2
1+ FROM sonatype/nexus3:3.78 .2
22
33USER root
44
@@ -7,10 +7,4 @@ RUN microdnf install -y net-tools && \
77 echo "nexus.onboarding.enabled=false" >> /opt/sonatype/nexus/etc/nexus-default.properties && \
88 echo "nexus.security.randompassword=true" >> /opt/sonatype/nexus/etc/nexus-default.properties
99
10- RUN mkdir -p /opt/nexus-casc/
11- ENV NEXUS_CASC_CONFIG=/opt/nexus-casc/nexus-casc-config.yml
12- COPY ./default-nexus.yml /opt/nexus-casc/nexus-casc-config.yml
13-
14- COPY ./nexus-casc-plugin-3.64.0-04-bundle.kar /opt/sonatype/nexus/deploy/
15-
1610USER nexus
Original file line number Diff line number Diff line change 11### Image nexus
22
33#### Description
4- Installed nexus plugin(nexus-casc-plugin) and net-tools package
4+ Installed net-tools package and additional nexus settings
55
66#### Used nexus image
77https://hub.docker.com/r/sonatype/nexus3/
88
9- #### Added nexus plugin
10- https://github.com/AdaptiveConsulting/nexus-casc-plugin
11-
12- #### Docker login
9+ #### Manual build and push
10+ ### Docker login
1311- ` docker login `
1412
15- #### Build image
16- - ` docker build -t byndyusoft/nexus3:3.77 .2 . `
13+ ### Build image
14+ - ` docker build -t byndyusoft/nexus3:3.78 .2 . `
1715
18- #### Run image
19- - ` docker run --rm byndyusoft/nexus3:3.77 .2 `
16+ ### Run image
17+ - ` docker run --rm byndyusoft/nexus3:3.78 .2 `
2018
21- #### Push image
22- - ` docker push byndyusoft/nexus3:3.77 .2 `
19+ ### Push image
20+ - ` docker push byndyusoft/nexus3:3.78 .2 `
2321
24- #### Docker logout
22+ ### Docker logout
2523- ` docker logout `
26-
27- ### Setting "IntelliJ IDEA" for build nexus plugin
28- ![ ] ( docs/setting_build.png )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments