aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-21 13:49:52 +0000
committerOmar Polo <op@omarpolo.com>2021-01-21 13:49:52 +0000
commitfb2c20c301e57e4df7093d948a3f26a9b6dd0ffd (patch)
tree682f31a6fb54529cfee7de8ffbc1fa2fb7f7bd01 /Dockerfile
parent86939cb45bd3dc4de80a21254506fdabbb6f731b (diff)
fix dockerfile
now we have also some sub-directories, COPY . . is more future-proof at this point.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index af40413..edabcb2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
FROM alpine as builder
WORKDIR /build
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison
-COPY *.c *.h lex.l parse.y Makefile ./
-RUN make gmid
+COPY . .
+RUN make clean gmid
FROM alpine
RUN apk update && apk upgrade && apk add libressl