Skip to content
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

Utilize Docker layer cache #22

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Utilize Docker layer cache #22

merged 1 commit into from
Sep 2, 2021

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Sep 1, 2021

Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com

@@ -14,11 +14,15 @@ RUN apt-get -o Acquire::Check-Valid-Until="false" update -y && apt-get install -
ln -s /usr/bin/clang-11 /usr/bin/clang && \
ln -s /usr/bin/llc-11 /usr/bin/llc
WORKDIR /parca-agent
COPY parca-agent.bpf.c vmlinux.h Makefile go.mod go.sum /parca-agent/
COPY ./3rdparty /parca-agent/3rdparty
RUN make bpf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't remember anymore what the exact reason was there but this was the only order I could make it consistently work. I'm happy to have us open an issue for this to investigate again though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall I close this PR and open an issue? This was annoying me while running parca-agent with Tilt.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can get something to work I'm more than happy to merge, I just remember spending some time on it and getting nowhere, but that was quite a while ago so might very well be misremembering entirely.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll keep an eye on this in case it breaks anything.

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun merged commit b1508c9 into main Sep 2, 2021
@kakkoyun kakkoyun deleted the utilize_buildcache branch September 2, 2021 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants