From e386810b4a879b0fd2e240e5cdc9426abd041687 Mon Sep 17 00:00:00 2001 From: August Date: Thu, 16 Oct 2025 17:32:55 -0400 Subject: [PATCH] Toolchain file, dockerfile --- Dockerfile | 14 ++++++++++++++ rust-toolchain.toml | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..56abc25 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Copyright (c) 2025 shibedrill +# SPDX-License-Identifier: MIT + +FROM archlinux:latest + +WORKDIR /gila +COPY . /gila + +RUN pacman -Syu --noconfirm +RUN pacman -S rustup limine xorriso qemu-system-x86 base-devel --noconfirm +RUN rustup toolchain install +RUN cargo install cargo-make + +CMD ["cargo", "make", "run"] \ No newline at end of file diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 271800c..dcc7a1c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "nightly" \ No newline at end of file +channel = "nightly" +targets = ["x86_64-unknown-none"] \ No newline at end of file