add alpine
This commit is contained in:
parent
2c00a55f5b
commit
6564fd499f
1 changed files with 144 additions and 15 deletions
28
builder/Dockerfile.alpine-320
Normal file
28
builder/Dockerfile.alpine-320
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
FROM alpine:3.20
|
||||
|
||||
ENV OS_IDENTIFIER alpine-320
|
||||
|
||||
RUN set -x \
|
||||
&& apk add -q R-dev curl ca-certificates bash g++ tzdata openjdk17 texmf-dist texlive-full tar sed patch
|
||||
|
||||
# Install AWS CLI
|
||||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
|
||||
unzip awscliv2.zip && \
|
||||
./aws/install && \
|
||||
rm -rf aws awscliv2.zip
|
||||
|
||||
RUN curl -LO "https://github.com/goreleaser/nfpm/releases/download/v2.39.0/nfpm_2.39.0_$(arch).apk" && \
|
||||
apk add --allow-untrusted "./nfpm_2.39.0_$(arch).apk" && \
|
||||
rm "nfpm_2.39.0_$(arch).apk"
|
||||
|
||||
RUN chmod 0777 /opt
|
||||
|
||||
# Override the default pager used by R
|
||||
ENV PAGER /usr/bin/pager
|
||||
|
||||
ENV CONFIGURE_OPTIONS "--enable-R-shlib --with-tcltk --enable-memory-profiling --with-x=no --with-blas --with-lapack"
|
||||
|
||||
COPY package.alpine-320 /package.sh
|
||||
COPY build.sh .
|
||||
COPY patches /patches
|
||||
ENTRYPOINT ./build.sh
|
||||
Loading…
Reference in a new issue