bastistician commented on code in PR #48014: URL: https://github.com/apache/arrow/pull/48014#discussion_r2623895203
########## ci/docker/alpine-linux-3.22-r.dockerfile: ########## @@ -0,0 +1,88 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Minimal Alpine Linux container with R for testing Arrow R package +# on musl libc (CRAN runs checks on Alpine Linux 3.22) +# Replicates CRAN's Alpine environment as closely as possible + +ARG arch=amd64 +FROM ${arch}/alpine:3.22 + +# Install R and essential build tools +# Note: bash is needed for Arrow CI scripts, even though CRAN's Alpine uses BusyBox +RUN apk add \ + R \ + R-dev \ + R-doc \ + bash \ + checkbashisms \ + cmake \ + curl-dev \ + g++ \ + gcc \ + git \ + linux-headers \ + make \ + musl-locales \ + openssl-dev \ + pkgconfig \ + texlive \ + texlive-xetex \ + texmf-dist-fontsextra \ + texmf-dist-most \ Review Comment: This is a good point. Especially `texmf-dist-fontsextra` is really big and would only be needed for the `inconsolata` font, which you could avoid via environment variable `R_RD4PDF=times`. I think you don't need to check building the PDF and HTML manuals in each and every CI run. It should be fine to do this only as part of the release checks. You could use `R CMD check --no-manual --extra-arch` to limit checks to runtime tests in all but one "main" CI configuration. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
