first version of stacky container
Build and Push Docker Images / build-and-push (push) Successful in 4m43s

This commit is contained in:
Bram committed 2026-10-27 14:26:27 +01:00
1 parent 3dec007000
commit 68c7ae67f1
3 files changed
+401

No files matched your search

@@ -0,0 +1,54 @@
# Use an official Node.js runtime as a parent image
FROM node:22-slim
# Set the working directory
WORKDIR /workspace
# Install git, openssh-client, openssh-server, and other necessary packages
RUN apt-get update && apt-get install -y \
git \
openssh-client \
openssh-server \
screen \
iputils-ping \
software-properties-common \
sudo \
curl \
unzip \
openssl \
ca-certificates \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install additional package managers
RUN npm install -g pnpm
RUN npm install -g @kilocode/cli@7.8.18
RUN curl -fsSL https://bun.sh/install | bash
# Clone and setup linux-presets
RUN git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git --depth 1 && \
cd linux-presets && \
chmod +x setup.sh && \
./setup.sh --terminal-icon 󰎙 && \
cd .. && \
rm -rf linux-presets
# Add root to sudo group
RUN usermod -aG sudo root
RUN curl -fsSL https://claude.ai/install.sh | bash
RUN echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.config/fish/config.fish
# Create a directory for the SSH keys
RUN mkdir -p /root/.ssh
# Copy the entrypoint script into the container
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Expose ports
EXPOSE 3000 22
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]