-
Notifications
You must be signed in to change notification settings - Fork 107
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
[STK-114] Add bootstrap.sh and update dockerfile #7
Conversation
Dockerfile
Outdated
@@ -4,11 +4,10 @@ LABEL author="stakater" | |||
ARG SRC_DIR="ingress-monitor-controller" | |||
ENV SRC_DIR=${SRC_DIR} | |||
|
|||
ADD bootstrap.sh /bootstrap.sh | |||
|
|||
RUN chmod +x /bootstrap.sh |
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.
No need to run this here, run this locally on the script so the file is committed with executable permissions
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.
done
@@ -0,0 +1,13 @@ | |||
#!/usr/bin/env sh | |||
|
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.
Add "echos" just to tell what's happening so the logs are understandable
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.
done
This PR updates the dockerfile and adds a bootstrap.sh file which is executed upon container creation