Jenkins + Docker + AWS EC2

jenkins docker
FROM openjdk:11-jre-slim-buster
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
sudo usermod -a -G docker ec2-user
# re login
docker build -t kenu/sb-kenu .
docker stop `docker ps -q`
docker rmi -f kenu/sb-kenu
docker run -d -p 8080:8080 kenu/sb-kenu
What Else?