Skip to content

Instantly share code, notes, and snippets.

@beercan1989
beercan1989 / Dockerfile
Created August 30, 2023 16:21
Rocky Linux with Java and a custom TLS certificate
FROM rockylinux:9
# Install the JRE and JDK
RUN dnf -y update && \
dnf -y install java-17-openjdk java-17-openjdk-devel
# Create an example certificate to trust
RUN openssl req -nodes -new -x509 -keyout test.baconi.co.uk.key -out test.baconi.co.uk.crt -subj '/C=GB/L=Sheffield/O=Baconi/CN=test.baconi.co.uk' && \
cp -av test.baconi.co.uk.crt /etc/pki/ca-trust/source/anchors/test.baconi.co.uk.crt
@beercan1989
beercan1989 / README.md
Last active October 3, 2023 14:03
Retry, Continue or Abort (Jenkins Pipeline) with Colour Support

Create test Jenkins

docker run -it --rm --name jenkins -p '8080:8080' jenkins:alpine

Install

  • Login as Admin
  • Accept the standard plugins
  • Continue as Admin
  • Install AnsiColor plugin