Compare commits
No commits in common. "a4afb7fe31f2174af89d98386ed7eb4a7b0beb25" and "3e4f90e1f5c0cbbda511a05c496d7ed445c0c3f9" have entirely different histories.
a4afb7fe31
...
3e4f90e1f5
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -50,6 +50,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||
RUN yarn config set python /usr/bin/python3
|
||||
|
||||
# Add kubectl for the kube apply plugin.
|
||||
# Add cnoe-cli
|
||||
# Add mkdocs for the TechDocs plugin.
|
||||
RUN if test "$(uname -m)" = "x86_64"; \
|
||||
then \
|
||||
|
@ -61,6 +62,16 @@ RUN if test "$(uname -m)" != "x86_64"; \
|
|||
fi
|
||||
RUN chmod +x /usr/local/bin/kubectl
|
||||
|
||||
RUN curl -L -O https://github.com/cnoe-io/cnoe-cli/releases/download/v0.1.0/cnoe_Linux_x86_64.tar.gz && \
|
||||
curl -L -O https://github.com/cnoe-io/cnoe-cli/releases/download/v0.1.0/checksums.txt && \
|
||||
sha256sum -c --strict --status --ignore-missing checksums.txt && \
|
||||
tar -xzf cnoe_Linux_x86_64.tar.gz && \
|
||||
mv cnoe /usr/bin/cnoe-cli && \
|
||||
chmod +x /usr/bin/cnoe-cli && \
|
||||
rm checksums.txt cnoe_Linux_x86_64.tar.gz
|
||||
COPY ./cnoe-wrapper.sh /usr/bin/cnoe
|
||||
RUN chmod +x /usr/bin/cnoe
|
||||
|
||||
ENV VIRTUAL_ENV=/opt/venv
|
||||
RUN python3 -m venv $VIRTUAL_ENV
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
|
Loading…
Reference in a new issue