Skip to content

Commit 81ac9b0

Browse files
committed
Remove original version of kernel-devel as its not updated by yum and instead a second version is installed
1 parent 67cc806 commit 81ac9b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
FROM docker.io/lambci/lambda:build-provided.al2
33

44
ARG RUST_VERSION=1.54.0
5+
RUN yum -y update
6+
RUN yum -y remove kernel-devel-4.14.203-156.332.amzn2
57
RUN yum install -y jq openssl-devel
68
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
79
| CARGO_HOME=/cargo RUSTUP_HOME=/rustup sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION

0 commit comments

Comments
 (0)