chore: Make separate Dockerfile for docker hub
This commit is contained in:
parent
5cc7b21eb2
commit
e0e2b028f3
27
dockerhub/Dockerfile
Normal file
27
dockerhub/Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
RUN curl -fsSL -o /tmp/warp4j \
|
||||
https://raw.githubusercontent.com/guziks/warp4j/stable/warp4j \
|
||||
&& install -D \
|
||||
--mode=755 \
|
||||
--owner=root \
|
||||
--group=root \
|
||||
/tmp/warp4j \
|
||||
/usr/local/bin \
|
||||
&& rm /tmp/warp4j
|
||||
WORKDIR /workdir
|
||||
ENTRYPOINT [ "/usr/local/bin/warp4j" ]
|
Loading…
Reference in New Issue
Block a user