-
Notifications
You must be signed in to change notification settings - Fork 9
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
use docker:generic runner, and run ldconfig at the end #16
use docker:generic runner, and run ldconfig at the end #16
Conversation
# SDK_DIR is the location containing the (optional) sdk source inside the container. | ||
ENV SDK_DIR /sdk | ||
|
||
# Install brotli |
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.
Installing brotli before any other code (such as COPY . /
) that would invalidate the docker cache. We don't want to install this multiple times.
|
||
RUN mv ${PLAN_DIR}/testplan.bin /testplan | ||
|
||
RUN ldconfig |
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.
ldconfig
adds links and cache to the most recent shared libraries... not sure why the brotli libraries are not found without it, haven't really read the documentation for brotli...
push_registry=true | ||
go_proxy_mode="remote" | ||
go_proxy_url="http://localhost:8081" | ||
registry_type="aws" |
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 for the skip_runtime_image
here anymore, as we are using the docker:generic
builder, and we specify a concrete Dockerfile for our test plan.
[[groups]] | ||
id = "nodes" | ||
instances = { count = 6 } | ||
|
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've removed the dependencies
from the other composition file, since they don't compile - I guess they are outdated.
This PR is adding 2 compositions that use the
docker:generic
builder - one forlocal:docker
and one forcluster:k8s
.