Skip to content

Commit

Permalink
feat: add camel-k binary
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitf committed Dec 9, 2021
1 parent d3eab13 commit 5d8a324
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ docker run -ti --rm \
| `rustup` |`<sh.rustup.rs>` |
| `rust-src` |`<via rustup>` |
| `rust-analysis` |`<via rustup>` |
|--------Platform-----|-------------------------------------|
| `camel-k` |`<gh release>` |
|------CLOUD----------|-------------------------------------|
| `podman` |`container-tools:rhel8` |
| `buildah` |`container-tools:rhel8` |
Expand All @@ -123,7 +125,7 @@ docker run -ti --rm \
| `terraform` |`<releases.hashicorp.com>` |
| `docker` |`<download.docker.com>` |
| `docker-compose` |`<gh releases>` |
| **TOTAL SIZE** | **6.5GB** (2.5GB compressed) |
| **TOTAL SIZE** | **6.5GB** (2.7GB compressed) |

### Environment Variables

Expand Down
11 changes: 7 additions & 4 deletions universal/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,13 @@ RUN dnf install -y dotnet-hostfxr-${DOTNET_RPM_VERSION} dotnet-runtime-${DOTNET_
ENV CARGO_HOME=/home/user/.cargo \
RUSTUP_HOME=/home/user/.rustup \
PATH=/home/user/.cargo/bin:${PATH}
RUN curl --proto '=https' --tlsv1.2 -sSfo rustup https://sh.rustup.rs && \
chmod +x rustup && \
mv rustup /usr/bin/ && \
rustup -y --no-modify-path --profile minimal -c rust-src -c rust-analysis -c rls
RUN curl --proto '=https' --tlsv1.2 -sSfo rustup https://sh.rustup.rs | sh -s -- --no-modify-path --profile minimal -c rust-src -c rust-analysis -c rls

# camel-k
ENV KAMEL_VERSION 1.7.0
RUN curl -L https://github.com/apache/camel-k/releases/download/v${KAMEL_VERSION}/camel-k-client-${KAMEL_VERSION}-linux-64bit.tar.gz | tar -C /usr/local/bin -xz \
&& chmod +x /usr/local/bin/kamel


# Cloud

Expand Down

0 comments on commit 5d8a324

Please sign in to comment.