Skip to content

Commit

Permalink
Use dockerignore to simplify Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
  • Loading branch information
justincormack committed Aug 9, 2016
1 parent 7b7211d commit 66843c5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.*
*.md
COPYRIGHT
ChangeLog
Dockerfile
INSTALL
doc
*.yml
examples
include
rockspec
test
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM alpine:3.4

RUN apk update && apk add luajit luajit-dev strace && mkdir -p /usr/share/lua/5.1

COPY syscall.lua /usr/share/lua/5.1/
COPY syscall /usr/share/lua/5.1/syscall/

COPY . /usr/share/lua/5.1/
ENTRYPOINT ["luajit"]

0 comments on commit 66843c5

Please sign in to comment.