add build/docker
This commit is contained in:
parent
ccce43a4bb
commit
0f16779e78
7
build/docker/Dockerfile
Normal file
7
build/docker/Dockerfile
Normal 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
3
build/docker/build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "`dirname "$0"`"
|
||||
podman build . --tag outfly-build-env
|
4
build/docker/start.sh
Executable file
4
build/docker/start.sh
Executable 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
|
Loading…
Reference in a new issue