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

docker: remove rust toolchain #143

Merged
merged 1 commit into from
Jan 18, 2024
Merged
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
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ FROM ubuntu:23.04
WORKDIR /bpftime
RUN apt-get update && apt-get install -y --no-install-recommends \
libelf1 libelf-dev zlib1g-dev make cmake git libboost1.74-all-dev \
binutils-dev libyaml-cpp-dev gcc g++ ca-certificates clang llvm
RUN apt-get install -y --no-install-recommends curl && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
binutils-dev libyaml-cpp-dev gcc g++ ca-certificates clang llvm
COPY . .
RUN git submodule update --init --recursive
ENV CXX=g++
ENV CC=gcc
ENV PATH="${PATH}:/root/.cargo/bin"
RUN make release -j && make install -j
RUN make release
ENV PATH="${PATH}:/root/.bpftime/"
Loading