fix(devcontainer): dont overcomplicate shit
This commit is contained in:
@@ -5,13 +5,11 @@ ARG VERSION
|
|||||||
ARG CONTAINER_NAME
|
ARG CONTAINER_NAME
|
||||||
ARG CONTAINER_VER
|
ARG CONTAINER_VER
|
||||||
|
|
||||||
# Set up binary download and installation
|
# Download and set up the binary
|
||||||
RUN apt-get update && apt-get install -y curl tar \
|
RUN curl -L "https://github.com/truecharts/public/releases/download/v${VERSION}/clustertool_${VERSION}_linux_amd64.tar.gz" -o /tmp/clustertool.tar.gz \
|
||||||
&& curl -L "https://github.com/truecharts/public/releases/download/v${VERSION}/clustertool_${VERSION}_linux_amd64.tar.gz" -o /tmp/clustertool.tar.gz \
|
|
||||||
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
|
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
|
||||||
&& chmod +x /usr/local/bin/clustertool \
|
&& chmod +x /usr/local/bin/clustertool \
|
||||||
&& rm /tmp/clustertool.tar.gz \
|
&& rm /tmp/clustertool.tar.gz
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ENTRYPOINT ["clustertool"]
|
ENTRYPOINT ["clustertool"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
|||||||
Reference in New Issue
Block a user