diff options
| author | 2025-07-22 21:20:42 -0500 | |
|---|---|---|
| committer | 2025-07-22 21:20:42 -0500 | |
| commit | 8e69247666fffb7db4b4b0a610a2461d635b0065 (patch) | |
| tree | d7ea016aafe26db23dfd7c663b688484a544965b /Dockerfile | |
| parent | update the Jenkinsfile to explicitly tell the docker build command which file... (diff) | |
This file defines the environment for the lush application: Attempt4
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d281f46 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +# Use a base image with build tools
+FROM ubuntu:22.04
+
+# Avoid interactive prompts during package installation
+ENV DEBIAN_FRONTEND=noninteractive
+
+# Install necessary build tools for your C project
+RUN apt-get update && apt-get install -y \
+ build-essential \
+ wget \
+ unzip \
+ && rm -rf /var/lib/apt/lists/*
+
+# Download and install Premake5
+RUN wget https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz -O premake.tar.gz && \
+ tar -xvf premake.tar.gz && \
+ mv premake5 /usr/local/bin/
+
+# Set the working directory inside the container
+WORKDIR /app
+
+# Copy your project's source code into the container
+COPY . .
+
+# Generate the makefiles. This will be the default action if no other command is given.
+CMD ["premake5", "gmake2"]
|
