Skip to content

Commit a6d850c

Browse files
committed
devops: install openblas into base target
Signed-off-by: Aaron Teo <[email protected]>
1 parent ff41f9f commit a6d850c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.devops/cpu.Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ RUN mkdir -p /app/full \
4040
## Base image
4141
FROM ubuntu:$UBUNTU_VERSION AS base
4242

43+
ARG TARGETARCH
44+
4345
RUN apt-get update \
44-
&& apt-get install -y libgomp1 curl\
46+
&& apt-get install -y libgomp1 curl \
47+
&& if [ "$TARGETARCH" = "s390x" ]; then \
48+
apt-get install -y libopenblas-dev; \
49+
fi \
4550
&& apt autoremove -y \
4651
&& apt clean -y \
4752
&& rm -rf /tmp/* /var/tmp/* \

0 commit comments

Comments
 (0)