pdcvds (sha256:b3e556ad628562a103ca7bde95a2a507c9db65c7c8fc66b2e6b1a8e4426ce6c1)
Published 2024-11-18 23:02:51 +00:00 by hekker
Installation
docker pull repo.molnha.se/hekker/pdcvds@sha256:b3e556ad628562a103ca7bde95a2a507c9db65c7c8fc66b2e6b1a8e4426ce6c1
sha256:b3e556ad628562a103ca7bde95a2a507c9db65c7c8fc66b2e6b1a8e4426ce6c1
Image layers
ADD rootfs.tar.xz / # buildkit |
CMD ["bash"] |
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* # buildkit |
WORKDIR /usr/src/perl |
RUN /bin/sh -c true && curl -fL https://cpan.metacpan.org/authors/id/P/PE/PEVANS/perl-5.36.3.tar.gz -o perl-5.36.3.tar.gz && echo 'f2a1ad88116391a176262dd42dfc52ef22afb40f4c0e9810f15d561e6f1c726a *perl-5.36.3.tar.gz' | sha256sum --strict --check - && tar --strip-components=1 -xaf perl-5.36.3.tar.gz -C /usr/src/perl && rm perl-5.36.3.tar.gz && cat *.patch | patch -p1 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" && archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" && ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -des && make -j$(nproc) && TEST_JOBS=$(nproc) make test_harness && make install && cd /usr/src && curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz && echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - && tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm && perl bin/cpanm . && cd /root && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - && cpanm --from $PWD Net-SSLeay-1.94.tar.gz && curl -fLO 'https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.085.tar.gz' && echo '95b2f7c0628a7e246a159665fbf0620d0d7835e3a940f22d3fdd47c3aa799c2e *IO-Socket-SSL-2.085.tar.gz' | sha256sum --strict --check - && SSL_CERT_DIR=/etc/ssl/certs cpanm --from $PWD IO-Socket-SSL-2.085.tar.gz && curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997017/cpm -o /usr/local/bin/cpm && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - && chmod +x /usr/local/bin/cpm && true && rm -fr /root/.cpanm /root/Net-SSLeay-1.94* /root/IO-Socket-SSL-2.085* /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* && cpanm --version && cpm --version # buildkit |
WORKDIR /usr/src/app |
CMD ["perl5.36.3" "-de0"] |
RUN /bin/sh -c apt update && apt install -y locales && sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
ENV LC_ALL=en_US.UTF-8 |
RUN /bin/sh -c curl -Lo /tmp/bw.zip 'https://vault.bitwarden.com/download/?app=cli&platform=linux' && unzip /tmp/bw.zip && mv bw /usr/local/bin && rm /tmp/bw.zip # buildkit |
RUN /bin/sh -c cpanm --notest -i Mojolicious DateTime DateTime::Format::Strptime DBD::SQLite Moose && rm -rf ~/.cpanm # buildkit |
RUN /bin/sh -c apt update && apt install --no-install-recommends -y sqlite3 libsqlite3-dev r-cran-dplyr r-cran-dbplyr r-cran-jsonlite r-cran-lubridate r-cran-ggplot2 r-cran-rmarkdown r-cran-dt r-cran-tidyr r-cran-stringr r-cran-rsqlite # buildkit |
RUN /bin/sh -c R --vanilla -e "install.packages(c('dplyr', 'ggplot2', 'DT'), repos='https://cloud.r-project.org')" # buildkit |
COPY myteam.pl race-info.pl vds-history.pl render.sh watch.json /srv/ # buildkit |
COPY site /srv/site/ # buildkit |
COPY lib /srv/lib/ # buildkit |
WORKDIR /srv |
CMD ["./render.sh"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-11-18T22:56:48Z |
org.opencontainers.image.revision | 176b21802f522bb748a298a557bd49949143f9c8 |
org.opencontainers.image.source | https://repo.testha.se/hekker/pdcvds.git |
org.opencontainers.image.url | https://repo.testha.se/hekker/pdcvds |
Details
2024-11-18 23:02:51 +00:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
575 MiB