aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/Dockerfile.cross
blob: 22a0ff0ce160ee94ceaeaa085f7f53d128e5dff8 (plain)
1
2
3
4
5
6
7
8
9
10
FROM mstorsjo/llvm-mingw

LABEL maintainer="Vitaly Takmazov <vitalyster@gmail.com>"
COPY . .
RUN make
RUN ./v -os windows -o v.c cmd/v
RUN x86_64-w64-mingw32-gcc v.c -std=c99 -w -municode -o v.exe
RUN file v.exe

CMD [ "bash" ]