Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTROLLER_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.29.53
1.29.54
9 changes: 8 additions & 1 deletion deployment/Dockerfile.both
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ ADD mcad-controller /usr/local/bin
RUN true \
&& microdnf update \
&& microdnf --nodocs install \
curl \
curl shadow-utils \
&& microdnf clean all \
&& true

RUN cd /usr/local/bin && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl

WORKDIR /usr/local/bin

RUN groupadd --system --gid=9999 mcad && \
useradd --system --create-home --uid=9999 --gid=mcad mcad

RUN chown -R mcad:mcad /usr/local/bin

USER mcad