summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..5815a66
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,29 @@
+# Use the official Debian image as a base
+FROM debian:12
+
+# Install necessary packages
+RUN apt-get update && apt-get install -y \
+ build-essential \
+ devscripts \
+ git \
+ reprepro \
+ awscli \
+ && rm -rf /var/lib/apt/lists/*
+
+# Set the working directory
+WORKDIR /workspace
+
+# Copy the build scripts into the container
+COPY scripts/ /workspace/scripts/
+
+# Copy the configuration files into the container
+COPY conf/ /workspace/conf/
+
+# Copy the .env file into the container
+COPY .env /workspace/
+
+# Make the build scripts executable
+RUN chmod +x /workspace/scripts/*.sh
+
+# Define the entrypoint script
+ENTRYPOINT ["/workspace/scripts/build_packages.sh"]