Skip to content
Merged
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
12 changes: 7 additions & 5 deletions deployment/Dockerfile.both
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
From ubuntu:18.04
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

ADD mcad-controller /usr/local/bin

RUN apt-get update
RUN apt-get -y upgrade

RUN apt-get install -y curl
RUN true \
&& microdnf update \
&& microdnf --nodocs install \
curl \
&& 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

Expand Down