This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"git.sr.ht/~hokiegeek/htmlscrape" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maven:3-jdk-8 AS helmkar | |
ADD https://github.com/sonatype-nexus-community/nexus-repository-helm/archive/master.zip nexus-repository-helm.zip | |
RUN unzip nexus-repository-helm.zip && cd nexus-repository-helm-master && mvn -PbuildKar clean install | |
FROM sonatype/nexus3 | |
COPY --from=helmkar nexus-repository-helm-master/target/*.kar $NEXUS_HOME/deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
nexusiq "github.com/sonatype-nexus-community/gonexus/iq" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo curl -L "https://github.com/overhangio/tutor/releases/download/v3.9.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor && \ | |
sudo chmod 0755 /usr/local/bin/tutor && \ | |
tutor local quickstart && \ | |
sudo yum -y install mariadb-devel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo yum install -y docker && sudo usermod -a -G docker ec2-user && sudo systemctl enable docker && sudo systemctl restart docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/sonatype-nexus-community/gonexus/rm" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="nexus-lifecycle-cli" | |
location="/path/to/nexus-iq-cli.jar"/> | |
<target name="lifecycle_evaluation"> | |
<exec executable="${nexus-lifecycle-cli}"> | |
<arg value="-s"/> | |
<arg value="http://IQSERVER_HOST:IQSERVER_PORT"/> | |
<arg value="-a"/> | |
<arg value="USERNAME:PASSWORD"/> | |
<arg value="-t"/> | |
<arg value="STAGE"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG IQ_VERSION=1.71.0-01 | |
FROM openjdk:8u212-jdk-windowsservercore | |
RUN mkdir -p C:\\scan | |
VOLUME C:\\scan | |
ADD https://download.sonatype.com/clm/scanner/nexus-iq-cli-${IQ_VERSION}.jar C:\\app\\nexus-iq-cli.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:bionic | |
RUN echo 'deb http://admin:admin123@localhost:8081/repository/ubuntu-updates bionic-updates main' > /etc/apt/sources.list && \ | |
echo 'deb http://admin:admin123@localhost:8081/repository/ubuntu bionic main' >> /etc/apt/sources.list | |
RUN apt-get update && apt-get -y dist-upgrade |
NewerOlder