Commit 1a25be7 1 parent 583b0c7 commit 1a25be7 Copy full SHA for 1a25be7
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
20
20
make gcc g++ python3 rsync sshpass \
21
21
nodejs \
22
22
openssl libssl-dev ca-certificates \
23
+ apache2-utils \
24
+ gettext \
23
25
curl wget jq colorized-logs && \
24
26
npm install -g typescript yarn@latest && \
25
27
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
@@ -70,5 +72,11 @@ RUN curl -LO "https://github.com/operator-framework/operator-registry/releases/d
70
72
chmod +x linux-amd64-opm && \
71
73
mv linux-amd64-opm /usr/local/bin/opm
72
74
73
- # Set working directory
75
+ # Install Operator SDK CLI (required to install OLM on K8s clusters)
76
+ RUN export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) && \
77
+ export OS=$(uname | awk '{print tolower($0)}' ) && \
78
+ curl -LO "https://github.com/operator-framework/operator-sdk/releases/download/v1.39.1/operator-sdk_${OS}_${ARCH}" && \
79
+ chmod +x operator-sdk_${OS}_${ARCH} && mv operator-sdk_${OS}_${ARCH} /usr/local/bin/operator-sdk
80
+
81
+ # Set working directory
74
82
WORKDIR /tmp/
You can’t perform that action at this time.
0 commit comments