forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathDockerfile-build-env
More file actions
29 lines (21 loc) · 976 Bytes
/
Dockerfile-build-env
File metadata and controls
29 lines (21 loc) · 976 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
# A Docker image for Fil-C development and compilation.
FROM ubuntu:25.04
# Set non-interactive mode to avoid tzdata and other prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Update system package lists and upgrade installed packages
RUN apt update && apt upgrade -y
# Install essential build tools (compiler, linker, etc.)
RUN apt install -y build-essential
# Install development dependencies required for building Fil-C and related projects
RUN apt install -y \
pkg-config autotools-dev automake autoconf libtool \
clang lld cmake ninja-build ruby \
patchelf bison flex texinfo gettext
# Install basic utilities for development and version control
RUN apt install -y curl vim git
# Create the project source directory inside the container
RUN mkdir -p /opt/fil-c
# Set the working directory to the project source directory
WORKDIR /opt/fil-c
# Start an interactive Bash shell by default when the container runs
CMD /usr/bin/bash