..
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
"Bash(git add:*)"
|
"Bash(git add:*)",
|
||||||
|
"Bash(git commit:*)",
|
||||||
|
"Bash(git push:*)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
28
Dockerfile
28
Dockerfile
@@ -14,7 +14,7 @@ RUN sed -i 's/^# *ko_KR.UTF-8 UTF-8/ko_KR.UTF-8 UTF-8/' /etc/locale.gen && local
|
|||||||
|
|
||||||
# install modules
|
# install modules
|
||||||
RUN apt-get install -y dbus-x11 x11-xserver-utils xfce4 xfce4-goodies xorgxrdp xrdp tumbler \
|
RUN apt-get install -y dbus-x11 x11-xserver-utils xfce4 xfce4-goodies xorgxrdp xrdp tumbler \
|
||||||
ibus ibus-gtk3 fcitx5-hangul fcitx5-config-qt fcitx5-frontend-gtk3 fcitx5-frontend-gtk4 fcitx5-frontend-qt5 fonts-noto-cjk \
|
ibus ibus-gtk3 fcitx5-hangul fcitx5-config-qt fcitx5-frontend-gtk3 fcitx5-frontend-gtk4 fcitx5-frontend-qt5 fonts-noto-cjk iputils-ping \
|
||||||
sudo nano vim net-tools chromium git curl npm \
|
sudo nano vim net-tools chromium git curl npm \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -23,32 +23,8 @@ RUN curl -q -L -o vscode.deb https://update.code.visualstudio.com/1.103.2/linux-
|
|||||||
&& apt-get install ./vscode.deb \
|
&& apt-get install ./vscode.deb \
|
||||||
&& rm -rf ./vscode.deb /etc/apt/sources.list.d/vscode.sources
|
&& rm -rf ./vscode.deb /etc/apt/sources.list.d/vscode.sources
|
||||||
|
|
||||||
# install .NET 8 and .NET 9
|
|
||||||
RUN curl -q -L -o packages-microsoft-prod.deb https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb \
|
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
|
||||||
&& rm packages-microsoft-prod.deb \
|
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y dotnet-sdk-8.0 dotnet-sdk-9.0 \
|
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# install cursor ide
|
|
||||||
RUN curl -q -L -o cursor.deb https://downloader.cursor.sh/linux/appImage/x64 \
|
|
||||||
&& mv cursor.deb cursor.AppImage \
|
|
||||||
&& chmod +x cursor.AppImage \
|
|
||||||
&& ./cursor.AppImage --appimage-extract \
|
|
||||||
&& mv squashfs-root /opt/cursor \
|
|
||||||
&& ln -s /opt/cursor/cursor /usr/bin/cursor \
|
|
||||||
&& rm cursor.AppImage
|
|
||||||
|
|
||||||
# install claude code cli
|
# install claude code cli
|
||||||
RUN curl -q -L -o claude_cli.tar.gz https://github.com/anthropics/claude-cli/releases/latest/download/claude-cli-linux-x64.tar.gz \
|
RUN npm install -g @anthropic-ai/claude-code
|
||||||
&& tar -xzf claude_cli.tar.gz \
|
|
||||||
&& mv claude /usr/local/bin/claude \
|
|
||||||
&& chmod +x /usr/local/bin/claude \
|
|
||||||
&& rm claude_cli.tar.gz
|
|
||||||
|
|
||||||
# install gemini cli
|
|
||||||
RUN npm install -g @google/generative-ai-cli
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|||||||
18
build.sh
Normal file
18
build.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Docker 이미지 빌드 스크립트
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
IMAGE_NAME="lancard/xwindow-korean"
|
||||||
|
VERSION="latest"
|
||||||
|
|
||||||
|
echo "🐳 Building Docker image: $IMAGE_NAME:$VERSION"
|
||||||
|
|
||||||
|
# 빌드 시작
|
||||||
|
docker build -t $IMAGE_NAME:$VERSION .
|
||||||
|
|
||||||
|
echo "✅ Build completed successfully!"
|
||||||
|
echo "📋 Next steps:"
|
||||||
|
echo " - Test: docker run -p 3389:3389 $IMAGE_NAME:$VERSION"
|
||||||
|
echo " - Push: docker push $IMAGE_NAME:$VERSION"
|
||||||
|
echo " - Multi-platform: docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE_NAME:$VERSION --push ."
|
||||||
Reference in New Issue
Block a user