Skip to content

Commit

Permalink
docker: remove rust toolchain (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 authored Jan 18, 2024
1 parent ac68470 commit aeeb6d6
Showing 1 changed file with 3 additions and 5 deletions.
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/"

0 comments on commit aeeb6d6

Please sign in to comment.