Compare commits
5 Commits
fabfbc52fd
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ca6fca760d | |||
| 669260ba98 | |||
| 62e727734a | |||
| f6db68fac6 | |||
| 7531cdf59f |
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@@ -0,0 +1,5 @@
|
||||
target
|
||||
.git
|
||||
.gameplay
|
||||
*.md
|
||||
screenshot.png
|
||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "go"
|
||||
name = "yamlabyrinth"
|
||||
path = "src/bin/go.rs"
|
||||
|
||||
[lib]
|
||||
|
||||
11
Containerfile
Normal file
11
Containerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM docker.io/library/rust:1-slim AS builder
|
||||
WORKDIR /src
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY src ./src
|
||||
RUN cargo build --release --bin yamlabyrinth
|
||||
|
||||
FROM quay.io/centos/centos:stream10-minimal
|
||||
COPY --from=builder /src/target/release/yamlabyrinth /usr/local/bin/yamlabyrinth
|
||||
USER nobody
|
||||
WORKDIR /tmp
|
||||
ENTRYPOINT ["yamlabyrinth"]
|
||||
13
README.md
13
README.md
@@ -13,4 +13,15 @@ There are 11 levels in the game, so if you're on level 12, you won the game!
|
||||
|
||||
cargo run --release
|
||||
|
||||
## Dependencies
|
||||
## How to start (container):
|
||||
|
||||
docker run -it --rm quay.io/kareiva/yamlabyrinth:latest
|
||||
|
||||
## LLM Notice
|
||||
|
||||
This was a fun project to do while learning Rust syntax and pecularities. I
|
||||
have mostly used Opus 4.7 with 1M context to assist me with coding.
|
||||
|
||||
## Author
|
||||
|
||||
Simonas Kareiva <skareiva@redhat.com>, <simonas@5grupe.lt>
|
||||
|
||||
Reference in New Issue
Block a user