Compare commits

...

2 commits

Author SHA1 Message Date
yuni 0f16779e78 add build/docker 2024-09-15 00:30:10 +02:00
yuni ccce43a4bb build/pack.sh: fix shebang (the script requires bash) 2024-09-15 00:18:00 +02:00
4 changed files with 15 additions and 1 deletions

7
build/docker/Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM docker.io/ubuntu:20.04
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt update && apt install -y -q git vim build-essential alsa-source alsa-tools libasound2-dev pkg-config libwayland-dev gcc-mingw-w64 zip
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
RUN rustup target add x86_64-pc-windows-gnu
ENV PATH "$PATH:/root/.cargo/bin"

3
build/docker/build.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
cd "`dirname "$0"`"
podman build . --tag outfly-build-env

4
build/docker/start.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd "`dirname "$0"`"
mkdir -p ../../additional/docker
podman run --rm -it -v ../../additional/docker:/workdir outfly-build-env bash

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# ▄████████▄ + ███ + ▄█████████ ███ + # ▄████████▄ + ███ + ▄█████████ ███ +
# ███▀ ▀███ + + ███ ███▀ + ███ + + # ███▀ ▀███ + + ███ ███▀ + ███ + +
# ███ + ███ ███ ███ █████████ ███ ███ ███ ███ # ███ + ███ ███ ███ █████████ ███ ███ ███ ███