Skip to content

Commit 4603d29

Browse files
committed
Add Dockerfile
1 parent 0a05f5f commit 4603d29

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM frolvlad/alpine-glibc:alpine-3.6
2+
LABEL maintainer "tsub <tsubasatakayama511@gmail.com>"
3+
4+
ENV MRUBY_CLI_VERSION="0.0.4"
5+
6+
RUN apk add --update --no-cache --virtual build-dependencies \
7+
curl && \
8+
curl -fSL -o mruby-cli.tar.gz "https://github.com/hone/mruby-cli/releases/download/v${MRUBY_CLI_VERSION}/mruby-cli-${MRUBY_CLI_VERSION}-x86_64-pc-linux-gnu.tgz" && \
9+
tar -xvzf mruby-cli.tar.gz -C /usr/local/bin && \
10+
rm mruby-cli.tar.gz && \
11+
apk del --purge build-dependencies
12+
13+
ENTRYPOINT ["mruby-cli"]

0 commit comments

Comments
 (0)