mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
update circleci to build image from source
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,10 +1,3 @@
|
||||
FROM quay.io/vektorcloud/glibc:latest
|
||||
|
||||
ARG CTOP_VERSION=0.5
|
||||
ENV CTOP_URL https://github.com/bcicen/ctop/releases/download/v${CTOP_VERSION}/ctop-${CTOP_VERSION}-linux-amd64
|
||||
|
||||
RUN echo $CTOP_URL && \
|
||||
wget -q $CTOP_URL -O /ctop && \
|
||||
chmod +x /ctop
|
||||
|
||||
FROM scratch
|
||||
COPY ./ctop /ctop
|
||||
ENTRYPOINT ["/ctop"]
|
||||
|
||||
Reference in New Issue
Block a user