File tree Expand file tree Collapse file tree 5 files changed +90
-0
lines changed
{{ cookiecutter.__project_slug }}/.devcontainer Expand file tree Collapse file tree 5 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 1+ # Ignore any custom folders outside of our predefined ones, to let you create your own
2+ # One use might be using your own container mapping the install path onto your actual game folder
3+ * /
4+ ! clang-cross
5+ ! llvm-mingw
6+ ! mingw
Original file line number Diff line number Diff line change 1+ FROM alpine:latest AS clang-cross
2+ CMD ["/bin/bash" ]
3+ RUN <<EOF
4+ apk add --no-cache \
5+ bash \
6+ clang \
7+ clang-extra-tools \
8+ cmake \
9+ git \
10+ lld \
11+ llvm \
12+ msitools \
13+ ninja \
14+ perl \
15+ python3 \
16+ py3-requests
17+ git clone https://github.com/mstorsjo/msvc-wine.git
18+ msvc-wine/vsdownload.py \
19+ --accept-license \
20+ --dest /win-sdk \
21+ Microsoft.VisualStudio.Workload.VCTools \
22+ --arch x86 x64
23+ msvc-wine/install.sh /win-sdk
24+ rm -r msvc-wine
25+ EOF
26+
27+ # llvm-mingw comes with pre-built ubuntu binaries, so using that
28+ FROM ubuntu:latest AS llvm-mingw
29+ CMD ["/bin/bash" ]
30+ RUN <<EOF
31+ apt-get update
32+ DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
33+ apt-get install -y \
34+ cmake \
35+ git \
36+ msitools \
37+ ninja-build \
38+ python-is-python3 \
39+ python3 \
40+ python3-requests \
41+ wget \
42+ xz-utils
43+ wget -nv https://github.com/mstorsjo/llvm-mingw/releases/download/20250114/llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
44+ tar -xf llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
45+ rm llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
46+ mv llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64 /llvm-mingw
47+ EOF
48+ ENV PATH="/llvm-mingw/bin:$PATH"
49+
50+ FROM alpine:latest AS mingw
51+ CMD ["/bin/bash" ]
52+ RUN <<EOF
53+ apk add --no-cache \
54+ bash \
55+ cmake \
56+ git \
57+ i686-mingw-w64-gcc \
58+ mingw-w64-gcc \
59+ msitools \
60+ ninja \
61+ py3-requests \
62+ python3
63+ EOF
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " clang-cross" ,
3+ "build" : {
4+ "dockerfile" : " ../Dockerfile" ,
5+ "target" : " clang-cross"
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " llvm-mingw" ,
3+ "build" : {
4+ "dockerfile" : " ../Dockerfile" ,
5+ "target" : " llvm-mingw"
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " mingw" ,
3+ "build" : {
4+ "dockerfile" : " ../Dockerfile" ,
5+ "target" : " mingw"
6+ }
7+ }
You can’t perform that action at this time.
0 commit comments