Skip to content

Commit

Permalink
Merge pull request #202 from justincormack/dockerignore
Browse files Browse the repository at this point in the history
Use dockerignore to simplify Dockerfile
  • Loading branch information
justincormack authored Aug 9, 2016
2 parents 7b7211d + 66843c5 commit c8baf9e
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 c8baf9e

Please sign in to comment.