Once more

parent e0d51aab
......@@ -2,17 +2,15 @@
# E.g. "docker run dukboot/dukboot myscript.js"
#
# Warning: I haven't tested to see if it works yet!!!
#
# TODO: Properly bundle js/dukboot.js
FROM alpine:latest
RUN apk add --no-cache build-base git && \
cd /tmp && \
git clone https://gitlab.com/dukboot/dukboot && \
cd dukboot && \
make && \
mkdir -p /var/local/dukboot && \
mv dukboot /var/local/dukboot/dukboot && \
mv js /var/local/dukboot/js && \
ln /usr/local/bin/dukboot /var/local/dukboot/dukboot && \
mv dukboot /usr/local/bin/ && \
mv js /usr/local/bin/ && \
cd /tmp && \
rm -rf dukboot && \
apk del --no-cache --purge build-base git
......
FROM dukboot/dukboot:latest
FROM registry.gitlab.com/dukboot/dukboot:latest
COPY . .
ENTRYPOINT dukboot hello.js
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment