I hereby claim:
- I am gotimer on github.
- I am genegotimer (https://keybase.io/genegotimer) on keybase.
- I have a public key whose fingerprint is 4330 2F2E 58F1 B6D3 7872 5B14 B6C3 B41F 5433 8B9D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* | |
* - Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* |
package com.coveros.benchmark; | |
import java.math.BigInteger; | |
import java.util.Date; | |
public class Prime { | |
private static final int certainty = 100; | |
public static void main(final String[] args) { |
# set the commiter name and email (which will match the GPG key) | |
git config --global user.name "Gene Gotimer" | |
git config --global user.email otherdevopsgene@portinfo.com | |
# only push the branch you are on, and only if the name on the remote is the same | |
git config --global push.default simple | |
# delete local copies of deleted remote branches | |
git config --global fetch.prune true |
FROM ubuntu:latest | |
RUN apt-get update && apt-get install -y fortune | |
CMD /usr/games/fortune |
FROM ubuntu:latest | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
default-jdk-headless maven git \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN git clone https://github.com/OtherDevOpsGene/helloworld.git | |
WORKDIR helloworld | |
RUN mvn clean package | |
CMD ["java", "-cp", "/helloworld/target/helloworld-1.1.jar", \ | |
"com.coveros.demo.helloworld.HelloWorld"] |
FROM ubuntu:latest | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
default-jdk-headless maven git \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN git clone https://github.com/OtherDevOpsGene/helloworld.git | |
WORKDIR helloworld | |
RUN mvn clean package | |
CMD ["java", "-cp", "/helloworld/target/helloworld-1.1.jar", \ | |
"com.coveros.demo.helloworld.HelloWorld"] |
FROM ubuntu:latest AS development | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
default-jdk-headless maven git \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN git clone https://github.com/OtherDevOpsGene/helloworld.git | |
WORKDIR helloworld | |
RUN mvn clean package | |
FROM openjdk:alpine AS runtime | |
COPY --from=development /helloworld/target/helloworld-1.1.jar / |
docker run -it --rm --name maven \ | |
-v "$(pwd)":/usr/src/maven \ | |
-v "$HOME/.m2":/root/.m2 \ | |
--workdir /usr/src/maven \ | |
--network selenium_default \ | |
maven:3.6.3-jdk-13 \ | |
mvn clean test -DtestUrl=http://44.55.66.77 |
#! /bin/bash | |
# To set up an Ubuntu system as we used in the Docker tutorial, | |
# copy this script the the target system and run it as root: | |
# sudo bash ./docker-workshop.sh | |
# If you want to allow username/password log in, you may need to edit /etc/ssh/sshd_config | |
# Change | |
# PasswordAuthentication no | |
# to |