-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (16 loc) · 883 Bytes
/
Dockerfile
File metadata and controls
22 lines (16 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM quay.io/devfile/universal-developer-image:ubi8-latest
USER 0
# Install Kubeseal
RUN go install github.com/bitnami-labs/sealed-secrets/cmd/kubeseal@main
RUN echo "export PATH=\$PATH:/home/user/go/bin" >> /home/user/.bashrc && source /home/user/.bashrc
# Install oc neat
RUN kubectl krew install neat
RUN chmod -R 775 /home/user/.krew/store/neat
USER 10001
# install camel Jbang
RUN /home/user/.sdkman/candidates/jbang/current/bin/jbang trust add -o --fresh --quiet https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java
RUN /home/user/.sdkman/candidates/jbang/current/bin/jbang app install camel@apache/camel
USER 0
RUN chgrp -R 0 /home/user/.jbang && chmod -R g=u /etc/passwd /etc/group /home/user/.jbang
RUN mkdir -p /home/user/.m2 && chgrp -R 0 /home/user/.m2 && chmod -R g=u /etc/passwd /etc/group /home/user/.m2
USER 10001