-
Notifications
You must be signed in to change notification settings - Fork 2
Docker
saeid rezaei edited this page Apr 16, 2025
·
1 revision
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y
build-essential
cmake
git
libssl-dev
pkg-config
python3
python3-pip
wget
can-utils
iproute2
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN chmod +x fetch_and_build.sh
RUN ./fetch_and_build.sh
COPY setup_can.sh /usr/local/bin/ RUN chmod +x /usr/local/bin/setup_can.sh
ENTRYPOINT ["/usr/local/bin/setup_can.sh"] CMD ["./build/VirtualBus"]
docker-compose up --build