Skip to content

Commit

Permalink
Docker changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetoil committed Mar 13, 2024
1 parent 1af4005 commit d36e4f3
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
.godot
.idea
.vscode
.build
.swiftpm
Godot_v4.2.1-stable_linux.x86_64.zip
Godot_v4.2.1-stable_linux.x86_64
Godot_v4.2.1-stable_export_templates.tpz
Godot/addons/game_swift/debug
Godot/addons/game_swift/release
Godot/addons/godotopenxrvendors/khronos/.bin
Godot/addons/godotopenxrvendors/lynx/.bin
Godot/addons/godotopenxrvendors/meta/.bin
Godot/addons/godotopenxrvendors/pico/.bin
Godot/.godot
Godot/addons
Godot/bin
Godot/templates
10 changes: 10 additions & 0 deletions Docker/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
../.build
.github
.vscode
.idea
.swiftpm
Godot
Sources
Tests
Package.resolved
Package.swift
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions Docker/game-install-linux-x86_64.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM swift:5.10-jammy

RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*

COPY .. ~/Game
WORKDIR ~/Game

RUN ./install-linux-x86_64.sh
1 change: 1 addition & 0 deletions install-linux-x86_64.sh → Docker/install-linux-x86_64.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
# Run this on x86_64 Linux

git clone https://github.com/Codetoil/Game.git .
wget https://github.com/godotengine/godot/releases/download/4.2.1-stable/Godot_v4.2.1-stable_linux.x86_64.zip
unzip Godot_v4.2.1-stable_linux.x86_64.zip
wget https://github.com/godotengine/godot/releases/download/4.2.1-stable/Godot_v4.2.1-stable_export_templates.tpz
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed Godot_v4.2.1-stable_linux.x86_64.zip.1
Binary file not shown.

0 comments on commit d36e4f3

Please sign in to comment.