-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (22 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM debian:bullseye-slim
LABEL org.opencontainers.image.authors="DDBJ(Bioinformatics and DDBJ Center) <[email protected]>"
LABEL org.opencontainers.image.url="https://github.com/sapporo-wes/yevis-cli"
LABEL org.opencontainers.image.source="https://github.com/sapporo-wes/yevis-cli/blob/main/Dockerfile"
LABEL org.opencontainers.image.version="0.5.9"
LABEL org.opencontainers.image.description="CLI tool to support building and maintaining Yevis workflow registry"
LABEL org.opencontainers.image.licenses="Apache2.0"
RUN apt update && \
apt install -y --no-install-recommends \
ca-certificates \
curl && \
apt clean && \
rm -rf /var/lib/apt/lists/*
RUN curl -fsSL -o /tmp/docker.tgz https://download.docker.com/linux/static/stable/$(uname -m)/docker-24.0.7.tgz && \
tar -C /tmp -xf /tmp/docker.tgz && \
mv /tmp/docker/* /usr/bin/ && \
rm -rf /tmp/docker /tmp/docker.tgz
ADD https://github.com/sapporo-wes/yevis-cli/releases/latest/download/yevis_x86_64 /usr/bin/yevis
RUN chmod +x /usr/bin/yevis
WORKDIR /app
ENTRYPOINT ["yevis"]
CMD [""]