-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.base
More file actions
30 lines (24 loc) · 819 Bytes
/
Copy pathDockerfile.base
File metadata and controls
30 lines (24 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Use an official Ubuntu base image
FROM ubuntu:20.04
# Set non-interactive frontend for apt to avoid prompts during install
ENV DEBIAN_FRONTEND=noninteractive
# Install g++, make, and other essential tools
RUN apt-get update && \
apt-get install -y \
build-essential \
libeigen3-dev \
g++ \
cmake \
git \
wget \
vim \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Create a working directory
WORKDIR /app/genevol
# Copy your C++ source files into the container
COPY ./script/infra/install_sources.sh /app/genevol/script/infra/install_sources.sh
# Install dependencies
RUN /app/genevol/script/infra/install_sources.sh --workdir /app
# Default command to run when starting the container
# (Modify as needed, e.g., "./myapp")
CMD ["/bin/bash"]