Skip to content

Commit

Permalink
Make sure Sarge builds are i386
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 12, 2023
1 parent 3c55632 commit 046fe03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion containers/Dockerfile-sarge
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN echo 'deb http://ppa.r-pkg.org/evercran sarge main' \
>> /etc/apt/sources.list

RUN apt-get update && \
apt-get install -y r-${R_VERSION} && \
apt-get install -y linux32 r-${R_VERSION} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /var/lib/apt/lists/partial
Expand All @@ -27,4 +27,5 @@ RUN (echo 'library()' | /opt/R/${R_VERSION}/bin/R --vanilla | cat) || \

WORKDIR /root

ENTRYPOINT [ "linux32" ]
CMD [ "R" ]
9 changes: 7 additions & 2 deletions r-builds/Dockerfile-sarge
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- Dockerfile -*-

FROM debian/eol:sarge

Expand All @@ -7,9 +8,13 @@ ENV PAGER=less
ENV LESS=-r

ARG R_VERSION=0.49
ARG IN_PLACE=no

RUN apt-get update && apt-get install -y linux32

ENTRYPOINT [ "linux32" ]
CMD [ "bash" ]

COPY build.sh .
COPY patch patch

RUN ./build.sh
RUN linux32 ./build.sh

0 comments on commit 046fe03

Please sign in to comment.