-
Get the container id of the pod.
$ kubectl get po <pod-id> -o=jsonpath='{.status.containerStatuses[0].containerID}{"\n"}' | awk '{print substr($0, 10, 12);}'
NoteIn my case there is only one container, if there are mulitple container, you can use selectors.
This file contains 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
# reference https://stackoverflow.com/questions/53669151/java-11-application-as-lightweight-docker-image | |
FROM alpine:latest as builder | |
RUN apk --no-cache add openjdk11-jdk openjdk11-jmods | |
ENV JAVA_MINIMAL="/opt/java-minimal" | |
# build minimal JRE | |
RUN /usr/lib/jvm/java-11-openjdk/bin/jlink \ |
This file contains 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
{ | |
"recommendations": [ | |
"42Crunch.vscode-openapi", | |
"Angular.ng-template", | |
"asciidoctor.asciidoctor-vscode", | |
"BazelBuild.vscode-bazel", | |
"christian-kohler.path-intellisense", | |
"cyrilletuzi.angular-schematics", | |
"dbaeumer.vscode-eslint", | |
"eamodio.gitlens", |