refactor: awscli -> s5cmd, add alpine 323
Some checks failed
ci/crow/cron/build/4 Pipeline is pending
ci/crow/cron/build/5 Pipeline is pending
ci/crow/cron/build/6 Pipeline is pending
ci/crow/cron/build/7 Pipeline is pending
ci/crow/cron/build/8 Pipeline is pending
ci/crow/cron/build/9 Pipeline is pending
ci/crow/cron/build/10 Pipeline is pending
ci/crow/cron/build/11 Pipeline is pending
ci/crow/cron/build/12 Pipeline is pending
ci/crow/cron/build/13 Pipeline is pending
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/3 Pipeline failed
ci/crow/cron/build/2 Pipeline was successful
Some checks failed
ci/crow/cron/build/4 Pipeline is pending
ci/crow/cron/build/5 Pipeline is pending
ci/crow/cron/build/6 Pipeline is pending
ci/crow/cron/build/7 Pipeline is pending
ci/crow/cron/build/8 Pipeline is pending
ci/crow/cron/build/9 Pipeline is pending
ci/crow/cron/build/10 Pipeline is pending
ci/crow/cron/build/11 Pipeline is pending
ci/crow/cron/build/12 Pipeline is pending
ci/crow/cron/build/13 Pipeline is pending
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/3 Pipeline failed
ci/crow/cron/build/2 Pipeline was successful
This commit is contained in:
parent
42969daeb1
commit
2bd13e016c
1 changed files with 175 additions and 69 deletions
26
builder/Dockerfile.alpine-323
Normal file
26
builder/Dockerfile.alpine-323
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
FROM alpine:3.23
|
||||
|
||||
ENV OS_IDENTIFIER alpine-323
|
||||
|
||||
RUN set -x \
|
||||
&& apk add -q R-dev curl ca-certificates bash g++ tzdata openjdk17 texmf-dist texlive-full tar sed patch tcl tk tk-dev xvfb libdeflate libdeflate-dev
|
||||
|
||||
# Install s5cmd for S3 uploads (much faster than AWS CLI)
|
||||
RUN ARCH=$(uname -m); if [ "$ARCH" = "x86_64" ]; then S5CMD_ARCH="64bit"; else S5CMD_ARCH="arm64"; fi && \
|
||||
curl -sL "https://github.com/peak/s5cmd/releases/download/v2.3.0/s5cmd_2.3.0_Linux-${S5CMD_ARCH}.tar.gz" | tar xz -C /usr/local/bin s5cmd
|
||||
|
||||
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-322 /package.sh
|
||||
COPY build.sh .
|
||||
COPY patches /patches
|
||||
ENTRYPOINT ./build.sh
|
||||
Loading…
Reference in a new issue