Removed now unneeded docker config

This commit is contained in:
nocturn9x 2021-12-05 20:10:39 +01:00
parent c97c6678c2
commit a9cb133b71
3 changed files with 4 additions and 21 deletions

View File

@ -1,4 +0,0 @@
.git
nimd
src/main
artix.iso

4
.gitignore vendored
View File

@ -5,4 +5,8 @@ main
*.iso
nimd
main
boot.sh
rootfs
packervm
test

View File

@ -1,17 +0,0 @@
FROM nimlang/nim AS builder
COPY . /code
WORKDIR /code
# Removes any already existing binary so that when compilation fails the container stops
RUN rm -f /code/nimd
RUN rm -f /code/main
RUN nimble install syscall glob shlex -y
RUN nim -d:release --opt:size --passL:"-static" --gc:orc -d:useMalloc c -o:nimd src/main
RUN cp /code/nimd /sbin/nimd
FROM alpine:latest
COPY --from=builder /code/nimd /sbin/nimd
# ENTRYPOINT ["/bin/sh", "-l"]
ENTRYPOINT [ "/sbin/nimd", "--extra"]