fix docker AS casing
This commit is contained in:
parent
2ad22cfc6a
commit
097a13ddd4
1 changed files with 5 additions and 5 deletions
|
|
@ -3,14 +3,14 @@ FROM ubuntu:jammy AS jags
|
|||
RUN apt update && apt install -y --no-install-recommends curl make ca-certificates gcc g++ gfortran liblapack-dev
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
# - JAGS (needed for runjags which itself is again a dependency of many packages)
|
||||
RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure --enable-silent-rules && make 2>&1
|
||||
RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure --enable-silent-rules && make 2>&1
|
||||
|
||||
FROM ubuntu:jammy as final
|
||||
FROM ubuntu:jammy AS final
|
||||
|
||||
ARG R_VERSION=4.4.2
|
||||
ENV PATH=/opt/R/${R_VERSION}/bin:$PATH
|
||||
ENV TZ="Europe/Berlin"
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ARG ARCH=arm64
|
||||
ENV NCPUS=2
|
||||
|
|
@ -27,7 +27,7 @@ COPY --link --from=jags /JAGS-4.3.2 /JAGS-4.3.2
|
|||
# libfftw3-dev: ravetools -> actually auto-detect but somehow doesn't work in container?
|
||||
RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran libbz2-dev libblas-dev libicu-dev liblapack-dev liblzma-dev libpaper-utils libpcre2-dev libtcl8.6 libtk8.6 libxt6 unzip zip zlib1g-dev libpcre3-dev libopenblas-dev curl ca-certificates make ccache htop libgit2-dev git libpq-dev libxml2-dev libgit2-dev cmake xvfb libcurl4-openssl-dev xz-utils tcl tk tk-dev tk-table pkg-config libmecab-dev libfftw3-dev automake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
### CUSTOM DEPENDENCIES
|
||||
# JAGS
|
||||
RUN cd /JAGS-4.3.2 && make 2>&1 && make install 2>&1 >/dev/null && rm -rf JAGS-4.3.2 && cd ..
|
||||
# - Chromium should be auto-installed once pkgdepends merges the latest system-requirements rule changes
|
||||
|
|
@ -58,4 +58,4 @@ RUN apt install -y locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
|
|||
|
||||
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git", dependencies = TRUE)'
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
CMD ["/bin/bash"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue