Skip to content

Commit

Permalink
container: pin pyelftools to v0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Sep 22, 2023
1 parent a403b17 commit 11f58dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# syntax=docker/dockerfile:1

# This appears to be required for local Podman image
# But breaks GitHub CI for image building
# ARG TARGETARCH

FROM debian:bullseye as base-arm64
RUN apt-get update && \
apt-get full-upgrade --no-install-recommends -y \
Expand All @@ -19,6 +23,6 @@ RUN dpkg --add-architecture arm64 && \
FROM base-${TARGETARCH} as output
RUN gem install fpm && \
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python2 && \
python2 -m pip install pyelftools && \
python2 -m pip install pyelftools==0.29 && \
adduser --gecos runner --disabled-password runner && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 11f58dc

Please sign in to comment.