forked from snabbco/snabb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dockerignore to simplify Dockerfile
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
- Loading branch information
1 parent
7b7211d
commit 66843c5
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |