warp4j/docker/Dockerfile

20 lines
538 B
Docker
Raw Normal View History

2019-02-16 20:12:49 +01:00
FROM debian:stable-slim
RUN apt-get update && apt-get install -y \
curl \
file \
unzip \
zip \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL -o /tmp/warp-packer \
https://github.com/dgiagio/warp/releases/download/v0.3.0/linux-x64.warp-packer \
&& install -D \
--mode=755 \
--owner=root \
--group=root \
/tmp/warp-packer \
/usr/local/bin \
&& rm /tmp/warp-packer
WORKDIR /workdir
COPY warp4j /usr/local/bin/
ENTRYPOINT [ "/usr/local/bin/warp4j" ]