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

chore: golang binary move to tmp #4140

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions builder/Dockerfile.alpine-tracee-container
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ RUN apk --no-cache update && \
apk --no-cache add libelf-static && \
apk --no-cache add zlib-static && \
apk --no-cache add zstd-static && \
apk --no-cache add binutils-gold && \
rm -f /usr/bin/cc && \
rm -f /usr/bin/clang && \
rm -f /usr/bin/clang++ && \
Expand Down
4 changes: 2 additions & 2 deletions builder/Dockerfile.ubuntu-tracee-make
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ RUN export uid=$uid gid=$gid && \
RUN export DEBIAN_FRONTEND=noninteractive && \
altarch=$(uname -m | sed 's:x86_64:amd64:g' | sed 's:aarch64:arm64:g') && \
apt-get update && \
curl -L -o go${GO_VERSION}.linux-${altarch}.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-${altarch}.tar.gz && \
tar -C /usr/local -xzf go${GO_VERSION}.linux-${altarch}.tar.gz && \
curl -L -o /tmp/golang.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-${altarch}.tar.gz && \
tar -C /usr/local -xzf /tmp/golang.tar.gz && \
update-alternatives --install /usr/bin/go go /usr/local/go/bin/go 1 && \
update-alternatives --install /usr/bin/gofmt gofmt /usr/local/go/bin/gofmt 1

Expand Down
Loading