-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update alpine image | added debian image #15
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yambottle! Have a few remaining questions for this one.
apk update && \ | ||
# export functions, for download, json parsing, ssh keygen, api keygen | ||
apk add --no-cache bash curl jq openssh openssl && \ | ||
apk add --no-cache bash curl jq openssh openssl util-linux bind-tools && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see bind-tools useful for using dig
in debugging DNS. What's specifically useful for debugging from util-linux
?
@@ -2,16 +2,15 @@ FROM python:3.8-alpine3.12 as k8s_build | |||
ARG KOPS_VERSION | |||
ARG HELM_VERSION | |||
RUN \ | |||
mkdir /main && \ | |||
set -x; > /etc/inittab && mkdir /main && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set -x
can be useful to display the actual command that is running. A bit unclear on what is the purpose for removing /etc/inittab
though. 🤔
context: ../.. | ||
dockerfile: ./dist/alpine/Dockerfile | ||
args: | ||
- KOPS_VERSION | ||
- HELM_VERSION | ||
image: vathes/k8s-admin:kops${KOPS_VERSION}-helm${HELM_VERSION}-alpine | ||
command: | ||
image: registry.vathes.com/vathes/k8s-admin:kops${KOPS_VERSION}-helm${HELM_VERSION}-alpine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this image is public we published it to Docker Hub. We technically could get away with free storage on this one. 😅
echo "$$0 running..."; echo "PATH: '$$PATH'"; tail -f /dev/null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "$$0 running..."; echo "PATH: '$$PATH'"; tail -f /dev/null; | |
- | | |
echo "$$0 running..." | |
echo "PATH: '$$PATH'" | |
tail -f /dev/null |
build: | ||
# Uncomment to enable local build | ||
context: ../.. | ||
dockerfile: ./dist/alpine/Dockerfile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dockerfile: ./dist/alpine/Dockerfile | |
dockerfile: ./dist/debian/Dockerfile |
image: registry.vathes.com/vathes/k8s-admin:kops${KOPS_VERSION}-helm${HELM_VERSION}-debian | ||
command: | ||
- bash | ||
- -c | ||
- > | ||
echo "$$0 running..."; echo "PATH: '$$PATH'"; tail -f /dev/null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image: registry.vathes.com/vathes/k8s-admin:kops${KOPS_VERSION}-helm${HELM_VERSION}-debian | |
command: | |
- bash | |
- -c | |
- > | |
echo "$$0 running..."; echo "PATH: '$$PATH'"; tail -f /dev/null; | |
image: vathes/k8s-admin:kops${KOPS_VERSION}-helm${HELM_VERSION}-debian | |
command: | |
- bash | |
- -c | |
- | | |
echo "$$0 running..." | |
echo "PATH: '$$PATH'" | |
tail -f /dev/null |
No description provided.