v/Dockerfile.cross

11 lines
258 B
Docker
Raw Normal View History

FROM mstorsjo/llvm-mingw
LABEL maintainer="Vitaly Takmazov <vitalyster@gmail.com>"
COPY . .
RUN make
2020-02-09 10:08:04 +01:00
RUN ./v -os windows -o v.c cmd/v
2021-09-28 09:28:04 +02:00
RUN x86_64-w64-mingw32-gcc v.c -std=c99 -I ./thirdparty/stdatomic/win -w -municode -o v.exe
RUN file v.exe
CMD [ "bash" ]