-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add generic platform #22
base: master
Are you sure you want to change the base?
Conversation
# This is effectively required to build and link any other language executable | ||
|
||
RUN apt-get update && apt-get install -y locales \ | ||
build-essential openssl libssl-dev ca-certificates \ |
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.
questionable actually
I'm afraid it won't work, because we restrict Internet access during build. You should split your Dockerfile into two separate images:
You can refer to a nice working example here: https://github.com/icfpcontest2020/dockerfiles/tree/master/dockerfiles/bazel |
Can we close this? |
This offers a generic platform that can be used to easily bootstrap any language or technology.
It provides both build-time extension point and run-time extension point.
It also provides a
prepare_build.sh
script in attempt to make the build faster and cache friendly.This is a followup to the discussion in #11
Tested locally: