Dockerfile Commit Classifier
Collection
This collection includes the machine learning model, dataset and my space.
•
3 items
•
Updated
id
stringlengths 1
8
| Commit Hash
stringlengths 40
32.8k
⌀ | Subject
stringlengths 3
165
⌀ | Message
stringlengths 6
462
⌀ | Old Contents
stringlengths 45
32.8k
⌀ | New Contents
stringlengths 67
32.8k
⌀ | Ground truth
stringclasses 11
values |
---|---|---|---|---|---|---|
262 | fd2247cbcee7415a6703cc9221d53f5dbac9accc | Bumped source to 20211130-4c00e06 | Bumped source to 20211130-4c00e06
| FROM docker.pkg.github.com/dock0/arch/arch:20211130-cbf05db
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20211130-4c00e06
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
2103 | d7d82169d11383f225a46cfa76cacb9a993c4135 | Bumped source to 20210629-6b7f787 | Bumped source to 20210629-6b7f787
| FROM docker.pkg.github.com/dock0/arch/arch:20210629-e972d45
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
374 | 90bde9493ac67b6683c885859581cf52f73b489e | Bumped source to 20201103-c055246 | Bumped source to 20201103-c055246
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201103-c7ca449
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201103-c055246
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| maintenance/other |
2310 | 439ce8e0e4d322ae7d9e702ce1ac38becaacdeb7 | Update Dockerfile | Update Dockerfile
keeping bash. | FROM centos:7.3.1611
MAINTAINER Robert de Bock <robert@meinit.nl>
LABEL Description="Base CentOS OpenSSH server image" CentOS="7.3.1611" OpenSSH="6.6.1p1-33.el7_3" Tini="0.14.0"
ENV TINI_VERSION v0.14.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
EXPOSE 22
RUN yum -y erase bash vim && \
yum -y update && \
yum -y install openssh openssh-server openssh-clients && \
yum -y clean all
ADD start.sh /start.sh
RUN chmod +x /start.sh
RUN chmod +x /tini
ENTRYPOINT ["/tini", "-g", "--"]
CMD /start.sh
| null | code refactoring |
2170 | 3573db30cf61da7cbc7eee0a5234d286576f5665 | add gnu tar for mesos docker fetcher | add gnu tar for mesos docker fetcher
| FROM quay.io/vektorcloud/base:3.4
RUN apk --no-cache add docker \
libstdc++ \
subversion \
curl \
fts \
openjdk8 \
openssl \
binutils \
coreutils \
bash && \
apk --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community add dumb-init
# Mesos Default Options
ENV \
VERSION="1.2.0" \
MESOS_ZK="zk://localhost:2181/mesos" \
MESOS_MASTER="zk://localhost:2181/mesos" \
MESOS_QUORUM="1" \
MESOS_WORK_DIR="/mesos" \
MESOS_LOG_DIR="/mesos/log" \
MESOS_CONTAINERIZERS="mesos,docker" \
MESOS_EXECUTOR_REGISTRATION_TIMEOUT="5mins" \
MESOS_LAUNCHER="linux" \
MESOS_LOGGING_LEVEL="WARNING" \
MESOS_SYSTEMD_ENABLE_SUPPORT="false" \
MESOS_ISOLATION="cgroups/cpu,cgroups/mem,cgroups/pids,namespaces/pid,filesystem/linux,docker/runtime"
COPY mesos/mesos-$VERSION/build /
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
| null | feature addition |
2176 | 2feef0bf6c0463a85fffb6443968da5cadc59093 | Bumped source to 20200824-40508fc | Bumped source to 20200824-40508fc
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200824-cae6bbb
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | maintenance/other |
44 | b491f955c938e4b688236e7a53153f9514594e90 | update zoo | update zoo
Signed-off-by: Mark McCahill <e3696564e7a7433e50b70b6d9fcacd26c7505e6a@duke.edu>
| # mccahill/r-studio
#
# VERSION 1.4
FROM ubuntu:18.04
MAINTAINER Mark McCahill "mark.mccahill@duke.edu"
RUN apt-get update ; \
apt-get install gnupg2 -y
# get R from a CRAN archive (we want the 3.5 version of R)
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu bionic-cran35/" >> /etc/apt/sources.list
RUN DEBIAN_FRONTEND=noninteractive apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
RUN apt-get update ; \
apt-get dist-upgrade -y
# we want OpenBLAS for faster linear algebra as described here: http://brettklamer.com/diversions/statistical/faster-blas-in-r/
RUN apt-get install -y \
apt-utils \
libopenblas-base
RUN apt-get update ; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
r-base \
r-base-dev \
vim \
less \
net-tools \
inetutils-ping \
curl \
git \
telnet \
nmap \
socat \
software-properties-common \
wget \
sudo
RUN apt-get update ; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libcurl4-gnutls-dev \
libgit2-dev \
libxml2-dev \
libssl-dev \
libudunits2-dev \
libpoppler-cpp-dev
# we need TeX for the rmarkdown package in RStudio, and pandoc is also useful
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive \
texlive-base \
texlive-latex-extra \
texlive-pstricks \
pandoc
# R-Studio
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdebi-core \
libapparmor1
# RUN DEBIAN_FRONTEND=noninteractive wget https://download2.rstudio.org/rstudio-server-1.1.383-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive wget https://s3.amazonaws.com/rstudio-ide-build/server/trusty/amd64/rstudio-server-1.2.907-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive gdebi --n rstudio-server-1.2.907-amd64.deb
RUN rm rstudio-server-1.2.907-amd64.deb
# update the R packages we will need for knitr
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/xfun_0.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/knitr_1.22.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/yaml_2.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Rcpp_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/htmltools_0.3.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/caTools_1.17.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bitops_1.0-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/digest_0.6.18.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/glue_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringr_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/markdown_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/highr_0.8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/formatR_1.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/evaluate_0.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mime_0.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringi_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/magrittr_1.5.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
bitops_1.0-6.tar.gz \
caTools_1.17.1.2.tar.gz \
digest_0.6.18.tar.gz \
Rcpp_1.0.1.tar.gz \
htmltools_0.3.6.tar.gz \
yaml_2.2.0.tar.gz \
stringi_1.4.3.tar.gz \
magrittr_1.5.tar.gz \
mime_0.6.tar.gz \
glue_1.3.1.tar.gz \
stringr_1.4.0.tar.gz \
highr_0.8.tar.gz \
formatR_1.6.tar.gz \
evaluate_0.13.tar.gz \
markdown_0.9.tar.gz \
xfun_0.5.tar.gz \
knitr_1.22.tar.gz
RUN rm \
evaluate_0.13.tar.gz \
formatR_1.6.tar.gz \
highr_0.8.tar.gz \
markdown_0.9.tar.gz \
stringi_1.4.3.tar.gz \
magrittr_1.5.tar.gz \
glue_1.3.1.tar.gz \
stringr_1.4.0.tar.gz \
xfun_0.5.tar.gz \
knitr_1.22.tar.gz \
yaml_2.2.0.tar.gz \
Rcpp_1.0.1.tar.gz \
htmltools_0.3.6.tar.gz \
caTools_1.17.1.2.tar.gz \
bitops_1.0-6.tar.gz \
digest_0.6.18.tar.gz \
mime_0.6.tar.gz
# dependency for R XML library
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libxml2 \
libxml2-dev \
libssl-dev
# R packages we need for devtools - and we need devtools to be able to update the rmarkdown package
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/processx_3.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ps_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/callr_3.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/crayon_1.3.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/assertthat_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cli_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/desc_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/prettyunits_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/backports_1.1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rprojroot_1.3-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/withr_2.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgbuild_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rlang_0.3.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rstudioapi_0.10.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgload_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rcmdcheck_1.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/remotes_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xopen_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/clipr_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/clisymbols_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sessioninfo_1.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/usethis_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sys_3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/askpass_1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/openssl_1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/brew_1.0-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Archive/roxygen2/roxygen2_5.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/fs_1.2.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gh_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rversions_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/git2r_0.25.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/devtools_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/R6_2.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/httr_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RCurl_1.95-4.12.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/BH_1.69.0-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xml2_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/curl_3.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/jsonlite_1.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ini_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/downloader_0.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/memoise_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/plyr_1.8.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/XML_3.98-1.19.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/whisker_0.3-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bitops_1.0-6.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
ps_1.3.0.tar.gz \
R6_2.4.0.tar.gz \
processx_3.3.0.tar.gz \
callr_3.2.0.tar.gz \
crayon_1.3.4.tar.gz \
assertthat_0.2.1.tar.gz \
cli_1.1.0.tar.gz \
backports_1.1.3.tar.gz \
rprojroot_1.3-2.tar.gz \
desc_1.2.0.tar.gz \
prettyunits_1.0.2.tar.gz \
withr_2.1.2.tar.gz \
pkgbuild_1.0.3.tar.gz \
rlang_0.3.3.tar.gz \
rstudioapi_0.10.tar.gz \
pkgload_1.0.2.tar.gz \
xopen_1.0.0.tar.gz \
sessioninfo_1.1.1.tar.gz \
rcmdcheck_1.3.2.tar.gz \
remotes_2.0.2.tar.gz \
whisker_0.3-2.tar.gz \
git2r_0.25.2.tar.gz \
fs_1.2.7.tar.gz \
ini_0.3.1.tar.gz \
jsonlite_1.6.tar.gz \
sys_3.1.tar.gz \
askpass_1.1.tar.gz \
openssl_1.3.tar.gz \
curl_3.3.tar.gz \
httr_1.4.0.tar.gz \
gh_1.0.1.tar.gz \
clipr_0.5.0.tar.gz \
clisymbols_1.2.0.tar.gz \
usethis_1.4.0.tar.gz \
memoise_1.1.0.tar.gz \
bitops_1.0-6.tar.gz \
RCurl_1.95-4.12.tar.gz \
plyr_1.8.4.tar.gz \
devtools_2.0.1.tar.gz \
brew_1.0-6.tar.gz \
roxygen2_5.0.1.tar.gz \
XML_3.98-1.19.tar.gz \
BH_1.69.0-1.tar.gz \
xml2_1.2.0.tar.gz \
rversions_1.0.3.tar.gz \
downloader_0.4.tar.gz
RUN rm \
ps_1.3.0.tar.gz \
callr_3.2.0.tar.gz \
R6_2.4.0.tar.gz \
processx_3.3.0.tar.gz \
crayon_1.3.4.tar.gz \
assertthat_0.2.1.tar.gz \
cli_1.1.0.tar.gz \
desc_1.2.0.tar.gz \
prettyunits_1.0.2.tar.gz \
backports_1.1.3.tar.gz \
rprojroot_1.3-2.tar.gz \
withr_2.1.2.tar.gz \
pkgbuild_1.0.3.tar.gz \
rlang_0.3.3.tar.gz \
rstudioapi_0.10.tar.gz \
clipr_0.5.0.tar.gz \
clisymbols_1.2.0.tar.gz \
pkgload_1.0.2.tar.gz \
sessioninfo_1.1.1.tar.gz \
xopen_1.0.0.tar.gz \
rcmdcheck_1.3.2.tar.gz \
remotes_2.0.2.tar.gz \
usethis_1.4.0.tar.gz \
ini_0.3.1.tar.gz \
jsonlite_1.6.tar.gz \
memoise_1.1.0.tar.gz \
whisker_0.3-2.tar.gz \
bitops_1.0-6.tar.gz \
RCurl_1.95-4.12.tar.gz \
plyr_1.8.4.tar.gz \
httr_1.4.0.tar.gz \
sys_3.1.tar.gz \
askpass_1.1.tar.gz \
openssl_1.3.tar.gz \
brew_1.0-6.tar.gz \
roxygen2_5.0.1.tar.gz \
BH_1.69.0-1.tar.gz \
XML_3.98-1.19.tar.gz \
xml2_1.2.0.tar.gz \
curl_3.3.tar.gz \
rversions_1.0.3.tar.gz \
git2r_0.25.2.tar.gz \
devtools_2.0.1.tar.gz \
downloader_0.4.tar.gz
# the CRAN install from source fails because a server at MIT will not respond
# install from source
ADD ./conf /r-studio
#RUN R CMD BATCH /r-studio/install-nloptr.R
#RUN rm /install-nloptr.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/nloptr_1.2.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
nloptr_1.2.1.tar.gz
RUN rm \
nloptr_1.2.1.tar.gz
# libraries Eric Green wanted
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/lubridate_1.7.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lazyeval_0.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/utf8_1.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/fansi_0.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pillar_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgconfig_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tibble_2.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggplot2_3.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RColorBrewer_1.1-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dichromat_2.0-0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/colorspace_1.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/munsell_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/labeling_0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/viridisLite_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/scales_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stargazer_5.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reshape2_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gtable_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/proto_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/minqa_1.2.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RcppEigen_0.3.3.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lme4_1.1-21.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
lubridate_1.7.4.tar.gz \
gtable_0.3.0.tar.gz \
RColorBrewer_1.1-2.tar.gz \
dichromat_2.0-0.tar.gz \
colorspace_1.4-1.tar.gz \
munsell_0.5.0.tar.gz \
labeling_0.3.tar.gz \
viridisLite_0.3.0.tar.gz \
scales_1.0.0.tar.gz \
proto_1.0.0.tar.gz \
reshape2_1.4.3.tar.gz \
lazyeval_0.2.2.tar.gz \
utf8_1.1.4.tar.gz \
fansi_0.4.0.tar.gz \
pillar_1.3.1.tar.gz \
pkgconfig_2.0.2.tar.gz \
tibble_2.1.1.tar.gz \
ggplot2_3.1.0.tar.gz \
stargazer_5.2.2.tar.gz \
minqa_1.2.4.tar.gz \
RcppEigen_0.3.3.5.0.tar.gz \
lme4_1.1-21.tar.gz
RUN rm \
lubridate_1.7.4.tar.gz \
gtable_0.3.0.tar.gz \
RColorBrewer_1.1-2.tar.gz \
dichromat_2.0-0.tar.gz \
colorspace_1.4-1.tar.gz \
munsell_0.5.0.tar.gz \
labeling_0.3.tar.gz \
viridisLite_0.3.0.tar.gz \
scales_1.0.0.tar.gz \
proto_1.0.0.tar.gz \
reshape2_1.4.3.tar.gz \
lazyeval_0.2.2.tar.gz \
utf8_1.1.4.tar.gz \
fansi_0.4.0.tar.gz \
pillar_1.3.1.tar.gz \
pkgconfig_2.0.2.tar.gz \
tibble_2.1.1.tar.gz \
ggplot2_3.1.0.tar.gz \
stargazer_5.2.2.tar.gz \
minqa_1.2.4.tar.gz \
RcppEigen_0.3.3.5.0.tar.gz \
lme4_1.1-21.tar.gz
# more libraries Mine Cetinakya-Rundel asked for
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/openintro_1.7.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bindr_0.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bindrcpp_0.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/plogr_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/purrr_0.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidyselect_0.2.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dplyr_0.8.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/DBI_1.0.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
openintro_1.7.1.tar.gz \
DBI_1.0.0.tar.gz \
plogr_0.2.0.tar.gz \
bindr_0.1.1.tar.gz \
bindrcpp_0.2.2.tar.gz \
purrr_0.3.2.tar.gz \
tidyselect_0.2.5.tar.gz \
dplyr_0.8.0.1.tar.gz
RUN rm \
openintro_1.7.1.tar.gz \
DBI_1.0.0.tar.gz \
bindr_0.1.1.tar.gz \
bindrcpp_0.2.2.tar.gz \
plogr_0.2.0.tar.gz \
purrr_0.3.2.tar.gz \
tidyselect_0.2.5.tar.gz \
dplyr_0.8.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/chron_2.3-53.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/data.table_1.12.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rematch_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cellranger_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidyr_0.8.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/googlesheets_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/hms_0.4.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/readr_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/selectr_0.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rvest_0.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pbkrtest_0.4-7.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
chron_2.3-53.tar.gz \
data.table_1.12.0.tar.gz \
rematch_1.0.1.tar.gz \
cellranger_1.1.0.tar.gz \
tidyr_0.8.3.tar.gz \
hms_0.4.2.tar.gz \
readr_1.3.1.tar.gz \
googlesheets_0.3.0.tar.gz \
selectr_0.4-1.tar.gz \
rvest_0.3.2.tar.gz \
pbkrtest_0.4-7.tar.gz
RUN rm \
chron_2.3-53.tar.gz \
data.table_1.12.0.tar.gz \
rematch_1.0.1.tar.gz \
cellranger_1.1.0.tar.gz \
tidyr_0.8.3.tar.gz \
googlesheets_0.3.0.tar.gz \
hms_0.4.2.tar.gz \
readr_1.3.1.tar.gz \
selectr_0.4-1.tar.gz \
rvest_0.3.2.tar.gz \
pbkrtest_0.4-7.tar.gz
# Shiny
#RUN wget https://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.5.3.838-amd64.deb
RUN wget https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.7.907-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive gdebi -n shiny-server-1.5.7.907-amd64.deb
RUN rm shiny-server-1.5.7.907-amd64.deb
RUN R CMD BATCH /r-studio/install-Shiny.R
RUN rm /install-Shiny.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/SparseM_1.77.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/MatrixModels_0.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/quantreg_5.38.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sp_1.3-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/maptools_0.9-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/haven_2.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ellipsis_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/forcats_0.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/readxl_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/zip_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/openxlsx_4.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rio_0.5.16.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/abind_1.4-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/carData_3.0-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/car_3.0-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaicData_0.17.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/latticeExtra_0.6-28.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gridExtra_2.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggdendro_0.1-20.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mnormt_1.5-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/psych_1.8.12.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/generics_0.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/broom_0.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reshape_0.8.8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/progress_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/GGally_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggstance_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggformula_0.9.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaicCore_0.6.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggrepel_0.8.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/base64enc_0.1-3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/crosstalk_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/htmlwidgets_1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/png_0.1-7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/raster_2.8-19.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/viridis_0.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/leaflet_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaic_1.5.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
SparseM_1.77.tar.gz \
MatrixModels_0.4-1.tar.gz \
quantreg_5.38.tar.gz \
sp_1.3-1.tar.gz \
maptools_0.9-5.tar.gz \
ellipsis_0.1.0.tar.gz \
forcats_0.4.0.tar.gz \
haven_2.1.0.tar.gz \
progress_1.2.0.tar.gz \
readxl_1.3.1.tar.gz \
zip_2.0.1.tar.gz \
openxlsx_4.1.0.tar.gz \
rio_0.5.16.tar.gz \
abind_1.4-5.tar.gz \
carData_3.0-2.tar.gz \
car_3.0-2.tar.gz \
mosaicData_0.17.0.tar.gz \
latticeExtra_0.6-28.tar.gz \
gridExtra_2.3.tar.gz \
ggdendro_0.1-20.tar.gz \
mnormt_1.5-5.tar.gz \
psych_1.8.12.tar.gz \
generics_0.0.2.tar.gz \
broom_0.5.1.tar.gz \
reshape_0.8.8.tar.gz \
GGally_1.4.0.tar.gz \
mosaicCore_0.6.0.tar.gz \
ggstance_0.3.1.tar.gz \
ggformula_0.9.1.tar.gz \
ggrepel_0.8.0.tar.gz \
base64enc_0.1-3.tar.gz \
crosstalk_1.0.0.tar.gz \
htmlwidgets_1.3.tar.gz \
png_0.1-7.tar.gz \
raster_2.8-19.tar.gz \
viridis_0.5.1.tar.gz \
leaflet_2.0.2.tar.gz \
mosaic_1.5.0.tar.gz
RUN rm \
SparseM_1.77.tar.gz \
MatrixModels_0.4-1.tar.gz \
quantreg_5.38.tar.gz \
sp_1.3-1.tar.gz \
maptools_0.9-5.tar.gz \
ellipsis_0.1.0.tar.gz \
forcats_0.4.0.tar.gz \
haven_2.1.0.tar.gz \
readxl_1.3.1.tar.gz \
zip_2.0.1.tar.gz \
openxlsx_4.1.0.tar.gz \
rio_0.5.16.tar.gz \
abind_1.4-5.tar.gz \
carData_3.0-2.tar.gz \
car_3.0-2.tar.gz \
mosaicData_0.17.0.tar.gz \
latticeExtra_0.6-28.tar.gz \
gridExtra_2.3.tar.gz \
ggdendro_0.1-20.tar.gz \
mnormt_1.5-5.tar.gz \
psych_1.8.12.tar.gz \
generics_0.0.2.tar.gz \
broom_0.5.1.tar.gz \
reshape_0.8.8.tar.gz \
progress_1.2.0.tar.gz \
GGally_1.4.0.tar.gz \
mosaicCore_0.6.0.tar.gz \
ggstance_0.3.1.tar.gz \
ggformula_0.9.1.tar.gz \
ggrepel_0.8.0.tar.gz \
base64enc_0.1-3.tar.gz \
crosstalk_1.0.0.tar.gz \
htmlwidgets_1.3.tar.gz \
png_0.1-7.tar.gz \
raster_2.8-19.tar.gz \
leaflet_2.0.2.tar.gz \
viridis_0.5.1.tar.gz \
mosaic_1.5.0.tar.gz
# Cliburn Chan requested these:
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/RColorBrewer_1.1-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/maps_3.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/zoo_1.8-4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gcookbook_2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/corrplot_0.84.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
RColorBrewer_1.1-2.tar.gz \
maps_3.3.0.tar.gz \
zoo_1.8-4.tar.gz \
gcookbook_2.0.tar.gz \
corrplot_0.84.tar.gz
RUN rm \
RColorBrewer_1.1-2.tar.gz \
maps_3.3.0.tar.gz \
zoo_1.8-4.tar.gz \
gcookbook_2.0.tar.gz \
corrplot_0.84.tar.gz
# install rmarkdown
RUN R CMD BATCH /r-studio/install-rmarkdown.R
RUN rm /install-rmarkdown.Rout
# Cliburn also wanted these
# but they have mega-dependencies, so intall them the other way
RUN R CMD BATCH /r-studio/install-dendextend.R
RUN rm /install-dendextend.Rout
RUN R CMD BATCH /r-studio/install-igraph.R
RUN rm /install-igraph.Rout
# install sparklyr so we can do Spark via Livy
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/config_0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dbplyr_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rappdirs_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/r2d3_0.2.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/forge_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sparklyr_1.0.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
config_0.3.tar.gz \
dbplyr_1.3.0.tar.gz \
rappdirs_0.3.1.tar.gz \
r2d3_0.2.3.tar.gz \
forge_0.2.0.tar.gz \
sparklyr_1.0.0.tar.gz
RUN rm \
config_0.3.tar.gz \
dbplyr_1.3.0.tar.gz \
rappdirs_0.3.1.tar.gz \
r2d3_0.2.3.tar.gz \
forge_0.2.0.tar.gz \
sparklyr_1.0.0.tar.gz
# some more TeX so that papaja can be installed and students can create APA templates in Rmarkdown
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive \
texlive-publishers \
texlive-fonts-extra \
texlive-latex-extra \
texlive-humanities \
lmodern
# papaja
RUN R CMD BATCH /r-studio/install-papaja.R
RUN rm /install-papaja.Rout
# install templates and examples from Reed and the Tufte package
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/BHH2_2016.05.31.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
BHH2_2016.05.31.tar.gz
RUN rm \
BHH2_2016.05.31.tar.gz
RUN R CMD BATCH /r-studio/install-reed.R
RUN rm /install-reed.Rout
# a couple dependencies for Eric Greene's tidycensus
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libproj-dev \
libudunits2-0 \
libudunits2-dev \
software-properties-common
# we need gdal > 2
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdal-bin \
python-gdal \
libgdal-dev
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/rgdal_1.4-3.tar.gz \
https://cran.r-project.org/src/contrib/Archive/rgeos/rgeos_0.3-28.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/uuid_0.1-2.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
rgdal_1.4-3.tar.gz \
rgeos_0.3-28.tar.gz \
uuid_0.1-2.tar.gz
RUN rm \
rgdal_1.4-3.tar.gz \
rgeos_0.3-28.tar.gz \
uuid_0.1-2.tar.gz
RUN R CMD BATCH /r-studio/install-rappdirs.R
RUN rm /install-rappdirs.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/tigris_0.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidycensus_0.9.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
tigris_0.7.tar.gz \
tidycensus_0.9.tar.gz
RUN rm \
tigris_0.7.tar.gz \
tidycensus_0.9.tar.gz
# new packages for fall 2018
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/tidyverse_1.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/promises_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/future_1.12.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/doMC_1.3.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/foreach_1.4.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/doParallel_1.0.14.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/furrr_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/drat_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidygraph_1.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/here_0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rticles_0.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/styler_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lintr_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/testthat_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reprex_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/microbenchmark_1.4-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/modelr_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/globals_0.12.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/listenv_0.7.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/iterators_1.0.10.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/enc_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rematch2_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rex_1.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringdist_0.9.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/praise_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/profmem_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bench_1.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
modelr_0.1.4.tar.gz \
prex_0.2.0.tar.gz \
reprex_0.2.1.tar.gz \
tidyverse_1.2.1.tar.gz \
promises_1.0.1.tar.gz \
globals_0.12.4.tar.gz \
listenv_0.7.0.tar.gz \
future_1.12.0.tar.gz \
iterators_1.0.10.tar.gz \
foreach_1.4.4.tar.gz \
doMC_1.3.5.tar.gz \
doParallel_1.0.14.tar.gz \
furrr_0.1.0.tar.gz \
drat_0.1.4.tar.gz \
tidygraph_1.1.2.tar.gz \
here_0.1.tar.gz \
rticles_0.7.tar.gz \
enc_0.2.0.tar.gz \
rematch2_2.0.1.tar.gz \
styler_1.1.0.tar.gz \
rex_1.1.2.tar.gz \
stringdist_0.9.5.1.tar.gz \
praise_1.0.0.tar.gz \
testthat_2.0.1.tar.gz \
lintr_1.0.3.tar.gz \
profmem_0.5.0.tar.gz \
microbenchmark_1.4-6.tar.gz \
bench_1.0.1.tar.gz
RUN rm \
modelr_0.1.4.tar.gz \
profmem_0.5.0.tar.gz \
praise_1.0.0.tar.gz \
rex_1.1.2.tar.gz \
stringdist_0.9.5.1.tar.gz \
enc_0.2.0.tar.gz \
rematch2_2.0.1.tar.gz \
globals_0.12.4.tar.gz \
iterators_1.0.10.tar.gz \
listenv_0.7.0.tar.gz \
tidyverse_1.2.1.tar.gz \
promises_1.0.1.tar.gz \
future_1.12.0.tar.gz \
doMC_1.3.5.tar.gz \
foreach_1.4.4.tar.gz \
doParallel_1.0.14.tar.gz \
furrr_0.1.0.tar.gz \
drat_0.1.4.tar.gz \
tidygraph_1.1.2.tar.gz \
here_0.1.tar.gz \
rticles_0.7.tar.gz \
styler_1.1.0.tar.gz \
lintr_1.0.3.tar.gz \
testthat_2.0.1.tar.gz \
reprex_0.2.1.tar.gz \
microbenchmark_1.4-6.tar.gz \
bench_1.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/pryr_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/profvis_0.3.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RcppArmadillo_0.9.200.7.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/servr_0.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xaringan_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rsconnect_0.8.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/PKI_0.1-5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RJSONIO_1.3-1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/packrat_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/highlight_0.4.7.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgdown_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bookdown_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/blogdown_0.11.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cowplot_0.9.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/influenceR_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Rook_1.1-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rgexf_0.15.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/visNetwork_2.0.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/DiagrammeR_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/farver_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tweenr_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/polyclip_1.10-0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggforce_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RgoogleMaps_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rjson_0.2.20.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mapproj_1.2.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/jpeg_0.1-8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/geosphere_1.5-7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggmap_3.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggraph_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/shiny_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/shinyjs_1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/flexdashboard_0.5.1.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
pryr_0.1.4.tar.gz \
profvis_0.3.5.tar.gz \
RcppArmadillo_0.9.200.7.1.tar.gz \
servr_0.13.tar.gz \
xaringan_0.9.tar.gz \
PKI_0.1-5.1.tar.gz \
RJSONIO_1.3-1.1.tar.gz \
packrat_0.5.0.tar.gz \
rsconnect_0.8.13.tar.gz \
highlight_0.4.7.2.tar.gz \
pkgdown_1.3.0.tar.gz \
bookdown_0.9.tar.gz \
blogdown_0.11.tar.gz \
cowplot_0.9.4.tar.gz \
influenceR_0.1.0.tar.gz \
Rook_1.1-1.tar.gz \
rgexf_0.15.3.tar.gz \
visNetwork_2.0.5.tar.gz \
DiagrammeR_1.0.0.tar.gz \
farver_1.1.0.tar.gz \
tweenr_1.0.1.tar.gz \
polyclip_1.10-0.tar.gz \
ggforce_0.2.1.tar.gz \
jpeg_0.1-8.tar.gz \
RgoogleMaps_1.4.3.tar.gz \
rjson_0.2.20.tar.gz \
mapproj_1.2.6.tar.gz \
geosphere_1.5-7.tar.gz \
ggmap_3.0.0.tar.gz \
ggraph_1.0.2.tar.gz \
shiny_1.2.0.tar.gz \
shinyjs_1.0.tar.gz \
flexdashboard_0.5.1.1.tar.gz
RUN rm \
pryr_0.1.4.tar.gz \
profvis_0.3.5.tar.gz \
RcppArmadillo_0.9.200.7.1.tar.gz \
servr_0.13.tar.gz \
xaringan_0.9.tar.gz \
PKI_0.1-5.1.tar.gz \
RJSONIO_1.3-1.1.tar.gz \
packrat_0.5.0.tar.gz \
r | null | maintenance/other |
connect" | # mccahill/r-studio
#
# VERSION 1.4
FROM ubuntu:18.04
MAINTAINER Mark McCahill "mark.mccahill@duke.edu"
RUN apt-get update ; \
apt-get install gnupg2 -y
# get R from a CRAN archive (we want the 3.5 version of R)
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu bionic-cran35/" >> /etc/apt/sources.list
RUN DEBIAN_FRONTEND=noninteractive apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
RUN apt-get update ; \
apt-get dist-upgrade -y
# we want OpenBLAS for faster linear algebra as described here: http://brettklamer.com/diversions/statistical/faster-blas-in-r/
RUN apt-get install -y \
apt-utils \
libopenblas-base
RUN apt-get update ; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
r-base \
r-base-dev \
vim \
less \
net-tools \
inetutils-ping \
curl \
git \
telnet \
nmap \
socat \
software-properties-common \
wget \
sudo
RUN apt-get update ; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libcurl4-gnutls-dev \
libgit2-dev \
libxml2-dev \
libssl-dev \
libudunits2-dev \
libpoppler-cpp-dev
# we need TeX for the rmarkdown package in RStudio, and pandoc is also useful
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive \
texlive-base \
texlive-latex-extra \
texlive-pstricks \
pandoc
# R-Studio
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdebi-core \
libapparmor1
# RUN DEBIAN_FRONTEND=noninteractive wget https://download2.rstudio.org/rstudio-server-1.1.383-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive wget https://s3.amazonaws.com/rstudio-ide-build/server/trusty/amd64/rstudio-server-1.2.907-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive gdebi --n rstudio-server-1.2.907-amd64.deb
RUN rm rstudio-server-1.2.907-amd64.deb
# update the R packages we will need for knitr
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/xfun_0.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/knitr_1.22.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/yaml_2.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Rcpp_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/htmltools_0.3.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/caTools_1.17.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bitops_1.0-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/digest_0.6.18.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/glue_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringr_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/markdown_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/highr_0.8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/formatR_1.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/evaluate_0.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mime_0.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringi_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/magrittr_1.5.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
bitops_1.0-6.tar.gz \
caTools_1.17.1.2.tar.gz \
digest_0.6.18.tar.gz \
Rcpp_1.0.1.tar.gz \
htmltools_0.3.6.tar.gz \
yaml_2.2.0.tar.gz \
stringi_1.4.3.tar.gz \
magrittr_1.5.tar.gz \
mime_0.6.tar.gz \
glue_1.3.1.tar.gz \
stringr_1.4.0.tar.gz \
highr_0.8.tar.gz \
formatR_1.6.tar.gz \
evaluate_0.13.tar.gz \
markdown_0.9.tar.gz \
xfun_0.5.tar.gz \
knitr_1.22.tar.gz
RUN rm \
evaluate_0.13.tar.gz \
formatR_1.6.tar.gz \
highr_0.8.tar.gz \
markdown_0.9.tar.gz \
stringi_1.4.3.tar.gz \
magrittr_1.5.tar.gz \
glue_1.3.1.tar.gz \
stringr_1.4.0.tar.gz \
xfun_0.5.tar.gz \
knitr_1.22.tar.gz \
yaml_2.2.0.tar.gz \
Rcpp_1.0.1.tar.gz \
htmltools_0.3.6.tar.gz \
caTools_1.17.1.2.tar.gz \
bitops_1.0-6.tar.gz \
digest_0.6.18.tar.gz \
mime_0.6.tar.gz
# dependency for R XML library
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libxml2 \
libxml2-dev \
libssl-dev
# R packages we need for devtools - and we need devtools to be able to update the rmarkdown package
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/processx_3.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ps_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/callr_3.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/crayon_1.3.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/assertthat_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cli_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/desc_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/prettyunits_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/backports_1.1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rprojroot_1.3-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/withr_2.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgbuild_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rlang_0.3.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rstudioapi_0.10.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgload_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rcmdcheck_1.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/remotes_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xopen_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/clipr_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/clisymbols_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sessioninfo_1.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/usethis_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sys_3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/askpass_1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/openssl_1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/brew_1.0-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Archive/roxygen2/roxygen2_5.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/fs_1.2.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gh_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rversions_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/git2r_0.25.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/devtools_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/R6_2.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/httr_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RCurl_1.95-4.12.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/BH_1.69.0-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xml2_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/curl_3.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/jsonlite_1.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ini_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/downloader_0.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/memoise_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/plyr_1.8.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/XML_3.98-1.19.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/whisker_0.3-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bitops_1.0-6.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
ps_1.3.0.tar.gz \
R6_2.4.0.tar.gz \
processx_3.3.0.tar.gz \
callr_3.2.0.tar.gz \
crayon_1.3.4.tar.gz \
assertthat_0.2.1.tar.gz \
cli_1.1.0.tar.gz \
backports_1.1.3.tar.gz \
rprojroot_1.3-2.tar.gz \
desc_1.2.0.tar.gz \
prettyunits_1.0.2.tar.gz \
withr_2.1.2.tar.gz \
pkgbuild_1.0.3.tar.gz \
rlang_0.3.3.tar.gz \
rstudioapi_0.10.tar.gz \
pkgload_1.0.2.tar.gz \
xopen_1.0.0.tar.gz \
sessioninfo_1.1.1.tar.gz \
rcmdcheck_1.3.2.tar.gz \
remotes_2.0.2.tar.gz \
whisker_0.3-2.tar.gz \
git2r_0.25.2.tar.gz \
fs_1.2.7.tar.gz \
ini_0.3.1.tar.gz \
jsonlite_1.6.tar.gz \
sys_3.1.tar.gz \
askpass_1.1.tar.gz \
openssl_1.3.tar.gz \
curl_3.3.tar.gz \
httr_1.4.0.tar.gz \
gh_1.0.1.tar.gz \
clipr_0.5.0.tar.gz \
clisymbols_1.2.0.tar.gz \
usethis_1.4.0.tar.gz \
memoise_1.1.0.tar.gz \
bitops_1.0-6.tar.gz \
RCurl_1.95-4.12.tar.gz \
plyr_1.8.4.tar.gz \
devtools_2.0.1.tar.gz \
brew_1.0-6.tar.gz \
roxygen2_5.0.1.tar.gz \
XML_3.98-1.19.tar.gz \
BH_1.69.0-1.tar.gz \
xml2_1.2.0.tar.gz \
rversions_1.0.3.tar.gz \
downloader_0.4.tar.gz
RUN rm \
ps_1.3.0.tar.gz \
callr_3.2.0.tar.gz \
R6_2.4.0.tar.gz \
processx_3.3.0.tar.gz \
crayon_1.3.4.tar.gz \
assertthat_0.2.1.tar.gz \
cli_1.1.0.tar.gz \
desc_1.2.0.tar.gz \
prettyunits_1.0.2.tar.gz \
backports_1.1.3.tar.gz \
rprojroot_1.3-2.tar.gz \
withr_2.1.2.tar.gz \
pkgbuild_1.0.3.tar.gz \
rlang_0.3.3.tar.gz \
rstudioapi_0.10.tar.gz \
clipr_0.5.0.tar.gz \
clisymbols_1.2.0.tar.gz \
pkgload_1.0.2.tar.gz \
sessioninfo_1.1.1.tar.gz \
xopen_1.0.0.tar.gz \
rcmdcheck_1.3.2.tar.gz \
remotes_2.0.2.tar.gz \
usethis_1.4.0.tar.gz \
ini_0.3.1.tar.gz \
jsonlite_1.6.tar.gz \
memoise_1.1.0.tar.gz \
whisker_0.3-2.tar.gz \
bitops_1.0-6.tar.gz \
RCurl_1.95-4.12.tar.gz \
plyr_1.8.4.tar.gz \
httr_1.4.0.tar.gz \
sys_3.1.tar.gz \
askpass_1.1.tar.gz \
openssl_1.3.tar.gz \
brew_1.0-6.tar.gz \
roxygen2_5.0.1.tar.gz \
BH_1.69.0-1.tar.gz \
XML_3.98-1.19.tar.gz \
xml2_1.2.0.tar.gz \
curl_3.3.tar.gz \
rversions_1.0.3.tar.gz \
git2r_0.25.2.tar.gz \
devtools_2.0.1.tar.gz \
downloader_0.4.tar.gz
# the CRAN install from source fails because a server at MIT will not respond
# install from source
ADD ./conf /r-studio
#RUN R CMD BATCH /r-studio/install-nloptr.R
#RUN rm /install-nloptr.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/nloptr_1.2.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
nloptr_1.2.1.tar.gz
RUN rm \
nloptr_1.2.1.tar.gz
# libraries Eric Green wanted
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/lubridate_1.7.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lazyeval_0.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/utf8_1.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/fansi_0.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pillar_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgconfig_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tibble_2.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggplot2_3.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RColorBrewer_1.1-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dichromat_2.0-0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/colorspace_1.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/munsell_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/labeling_0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/viridisLite_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/scales_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stargazer_5.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reshape2_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gtable_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/proto_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/minqa_1.2.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RcppEigen_0.3.3.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lme4_1.1-21.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
lubridate_1.7.4.tar.gz \
gtable_0.3.0.tar.gz \
RColorBrewer_1.1-2.tar.gz \
dichromat_2.0-0.tar.gz \
colorspace_1.4-1.tar.gz \
munsell_0.5.0.tar.gz \
labeling_0.3.tar.gz \
viridisLite_0.3.0.tar.gz \
scales_1.0.0.tar.gz \
proto_1.0.0.tar.gz \
reshape2_1.4.3.tar.gz \
lazyeval_0.2.2.tar.gz \
utf8_1.1.4.tar.gz \
fansi_0.4.0.tar.gz \
pillar_1.3.1.tar.gz \
pkgconfig_2.0.2.tar.gz \
tibble_2.1.1.tar.gz \
ggplot2_3.1.0.tar.gz \
stargazer_5.2.2.tar.gz \
minqa_1.2.4.tar.gz \
RcppEigen_0.3.3.5.0.tar.gz \
lme4_1.1-21.tar.gz
RUN rm \
lubridate_1.7.4.tar.gz \
gtable_0.3.0.tar.gz \
RColorBrewer_1.1-2.tar.gz \
dichromat_2.0-0.tar.gz \
colorspace_1.4-1.tar.gz \
munsell_0.5.0.tar.gz \
labeling_0.3.tar.gz \
viridisLite_0.3.0.tar.gz \
scales_1.0.0.tar.gz \
proto_1.0.0.tar.gz \
reshape2_1.4.3.tar.gz \
lazyeval_0.2.2.tar.gz \
utf8_1.1.4.tar.gz \
fansi_0.4.0.tar.gz \
pillar_1.3.1.tar.gz \
pkgconfig_2.0.2.tar.gz \
tibble_2.1.1.tar.gz \
ggplot2_3.1.0.tar.gz \
stargazer_5.2.2.tar.gz \
minqa_1.2.4.tar.gz \
RcppEigen_0.3.3.5.0.tar.gz \
lme4_1.1-21.tar.gz
# more libraries Mine Cetinakya-Rundel asked for
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/openintro_1.7.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bindr_0.1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bindrcpp_0.2.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/plogr_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/purrr_0.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidyselect_0.2.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dplyr_0.8.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/DBI_1.0.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
openintro_1.7.1.tar.gz \
DBI_1.0.0.tar.gz \
plogr_0.2.0.tar.gz \
bindr_0.1.1.tar.gz \
bindrcpp_0.2.2.tar.gz \
purrr_0.3.2.tar.gz \
tidyselect_0.2.5.tar.gz \
dplyr_0.8.0.1.tar.gz
RUN rm \
openintro_1.7.1.tar.gz \
DBI_1.0.0.tar.gz \
bindr_0.1.1.tar.gz \
bindrcpp_0.2.2.tar.gz \
plogr_0.2.0.tar.gz \
purrr_0.3.2.tar.gz \
tidyselect_0.2.5.tar.gz \
dplyr_0.8.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/chron_2.3-53.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/data.table_1.12.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rematch_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cellranger_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidyr_0.8.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/googlesheets_0.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/hms_0.4.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/readr_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/selectr_0.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rvest_0.3.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pbkrtest_0.4-7.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
chron_2.3-53.tar.gz \
data.table_1.12.0.tar.gz \
rematch_1.0.1.tar.gz \
cellranger_1.1.0.tar.gz \
tidyr_0.8.3.tar.gz \
hms_0.4.2.tar.gz \
readr_1.3.1.tar.gz \
googlesheets_0.3.0.tar.gz \
selectr_0.4-1.tar.gz \
rvest_0.3.2.tar.gz \
pbkrtest_0.4-7.tar.gz
RUN rm \
chron_2.3-53.tar.gz \
data.table_1.12.0.tar.gz \
rematch_1.0.1.tar.gz \
cellranger_1.1.0.tar.gz \
tidyr_0.8.3.tar.gz \
googlesheets_0.3.0.tar.gz \
hms_0.4.2.tar.gz \
readr_1.3.1.tar.gz \
selectr_0.4-1.tar.gz \
rvest_0.3.2.tar.gz \
pbkrtest_0.4-7.tar.gz
# Shiny
#RUN wget https://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.5.3.838-amd64.deb
RUN wget https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.7.907-amd64.deb
RUN DEBIAN_FRONTEND=noninteractive gdebi -n shiny-server-1.5.7.907-amd64.deb
RUN rm shiny-server-1.5.7.907-amd64.deb
RUN R CMD BATCH /r-studio/install-Shiny.R
RUN rm /install-Shiny.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/SparseM_1.77.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/MatrixModels_0.4-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/quantreg_5.38.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sp_1.3-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/maptools_0.9-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/haven_2.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ellipsis_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/forcats_0.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/readxl_1.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/zip_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/openxlsx_4.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rio_0.5.16.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/abind_1.4-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/carData_3.0-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/car_3.0-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaicData_0.17.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/latticeExtra_0.6-28.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gridExtra_2.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggdendro_0.1-20.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mnormt_1.5-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/psych_1.8.12.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/generics_0.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/broom_0.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reshape_0.8.8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/progress_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/GGally_1.4.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggstance_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggformula_0.9.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaicCore_0.6.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggrepel_0.8.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/base64enc_0.1-3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/crosstalk_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/htmlwidgets_1.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/png_0.1-7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/raster_2.8-19.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/viridis_0.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/leaflet_2.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mosaic_1.5.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
SparseM_1.77.tar.gz \
MatrixModels_0.4-1.tar.gz \
quantreg_5.38.tar.gz \
sp_1.3-1.tar.gz \
maptools_0.9-5.tar.gz \
ellipsis_0.1.0.tar.gz \
forcats_0.4.0.tar.gz \
haven_2.1.0.tar.gz \
progress_1.2.0.tar.gz \
readxl_1.3.1.tar.gz \
zip_2.0.1.tar.gz \
openxlsx_4.1.0.tar.gz \
rio_0.5.16.tar.gz \
abind_1.4-5.tar.gz \
carData_3.0-2.tar.gz \
car_3.0-2.tar.gz \
mosaicData_0.17.0.tar.gz \
latticeExtra_0.6-28.tar.gz \
gridExtra_2.3.tar.gz \
ggdendro_0.1-20.tar.gz \
mnormt_1.5-5.tar.gz \
psych_1.8.12.tar.gz \
generics_0.0.2.tar.gz \
broom_0.5.1.tar.gz \
reshape_0.8.8.tar.gz \
GGally_1.4.0.tar.gz \
mosaicCore_0.6.0.tar.gz \
ggstance_0.3.1.tar.gz \
ggformula_0.9.1.tar.gz \
ggrepel_0.8.0.tar.gz \
base64enc_0.1-3.tar.gz \
crosstalk_1.0.0.tar.gz \
htmlwidgets_1.3.tar.gz \
png_0.1-7.tar.gz \
raster_2.8-19.tar.gz \
viridis_0.5.1.tar.gz \
leaflet_2.0.2.tar.gz \
mosaic_1.5.0.tar.gz
RUN rm \
SparseM_1.77.tar.gz \
MatrixModels_0.4-1.tar.gz \
quantreg_5.38.tar.gz \
sp_1.3-1.tar.gz \
maptools_0.9-5.tar.gz \
ellipsis_0.1.0.tar.gz \
forcats_0.4.0.tar.gz \
haven_2.1.0.tar.gz \
readxl_1.3.1.tar.gz \
zip_2.0.1.tar.gz \
openxlsx_4.1.0.tar.gz \
rio_0.5.16.tar.gz \
abind_1.4-5.tar.gz \
carData_3.0-2.tar.gz \
car_3.0-2.tar.gz \
mosaicData_0.17.0.tar.gz \
latticeExtra_0.6-28.tar.gz \
gridExtra_2.3.tar.gz \
ggdendro_0.1-20.tar.gz \
mnormt_1.5-5.tar.gz \
psych_1.8.12.tar.gz \
generics_0.0.2.tar.gz \
broom_0.5.1.tar.gz \
reshape_0.8.8.tar.gz \
progress_1.2.0.tar.gz \
GGally_1.4.0.tar.gz \
mosaicCore_0.6.0.tar.gz \
ggstance_0.3.1.tar.gz \
ggformula_0.9.1.tar.gz \
ggrepel_0.8.0.tar.gz \
base64enc_0.1-3.tar.gz \
crosstalk_1.0.0.tar.gz \
htmlwidgets_1.3.tar.gz \
png_0.1-7.tar.gz \
raster_2.8-19.tar.gz \
leaflet_2.0.2.tar.gz \
viridis_0.5.1.tar.gz \
mosaic_1.5.0.tar.gz
# Cliburn Chan requested these:
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/RColorBrewer_1.1-2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/maps_3.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/zoo_1.8-5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/gcookbook_2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/corrplot_0.84.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
RColorBrewer_1.1-2.tar.gz \
maps_3.3.0.tar.gz \
zoo_1.8-5.tar.gz \
gcookbook_2.0.tar.gz \
corrplot_0.84.tar.gz
RUN rm \
RColorBrewer_1.1-2.tar.gz \
maps_3.3.0.tar.gz \
zoo_1.8-5.tar.gz \
gcookbook_2.0.tar.gz \
corrplot_0.84.tar.gz
# install rmarkdown
RUN R CMD BATCH /r-studio/install-rmarkdown.R
RUN rm /install-rmarkdown.Rout
# Cliburn also wanted these
# but they have mega-dependencies, so intall them the other way
RUN R CMD BATCH /r-studio/install-dendextend.R
RUN rm /install-dendextend.Rout
RUN R CMD BATCH /r-studio/install-igraph.R
RUN rm /install-igraph.Rout
# install sparklyr so we can do Spark via Livy
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/config_0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/dbplyr_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rappdirs_0.3.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/r2d3_0.2.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/forge_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/sparklyr_1.0.0.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
config_0.3.tar.gz \
dbplyr_1.3.0.tar.gz \
rappdirs_0.3.1.tar.gz \
r2d3_0.2.3.tar.gz \
forge_0.2.0.tar.gz \
sparklyr_1.0.0.tar.gz
RUN rm \
config_0.3.tar.gz \
dbplyr_1.3.0.tar.gz \
rappdirs_0.3.1.tar.gz \
r2d3_0.2.3.tar.gz \
forge_0.2.0.tar.gz \
sparklyr_1.0.0.tar.gz
# some more TeX so that papaja can be installed and students can create APA templates in Rmarkdown
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive \
texlive-publishers \
texlive-fonts-extra \
texlive-latex-extra \
texlive-humanities \
lmodern
# papaja
RUN R CMD BATCH /r-studio/install-papaja.R
RUN rm /install-papaja.Rout
# install templates and examples from Reed and the Tufte package
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/BHH2_2016.05.31.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
BHH2_2016.05.31.tar.gz
RUN rm \
BHH2_2016.05.31.tar.gz
RUN R CMD BATCH /r-studio/install-reed.R
RUN rm /install-reed.Rout
# a couple dependencies for Eric Greene's tidycensus
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libproj-dev \
libudunits2-0 \
libudunits2-dev \
software-properties-common
# we need gdal > 2
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdal-bin \
python-gdal \
libgdal-dev
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/rgdal_1.4-3.tar.gz \
https://cran.r-project.org/src/contrib/Archive/rgeos/rgeos_0.3-28.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/uuid_0.1-2.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
rgdal_1.4-3.tar.gz \
rgeos_0.3-28.tar.gz \
uuid_0.1-2.tar.gz
RUN rm \
rgdal_1.4-3.tar.gz \
rgeos_0.3-28.tar.gz \
uuid_0.1-2.tar.gz
RUN R CMD BATCH /r-studio/install-rappdirs.R
RUN rm /install-rappdirs.Rout
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/tigris_0.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidycensus_0.9.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
tigris_0.7.tar.gz \
tidycensus_0.9.tar.gz
RUN rm \
tigris_0.7.tar.gz \
tidycensus_0.9.tar.gz
# new packages for fall 2018
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/tidyverse_1.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/promises_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/future_1.12.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/doMC_1.3.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/foreach_1.4.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/doParallel_1.0.14.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/furrr_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/drat_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tidygraph_1.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/here_0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rticles_0.7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/styler_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/lintr_1.0.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/testthat_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/reprex_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/microbenchmark_1.4-6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/modelr_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/globals_0.12.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/listenv_0.7.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/iterators_1.0.10.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/enc_0.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rematch2_2.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rex_1.1.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/stringdist_0.9.5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/praise_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/profmem_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bench_1.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
modelr_0.1.4.tar.gz \
prex_0.2.0.tar.gz \
reprex_0.2.1.tar.gz \
tidyverse_1.2.1.tar.gz \
promises_1.0.1.tar.gz \
globals_0.12.4.tar.gz \
listenv_0.7.0.tar.gz \
future_1.12.0.tar.gz \
iterators_1.0.10.tar.gz \
foreach_1.4.4.tar.gz \
doMC_1.3.5.tar.gz \
doParallel_1.0.14.tar.gz \
furrr_0.1.0.tar.gz \
drat_0.1.4.tar.gz \
tidygraph_1.1.2.tar.gz \
here_0.1.tar.gz \
rticles_0.7.tar.gz \
enc_0.2.0.tar.gz \
rematch2_2.0.1.tar.gz \
styler_1.1.0.tar.gz \
rex_1.1.2.tar.gz \
stringdist_0.9.5.1.tar.gz \
praise_1.0.0.tar.gz \
testthat_2.0.1.tar.gz \
lintr_1.0.3.tar.gz \
profmem_0.5.0.tar.gz \
microbenchmark_1.4-6.tar.gz \
bench_1.0.1.tar.gz
RUN rm \
modelr_0.1.4.tar.gz \
profmem_0.5.0.tar.gz \
praise_1.0.0.tar.gz \
rex_1.1.2.tar.gz \
stringdist_0.9.5.1.tar.gz \
enc_0.2.0.tar.gz \
rematch2_2.0.1.tar.gz \
globals_0.12.4.tar.gz \
iterators_1.0.10.tar.gz \
listenv_0.7.0.tar.gz \
tidyverse_1.2.1.tar.gz \
promises_1.0.1.tar.gz \
future_1.12.0.tar.gz \
doMC_1.3.5.tar.gz \
foreach_1.4.4.tar.gz \
doParallel_1.0.14.tar.gz \
furrr_0.1.0.tar.gz \
drat_0.1.4.tar.gz \
tidygraph_1.1.2.tar.gz \
here_0.1.tar.gz \
rticles_0.7.tar.gz \
styler_1.1.0.tar.gz \
lintr_1.0.3.tar.gz \
testthat_2.0.1.tar.gz \
reprex_0.2.1.tar.gz \
microbenchmark_1.4-6.tar.gz \
bench_1.0.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive wget \
https://archive.linux.duke.edu/cran/src/contrib/pryr_0.1.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/profvis_0.3.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RcppArmadillo_0.9.200.7.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/servr_0.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/xaringan_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rsconnect_0.8.13.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/PKI_0.1-5.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RJSONIO_1.3-1.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/packrat_0.5.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/highlight_0.4.7.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/pkgdown_1.3.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/bookdown_0.9.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/blogdown_0.11.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/cowplot_0.9.4.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/influenceR_0.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/Rook_1.1-1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rgexf_0.15.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/visNetwork_2.0.5.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/DiagrammeR_1.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/farver_1.1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/tweenr_1.0.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/polyclip_1.10-0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggforce_0.2.1.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/RgoogleMaps_1.4.3.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/rjson_0.2.20.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/mapproj_1.2.6.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/jpeg_0.1-8.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/geosphere_1.5-7.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggmap_3.0.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/ggraph_1.0.2.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/shiny_1.2.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/shinyjs_1.0.tar.gz \
https://archive.linux.duke.edu/cran/src/contrib/flexdashboard_0.5.1.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive R CMD INSTALL \
pryr_0.1.4.tar.gz \
profvis_0.3.5.tar.gz \
RcppArmadillo_0.9.200.7.1.tar.gz \
servr_0.13.tar.gz \
xaringan_0.9.tar.gz \
PKI_0.1-5.1.tar.gz \
RJSONIO_1.3-1.1.tar.gz \
packrat_0.5.0.tar.gz \
rsconnect_0.8.13.tar.gz \
highlight_0.4.7.2.tar.gz \
pkgdown_1.3.0.tar.gz \
bookdown_0.9.tar.gz \
blogdown_0.11.tar.gz \
cowplot_0.9.4.tar.gz \
influenceR_0.1.0.tar.gz \
Rook_1.1-1.tar.gz \
rgexf_0.15.3.tar.gz \
visNetwork_2.0.5.tar.gz \
DiagrammeR_1.0.0.tar.gz \
farver_1.1.0.tar.gz \
tweenr_1.0.1.tar.gz \
polyclip_1.10-0.tar.gz \
ggforce_0.2.1.tar.gz \
jpeg_0.1-8.tar.gz \
RgoogleMaps_1.4.3.tar.gz \
rjson_0.2.20.tar.gz \
mapproj_1.2.6.tar.gz \
geosphere_1.5-7.tar.gz \
ggmap_3.0.0.tar.gz \
ggraph_1.0.2.tar.gz \
shiny_1.2.0.tar.gz \
shinyjs_1.0.tar.gz \
flexdashboard_0.5.1.1.tar.gz
RUN rm \
pryr_0.1.4.tar.gz \
profvis_0.3.5.tar.gz \
RcppArmadillo_0.9.200.7.1.tar.gz \
servr_0.13.tar.gz \
xaringan_0.9.tar.gz \
PKI_0.1-5.1.tar.gz \
RJSONIO_1.3-1.1.tar.gz \
packrat_0.5.0.tar.gz \
r | null | null | null | null | feature addition |
connect" | null | null | null | null | null | maintenance/other |
300 | 1324476da8d000b901c9863b7e324f3010f7db38 | add slapd. | add slapd.
| FROM debian:wheezy
MAINTAINER Semen Pisarev <s.a.pisarev@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
RUN echo "APT::Install-Recommends 0;" >> /etc/apt/apt.conf.d/01norecommends \
&& echo "APT::Install-Suggests 0;" >> /etc/apt/apt.conf.d/01norecommends
ENV IREDMAIL_VERSION 0.9.2
# TODO: Replace hostname
ENV HOSTNAME mx.phoneyou.net
ENV DOCKER_LDAP_DN dc=phoneyou,dc=net
# Local sources (for speed-up)
COPY ./sources.list.163 /etc/apt/sources.list
# Install some necessary packages
RUN echo 'deb http://inverse.ca/debian wheezy wheezy' > \
/etc/apt/sources.list.d/00-inverse-ca.list \
&& apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4 \
&& apt-get -q update \
&& apt-get install -y -q \
apt-utils \
&& apt-get install -y -q \
curl \
wget \
bzip2 \
dialog \
openssl \
openldap \
rsync \
python-pygments \
python-ldap \
rsyslog \
dovecot-core \
dovecot-imapd \
dovecot-ldap \
dovecot-lmtpd \
dovecot-managesieved \
dovecot-mysql \
dovecot-pop3d \
dovecot-sieve \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /etc/apt/sources.list.d/00-inverse-ca.list
# Set working directory
WORKDIR /opt/iredmail
# Copy files, extract iRedMail, remove archive, copy & configure tools
COPY ./files ./
RUN cp -rl iRedMail-"${IREDMAIL_VERSION}"/* . \
&& rm -rf iRedMail-"${IREDMAIL_VERSION}"* \
&& mkdir -p /opt/itools \
&& cp ./tools/* /opt/itools \
&& mkdir -p /var/vmail/backup \
&& mv ./backup.sh /var/vmail/backup \
&& sed -i 's/dc=phoneyou,dc=net/'"$DOCKER_LDAP_DN"'/' \
/opt/itools/create_mail_user_OpenLDAP.py
# Fake `uname` and `hostname`
RUN mv /bin/uname /bin/uname_ \
&& mv /bin/hostname /bin/hostname_ \
&& cp -l ./hostname ./uname /bin/
# Set hostname
RUN echo $HOSTNAME > /etc/hostname \
&& echo $HOSTNAME > /etc/mailname \
&& mkdir -p /etc/apache2/ \
&& echo 'ServerName '$HOSTNAME > /etc/apache2/httpd.conf
# Make link to Apache log files
RUN rm -rf /var/www/apache2/ \
&& mkdir -p /var/log/apache2/www/ /var/www/ \
&& ln -s /var/log/apache2/www/ /var/www/apache2 \
&& chown -R www-data:www-data /var/www/ /var/log/apache2/
# Make ClamAV socket file (to avoid installation warning)
RUN touch /tmp/clamd.socket \
&& chmod -Rf 766 /tmp/clamd.socket
# Avoid getty errors in log files
RUN sed -ri 's/^[1-6]:[2-6]{2,4}:.*/#\0/' /etc/inittab
# Enable services startup during install,
# run iRedMail installation & remove unneeded,
# disable services startup during install
RUN sed -i 's/ 101/ 0/' /usr/sbin/policy-rc.d \
&& IREDMAIL_DEBUG='NO' \
AUTO_USE_EXISTING_CONFIG_FILE=y \
AUTO_INSTALL_WITHOUT_CONFIRM=y \
AUTO_CLEANUP_REMOVE_SENDMAIL=y \
AUTO_CLEANUP_REMOVE_MOD_PYTHON=y \
AUTO_CLEANUP_REPLACE_FIREWALL_RULES=n \
AUTO_CLEANUP_RESTART_IPTABLES=y \
AUTO_CLEANUP_REPLACE_MYSQL_CONFIG=y \
AUTO_CLEANUP_RESTART_POSTFIX=n \
bash iRedMail.sh \
&& apt-get purge -y -q dialog apt-utils \
&& apt-get autoremove -y -q \
&& apt-get clean -y -q \
&& rm -rf /var/lib/apt/lists/* \
&& sed -i 's/ 0/ 101/' /usr/sbin/policy-rc.d
# Process initial CSV
RUN if [ -e mail_users.csv ]; \
then \
python /opt/itools/create_mail_user_OpenLDAP.py ./mail_users.csv \
&& mv ./mail_users.csv.ldif ldifs/20_mail_users.ldif; \
fi
# Run slapd as root
RUN rm -rf /etc/ldap/slapd.d \
&& sed -i 's/openldap/root/g' /etc/default/slapd
# TODO: Replace ldap password (LDAP_ROOTPW)
# Copy initial ldif and add all ldifs to ldap
RUN cp /opt/iredmail/conf/ldap_init.ldif ldifs/00_ldap_init.ldif \
&& service slapd start \
&& for f in ldifs/*.ldif; \
do \
( ldapadd -D 'cn=Manager,'"$DOCKER_LDAP_DN" -w phoneyou$ldap -f "$f" || \
ldapmodify -v -D 'cn=Manager,'"$DOCKER_LDAP_DN" -w phoneyou$ldap -f "$f" ); \
done
# Encrypy iRedMail.tips
# TODO: Replace tips password (random)
RUN echo 'YWYxNWY5NTMwZjVmNmNhOTNmZDY1Zj' | \
openssl enc -in /opt/iredmail/iRedMail.tips -out /opt/iRedMail.tips.enc \
-e -aes256 -pass stdin
# Schedule backup script
RUN (crontab -l 2>/dev/null; \
echo "0 4 * * * /bin/bash /var/vmail/backup/backup.sh") | \
crontab -
# Force users to change passwords
RUN echo "plugins.append('ldap_force_change_password_in_days')" \
>> /opt/iredapd/settings.py \
&& echo "CHANGE_PASSWORD_DAYS = 365" >> /opt/iredapd/settings.py \
&& echo "CHANGE_PASSWORD_MESSAGE = 'Please change your password in webmail: https://$HOSTNAME/mail/'" \
>> /opt/iredapd/settings.py
WORKDIR /opt
# Remove distr, return `uname` and `hostname`
RUN rm -rf /opt/iredmail /root/.bash_history \
&& rm -f /bin/uname /bin/hostname \
&& mv /bin/uname_ /bin/uname \
&& mv /bin/hostname_ /bin/hostname
# Open Ports:
# Apache: 80/tcp, 443/tcp Postfix: 25/tcp, 587/tcp
# Dovecot: 110/tcp, 143/tcp, 993/tcp, 995/tcp OpenLDAP: 389/tcp, 636/tcp
EXPOSE 80 443 25 587 110 143 993 995 389 636
# Volume for backups
VOLUME /backups
# Start all services
CMD ["/sbin/init","2"]
| FROM debian:wheezy
MAINTAINER Semen Pisarev <s.a.pisarev@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
RUN echo "APT::Install-Recommends 0;" >> /etc/apt/apt.conf.d/01norecommends \
&& echo "APT::Install-Suggests 0;" >> /etc/apt/apt.conf.d/01norecommends
ENV IREDMAIL_VERSION 0.9.2
# TODO: Replace hostname
ENV HOSTNAME mx.phoneyou.net
ENV DOCKER_LDAP_DN dc=phoneyou,dc=net
# Local sources (for speed-up)
COPY ./sources.list.163 /etc/apt/sources.list
# Install some necessary packages
RUN echo 'deb http://inverse.ca/debian wheezy wheezy' > \
/etc/apt/sources.list.d/00-inverse-ca.list \
&& apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4 \
&& apt-get -q update \
&& apt-get install -y -q \
apt-utils \
&& apt-get install -y -q \
curl \
wget \
bzip2 \
dialog \
openssl \
slapd \
rsync \
python-pygments \
python-ldap \
rsyslog \
dovecot-core \
dovecot-imapd \
dovecot-ldap \
dovecot-lmtpd \
dovecot-managesieved \
dovecot-mysql \
dovecot-pop3d \
dovecot-sieve \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /etc/apt/sources.list.d/00-inverse-ca.list
# Set working directory
WORKDIR /opt/iredmail
# Copy files, extract iRedMail, remove archive, copy & configure tools
COPY ./files ./
RUN cp -rl iRedMail-"${IREDMAIL_VERSION}"/* . \
&& rm -rf iRedMail-"${IREDMAIL_VERSION}"* \
&& mkdir -p /opt/itools \
&& cp ./tools/* /opt/itools \
&& mkdir -p /var/vmail/backup \
&& mv ./backup.sh /var/vmail/backup \
&& sed -i 's/dc=phoneyou,dc=net/'"$DOCKER_LDAP_DN"'/' \
/opt/itools/create_mail_user_OpenLDAP.py
# Fake `uname` and `hostname`
RUN mv /bin/uname /bin/uname_ \
&& mv /bin/hostname /bin/hostname_ \
&& cp -l ./hostname ./uname /bin/
# Set hostname
RUN echo $HOSTNAME > /etc/hostname \
&& echo $HOSTNAME > /etc/mailname \
&& mkdir -p /etc/apache2/ \
&& echo 'ServerName '$HOSTNAME > /etc/apache2/httpd.conf
# Make link to Apache log files
RUN rm -rf /var/www/apache2/ \
&& mkdir -p /var/log/apache2/www/ /var/www/ \
&& ln -s /var/log/apache2/www/ /var/www/apache2 \
&& chown -R www-data:www-data /var/www/ /var/log/apache2/
# Make ClamAV socket file (to avoid installation warning)
RUN touch /tmp/clamd.socket \
&& chmod -Rf 766 /tmp/clamd.socket
# Avoid getty errors in log files
RUN sed -ri 's/^[1-6]:[2-6]{2,4}:.*/#\0/' /etc/inittab
# Enable services startup during install,
# run iRedMail installation & remove unneeded,
# disable services startup during install
RUN sed -i 's/ 101/ 0/' /usr/sbin/policy-rc.d \
&& IREDMAIL_DEBUG='NO' \
AUTO_USE_EXISTING_CONFIG_FILE=y \
AUTO_INSTALL_WITHOUT_CONFIRM=y \
AUTO_CLEANUP_REMOVE_SENDMAIL=y \
AUTO_CLEANUP_REMOVE_MOD_PYTHON=y \
AUTO_CLEANUP_REPLACE_FIREWALL_RULES=n \
AUTO_CLEANUP_RESTART_IPTABLES=y \
AUTO_CLEANUP_REPLACE_MYSQL_CONFIG=y \
AUTO_CLEANUP_RESTART_POSTFIX=n \
bash iRedMail.sh \
&& apt-get purge -y -q dialog apt-utils \
&& apt-get autoremove -y -q \
&& apt-get clean -y -q \
&& rm -rf /var/lib/apt/lists/* \
&& sed -i 's/ 0/ 101/' /usr/sbin/policy-rc.d
# Process initial CSV
RUN if [ -e mail_users.csv ]; \
then \
python /opt/itools/create_mail_user_OpenLDAP.py ./mail_users.csv \
&& mv ./mail_users.csv.ldif ldifs/20_mail_users.ldif; \
fi
# Run slapd as root
RUN rm -rf /etc/ldap/slapd.d \
&& sed -i 's/openldap/root/g' /etc/default/slapd
# TODO: Replace ldap password (LDAP_ROOTPW)
# Copy initial ldif and add all ldifs to ldap
RUN cp /opt/iredmail/conf/ldap_init.ldif ldifs/00_ldap_init.ldif \
&& service slapd start \
&& for f in ldifs/*.ldif; \
do \
( ldapadd -D 'cn=Manager,'"$DOCKER_LDAP_DN" -w phoneyou$ldap -f "$f" || \
ldapmodify -v -D 'cn=Manager,'"$DOCKER_LDAP_DN" -w phoneyou$ldap -f "$f" ); \
done
# Encrypy iRedMail.tips
# TODO: Replace tips password (random)
RUN echo 'YWYxNWY5NTMwZjVmNmNhOTNmZDY1Zj' | \
openssl enc -in /opt/iredmail/iRedMail.tips -out /opt/iRedMail.tips.enc \
-e -aes256 -pass stdin
# Schedule backup script
RUN (crontab -l 2>/dev/null; \
echo "0 4 * * * /bin/bash /var/vmail/backup/backup.sh") | \
crontab -
# Force users to change passwords
RUN echo "plugins.append('ldap_force_change_password_in_days')" \
>> /opt/iredapd/settings.py \
&& echo "CHANGE_PASSWORD_DAYS = 365" >> /opt/iredapd/settings.py \
&& echo "CHANGE_PASSWORD_MESSAGE = 'Please change your password in webmail: https://$HOSTNAME/mail/'" \
>> /opt/iredapd/settings.py
WORKDIR /opt
# Remove distr, return `uname` and `hostname`
RUN rm -rf /opt/iredmail /root/.bash_history \
&& rm -f /bin/uname /bin/hostname \
&& mv /bin/uname_ /bin/uname \
&& mv /bin/hostname_ /bin/hostname
# Open Ports:
# Apache: 80/tcp, 443/tcp Postfix: 25/tcp, 587/tcp
# Dovecot: 110/tcp, 143/tcp, 993/tcp, 995/tcp OpenLDAP: 389/tcp, 636/tcp
EXPOSE 80 443 25 587 110 143 993 995 389 636
# Volume for backups
VOLUME /backups
# Start all services
CMD ["/sbin/init","2"]
| feature addition |
69 | 7ab359c3639d925b641e2e9c6195ddf35acd731b | Bumped source to 20200311-426bedf | Bumped source to 20200311-426bedf
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200311-865905c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200311-426bedf
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| maintenance/other |
157 | e6c9219191101a714488539ddf04b5f491b8c973 | add python-pip package, install websocket-client pip package | add python-pip package, install websocket-client pip package
useful for the slack client
| FROM ubuntu:yakkety
MAINTAINER Florian Klink <flokli@flokli.de>
RUN apt-get update && apt-get install -y dirmngr apt-transport-https
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E
RUN bash -c "echo 'deb https://weechat.org/ubuntu yakkety main' >/etc/apt/sources.list.d/weechat.list"
RUN bash -c "echo 'deb-src https://weechat.org/ubuntu yakkety main' >>/etc/apt/sources.list.d/weechat.list"
RUN apt-get update && apt-get install -y \
weechat weechat-plugins weechat-scripts \
bitlbee bitlbee-plugin-otr \
rxvt-unicode-256color
RUN locale-gen en_US.UTF-8
RUN locale-gen de_DE.UTF-8
RUN ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
ADD bitlbee.conf /etc/bitlbee/bitlbee.conf
ADD run.sh /run.sh
RUN chmod +x /run.sh
CMD ["/run.sh"]
| FROM ubuntu:yakkety
MAINTAINER Florian Klink <flokli@flokli.de>
RUN apt-get update && apt-get install -y dirmngr apt-transport-https
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E
RUN bash -c "echo 'deb https://weechat.org/ubuntu yakkety main' >/etc/apt/sources.list.d/weechat.list"
RUN bash -c "echo 'deb-src https://weechat.org/ubuntu yakkety main' >>/etc/apt/sources.list.d/weechat.list"
RUN apt-get update && apt-get install -y \
weechat weechat-plugins weechat-scripts \
python-pip \
bitlbee bitlbee-plugin-otr \
rxvt-unicode-256color
RUN locale-gen en_US.UTF-8
RUN locale-gen de_DE.UTF-8
RUN ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
ADD bitlbee.conf /etc/bitlbee/bitlbee.conf
RUN pip install websocket-client
ADD run.sh /run.sh
RUN chmod +x /run.sh
CMD ["/run.sh"]
| feature addition |
2135 | 5c7fa385590235d2911fda6c821bd9c0b1c15c9d | Bump debian from 11.3-slim to 11.4-slim in /dev/ci/docker_linux (#107865) | Bump debian from 11.3-slim to 11.4-slim in /dev/ci/docker_linux (#107865)
| # Flutter (https://flutter.dev) Development Environment for Linux
# ===============================================================
#
# This environment passes all Linux Flutter Doctor checks and is sufficient
# for building Android applications and running Flutter tests.
#
# To build iOS applications, a Mac development environment is necessary.
#
# This includes applications and sdks that are needed only by the CI system
# for performing pushes to production, and so this image is quite a bit larger
# than strictly needed for just building Flutter apps.
# Last manual update 2021-09-24 (changing this comment will re-build image)
FROM debian@sha256:f6957458017ec31c4e325a76f39d6323c4c21b0e31572efa006baa927a160891
MAINTAINER Flutter Developers <flutter-dev@googlegroups.com>
RUN apt-get update -y && \
apt-get upgrade -y
# Install basics
RUN apt-get install -y --no-install-recommends \
git \
wget \
curl \
zip \
unzip \
apt-transport-https \
ca-certificates \
gnupg
# Add repo for chrome stable
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | \
tee /etc/apt/sources.list.d/google-chrome.list
# Add repo for gcloud sdk and install it
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
RUN apt-get update && apt-get install -y google-cloud-sdk && \
gcloud config set core/disable_usage_reporting true && \
gcloud config set component_manager/disable_update_check true
# Add repo for OpenJDK 8 from JFrog.io
RUN wget -q -O - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
RUN echo 'deb [arch=amd64] https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bullseye main' | \
tee /etc/apt/sources.list.d/adoptopenjdk.list
# Install the dependencies needed for the rest of the build.
RUN apt-get update && apt-get install -y --no-install-recommends \
adoptopenjdk-8-hotspot \
build-essential \
default-jdk-headless \
gcc \
google-chrome-stable \
lib32stdc++6 \
libglu1-mesa \
libstdc++6 \
locales \
nodejs \
npm \
ruby \
ruby-dev && \
apt-get clean
ENV JAVA_HOME="/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64"
# Install the Android SDK Dependency.
ENV ANDROID_SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip"
ENV ANDROID_TOOLS_ROOT="/opt/android_sdk"
RUN mkdir -p "${ANDROID_TOOLS_ROOT}"
RUN mkdir -p ~/.android
# Silence warning.
RUN touch ~/.android/repositories.cfg
ENV ANDROID_SDK_ARCHIVE="${ANDROID_TOOLS_ROOT}/archive"
RUN wget --progress=dot:giga "${ANDROID_SDK_URL}" -O "${ANDROID_SDK_ARCHIVE}"
RUN unzip -q -d "${ANDROID_TOOLS_ROOT}" "${ANDROID_SDK_ARCHIVE}"
# Suppressing output of sdkmanager to keep log size down
# (it prints install progress WAY too often).
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "tools" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "build-tools;28.0.3" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "platforms;android-30" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "platform-tools" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "cmdline-tools;latest" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "extras;android;m2repository" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "extras;google;m2repository" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "patcher;v4" > /dev/null
RUN rm "${ANDROID_SDK_ARCHIVE}"
ENV PATH="${ANDROID_TOOLS_ROOT}/tools:${PATH}"
ENV PATH="${ANDROID_TOOLS_ROOT}/tools/bin:${PATH}"
# Silence warnings when accepting android licenses.
RUN mkdir -p ~/.android
RUN touch ~/.android/repositories.cfg
# Add npm to path.
ENV PATH="/usr/bin:${PATH}"
# Set locale to en_US
RUN locale-gen en_US "en_US.UTF-8" && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
ENV LANG en_US.UTF-8
# Install dependencies for desktop flutter run
RUN apt-get install -y --no-install-recommends \
clang \
cmake \
libgtk-3-dev \
ninja-build \
pkg-config \
x11-xserver-utils \
xauth \
xvfb && \
apt-get upgrade -y --no-install-recommends && \
apt-get clean
| null | maintenance/other |
342 | 89a9660bad6598b1529e3162a04dd07c80203dd0 | Add bird deb to dockerfile. | Add bird deb to dockerfile.
| FROM fastlynet101/base
MAINTAINER dbarroso@fastly.com
LABEL fastly.net101.name=bird
WORKDIR /root
RUN dpkg -i ./bird_1.6.3-1+xenial+1_amd64.deb
RUN apt-get install -y inotify-tools netcat
RUN mkdir /run/bird
COPY ./run.sh /bin/run.sh
COPY ./birdwatcher /bin/birdwatcher
COPY ./webserver /bin/webserver
ENTRYPOINT ["/bin/run.sh"]
| FROM fastlynet101/base
MAINTAINER dbarroso@fastly.com
LABEL fastly.net101.name=bird
WORKDIR /root
ADD bird_1.6.3-1+xenial+1_amd64.deb /
RUN DEBIAN_FRONTEND=noninteractive dpkg -i /bird_1.6.3-1+xenial+1_amd64.deb
RUN apt-get install -y inotify-tools netcat
RUN mkdir /run/bird
COPY ./run.sh /bin/run.sh
COPY ./birdwatcher /bin/birdwatcher
COPY ./webserver /bin/webserver
ENTRYPOINT ["/bin/run.sh"]
| code refactoring, maintenance/other |
2325 | dc1a5c687b1ec67581b535fe2c48b71eb431d4d4 | Bumped source to 20201214-8c2fdda | Bumped source to 20201214-8c2fdda
| FROM docker.pkg.github.com/dock0/arch/arch:20201214-b82e33b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | Not enough inforamtion |
2284 | 35ad5ec9de7041f4eacbb7b68e711a1524ef6d5b | bump shiny to 1.4.4 | bump shiny to 1.4.4
update shiny md5 hash
|
# docker build --no-cache -t math-server:latest --build-arg http_proxy="http://proxy:8080" --build-arg https_proxy="http://proxy:8080" .
# In case you're building the image behind a proxy, use
# docker build --no-cache -t math-server:latest --build-arg http_proxy="http://proxy:8080" --build-arg https_proxy="http://proxy:8080" .
# 8787 for RStudio
# 8000 for Jupyter
# # docker run -d -p 8787:8787 -p 8000:8000 --name ms1 math-server
FROM centos:7
MAINTAINER felipenoris <felipenoris@users.noreply.github.com>
WORKDIR /root
ENV JULIA_PKGDIR /usr/local/julia/share/julia/site
RUN echo "export PATH=/usr/local/sbin:/usr/local/bin:${PATH}" >> /etc/profile.d/local-bin.sh \
&& echo "export CPATH=/usr/include/glpk" >> /etc/profile.d/glpk-include.sh \
&& source /etc/profile
RUN yum update -y && yum install -y epel-release && yum clean all
RUN yum update -y && yum install -y \
p7zip \
p7zip-plugins \
bison \
bzip2 \
bzip2-devel \
cmake \
curl-devel \
expat-devel \
flex \
gcc \
gcc-c++ \
gcc-gfortran \
gettext-devel \
glibc-devel \
java-1.8.0-openjdk-devel \
lynx \
libcurl \
libcurl-devel \
libedit-devel libffi-devel \
libgcc \
libstdc++-static \
m4 \
make \
man \
nano \
nload \
htop \
openssl \
openssl098e \
openssl-devel \
patch \
perl-ExtUtils-MakeMaker \
svn \
unzip \
valgrind \
sqlite \
sqlite-devel \
vim \
wget \
zlib \
zlib-devel \
zip \
&& yum clean all
# GIT
# http://tecadmin.net/install-git-2-0-on-centos-rhel-fedora/#
ENV GIT_VER 2.9.3
RUN wget https://www.kernel.org/pub/software/scm/git/git-$GIT_VER.tar.gz \
&& tar xf git-$GIT_VER.tar.gz && cd git-$GIT_VER \
&& make -j"$(nproc --all)" prefix=/usr/local all \
&& make prefix=/usr/local -j"$(nproc --all)" install \
&& cd .. && rm -f git-$GIT_VER.tar.gz && rm -rf git-$GIT_VER
# Makes git use https by default
RUN git config --global url."https://".insteadOf git://
# llvm needs CMake 2.8.12.2 or higher
# https://cmake.org/download/
ENV CMAKE_VER_MAJ 3.6
ENV CMAKE_VER_MIN .1
ENV CMAKE_VER $CMAKE_VER_MAJ$CMAKE_VER_MIN
RUN wget https://cmake.org/files/v$CMAKE_VER_MAJ/cmake-$CMAKE_VER.tar.gz \
&& tar xf cmake-$CMAKE_VER.tar.gz && cd cmake-$CMAKE_VER \
&& ./bootstrap && make -j"$(nproc --all)" && make -j"$(nproc --all)" install \
&& cd .. && rm -rf cmake-$CMAKE_VER && rm -f cmake-$CMAKE_VER.tar.gz \
&& echo "export CMAKE_ROOT=/usr/local/share/cmake-$CMAKE_VER_MAJ" > /etc/profile.d/cmake-root.sh \
&& source /etc/profile
# Python 2
# https://github.com/h2oai/h2o-2/wiki/Installing-python-2.7-on-centos-6.3.-Follow-this-sequence-exactly-for-centos-machine-only
ENV PYTHON2_VER_MAJ 2.7
ENV PYTHON2_VER_MIN .11
ENV PYTHON2_VER $PYTHON2_VER_MAJ$PYTHON2_VER_MIN
RUN wget https://www.python.org/ftp/python/$PYTHON2_VER/Python-$PYTHON2_VER.tar.xz \
&& tar xf Python-$PYTHON2_VER.tar.xz \
&& cd Python-$PYTHON2_VER \
&& ./configure --prefix=/usr/local/python$PYTHON2_VER_MAJ --enable-shared --with-cxx-main=/usr/bin/g++ \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" altinstall \
&& echo "/usr/local/lib" > /etc/ld.so.conf.d/usrLocalLib.conf \
&& ldconfig \
&& cd .. && rm -f Python-$PYTHON2_VER.tar.xz && rm -rf Python-$PYTHON2_VER
# pip for Python 2
RUN curl -O https://bootstrap.pypa.io/get-pip.py \
&& /usr/local/python$PYTHON2_VER_MAJ/bin/python$PYTHON2_VER_MAJ get-pip.py \
&& rm -f get-pip.py
# Python 3
ENV PYTHON3_VER_MAJ 3.5
ENV PYTHON3_VER_MIN .1
ENV PYTHON3_VER $PYTHON3_VER_MAJ$PYTHON3_VER_MIN
RUN wget https://www.python.org/ftp/python/$PYTHON3_VER/Python-$PYTHON3_VER.tar.xz \
&& tar xf Python-$PYTHON3_VER.tar.xz && cd Python-$PYTHON3_VER \
&& ./configure --prefix=/usr/local --enable-shared --with-cxx-main=/usr/bin/g++ \
&& echo "zlib zlibmodule.c -I\$(prefix)/include -L\$(exec_prefix)/lib -lz" >> ./Modules/Setup \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" altinstall \
&& ln -s /usr/local/bin/python$PYTHON3_VER_MAJ /usr/local/bin/python3 \
&& ln -s /usr/local/bin/pip$PYTHON3_VER_MAJ /usr/local/bin/pip3 \
&& ldconfig \
&& cd .. && rm -f Python-$PYTHON3_VER.tar.xz && rm -rf Python-$PYTHON3_VER
# Upgrade pip
# https://pip.pypa.io/en/stable/installing/#upgrading-pip
RUN pip2 install -U pip
RUN pip3 install -U pip
# LLVM deps
# TODO: check if python-devel is needed
RUN yum -y install \
libedit-devel \
libffi-devel \
swig \
python-devel \
&& yum clean all
# LLVM
# Clang /tools/clang
# CompilerRT /projects/compiler-rt
# libc++ /projects/libcxx
# libc++abi /projects/libcxxabi
# lldb /tools/lldb
ENV LLVM_VER 3.7.1
RUN wget http://llvm.org/releases/$LLVM_VER/llvm-$LLVM_VER.src.tar.xz \
&& wget http://llvm.org/releases/$LLVM_VER/cfe-$LLVM_VER.src.tar.xz \
&& wget http://llvm.org/releases/$LLVM_VER/compiler-rt-$LLVM_VER.src.tar.xz \
&& wget http://llvm.org/releases/$LLVM_VER/libcxx-$LLVM_VER.src.tar.xz \
&& wget http://llvm.org/releases/$LLVM_VER/libcxxabi-$LLVM_VER.src.tar.xz \
&& wget http://llvm.org/releases/$LLVM_VER/lldb-$LLVM_VER.src.tar.xz \
&& mkdir llvm \
&& tar xf llvm-$LLVM_VER.src.tar.xz -C llvm --strip-components=1 \
&& mkdir llvm/tools/clang \
&& tar xf cfe-$LLVM_VER.src.tar.xz -C llvm/tools/clang --strip-components=1 \
&& mkdir llvm/projects/compiler-rt \
&& tar xf compiler-rt-$LLVM_VER.src.tar.xz -C llvm/projects/compiler-rt --strip-components=1 \
&& mkdir llvm/projects/libcxx \
&& tar xf libcxx-$LLVM_VER.src.tar.xz -C llvm/projects/libcxx --strip-components=1 \
&& mkdir llvm/projects/libcxxabi \
&& tar xf libcxxabi-$LLVM_VER.src.tar.xz -C llvm/projects/libcxxabi --strip-components=1 \
&& mkdir llvm/tools/lldb \
&& tar xf lldb-$LLVM_VER.src.tar.xz -C llvm/tools/lldb --strip-components=1 \
&& rm -f *tar.xz
# http://llvm.org/docs/CMake.html
# find / -iname 'ffi.h'
# cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_FFI=ON -DFFI_INCLUDE_DIR=/usr/lib64/libffi-3.0.5/include ../llvm
RUN mkdir ~/llvm_build \
&& cd ~/llvm_build \
&& ../llvm/configure --enable-shared
RUN cd ~/llvm_build \
&& make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 -j"$(nproc --all)" \
&& make -j"$(nproc --all)" install \
&& ln -s /usr/local/lib/libLLVM-$LLVM_VER.so /usr/local/lib/libLLVM.so \
&& ldconfig \
&& cd .. && rm -rf llvm_build && rm -rf llvm
# node
ENV NODE_VER 6.3.1
RUN wget https://github.com/nodejs/node/archive/v$NODE_VER.tar.gz \
&& tar xf v$NODE_VER.tar.gz && cd node-$NODE_VER \
&& ./configure \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" install \
&& cd .. && rm -f v$NODE_VER.tar.gz && rm -rf node-$NODE_VER
# reinstall npm with the lastest version
RUN npm cache clean \
&& curl -L https://npmjs.org/install.sh | sh
# Makes npm work behind proxy if http_proxy variable is set
RUN npm config set proxy ${http_proxy} \
&& npm config set https-proxy ${https_proxy} \
&& npm config set registry http://registry.npmjs.org/ \
&& npm set strict-ssl false
# TeX
RUN yum -y install perl-Tk perl-Digest-MD5 && yum clean all
ADD texlive.profile texlive.profile
# non-interactive http://www.tug.org/pipermail/tex-live/2008-June/016323.html
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
&& mkdir install-tl \
&& tar xf install-tl-unx.tar.gz -C install-tl --strip-components=1 \
&& ./install-tl/install-tl -profile ./texlive.profile \
&& rm -rf install-tl && rm -f install-tl-unx.tar.gz
# TODO: replace hardcoded 2015
RUN echo "export PATH=/usr/local/texlive/2015/bin/x86_64-linux:${PATH}" >> /etc/profile.d/local-bin.sh \
&& source /etc/profile
# R
RUN yum -y install \
lapack-devel \
blas-devel \
libicu-devel \
unixodbc-devel \
QuantLib \
QuantLib-devel \
boost \
boost-devel \
libxml2 \
libxml2-devel \
R \
&& yum clean all
# Set default CRAN Mirror
RUN echo 'options(repos = c(CRAN="http://www.vps.fmvz.usp.br/CRAN/"))' >> /usr/lib64/R/library/base/R/Rprofile
# RStudio
ENV RSTUDIO_VER 0.99.902
RUN wget https://download2.rstudio.org/rstudio-server-rhel-$RSTUDIO_VER-x86_64.rpm \
&& echo "aa018deb6c93501caa60e61d0339b338 rstudio-server-rhel-$RSTUDIO_VER-x86_64.rpm" > RSTUDIOMD5 \
&& RESULT=$(md5sum -c RSTUDIOMD5) \
&& echo ${RESULT} > ~/check-rstudio-md5.txt \
&& yum -y install --nogpgcheck rstudio-server-rhel-$RSTUDIO_VER-x86_64.rpm \
&& yum clean all \
&& rm -f rstudio-server-rhel-$RSTUDIO_VER-x86_64.rpm && rm -f RSTUDIOMD5
# Libreoffice
ENV LIBREOFFICE_VER 5.2.0
ENV LIBREOFFICE_VER_MINOR .4
RUN wget http://mirror.nbtelecom.com.br/tdf/libreoffice/stable/$LIBREOFFICE_VER/rpm/x86_64/LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \
&& echo "90c9b7b8aa6799ca1140a8d06c874838 LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz" > LIBREOFFICEMD5 \
&& RESULT=$(md5sum -c LIBREOFFICEMD5) \
&& echo ${RESULT} > ~/check-libreoffice-md5.txt \
&& tar xf LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \
&& cd LibreOffice_${LIBREOFFICE_VER}${LIBREOFFICE_VER_MINOR}_Linux_x86-64_rpm/RPMS \
&& yum -y install *.rpm \
&& yum clean all \
&& cd && rm -f LIBREOFFICEMD5 && rm -f LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \
&& rm -rf LibreOffice_${LIBREOFFICE_VER}${LIBREOFFICE_VER_MINOR}_Linux_x86-64_rpm
# Shiny
ENV SHINY_VER 1.4.2.786
RUN R -e 'install.packages("shiny")' \
&& wget https://download3.rstudio.org/centos5.9/x86_64/shiny-server-$SHINY_VER-rh5-x86_64.rpm \
&& echo "45160b08eed65c89e0a9d03c58eba595 shiny-server-$SHINY_VER-rh5-x86_64.rpm" > SHINYSERVERMD5 \
&& RESULT=$(md5sum -c SHINYSERVERMD5) \
&& echo ${RESULT} > ~/check-shiny-server-md5.txt \
&& yum -y install --nogpgcheck shiny-server-$SHINY_VER-rh5-x86_64.rpm \
&& yum clean all \
&& cd && rm -f SHINYSERVERMD5 && rm -f shiny-server-$SHINY_VER-rh5-x86_64.rpm
# Julia
ENV JULIA_VER_MAJ 0.4
ENV JULIA_VER_MIN .6
ENV JULIA_VER $JULIA_VER_MAJ$JULIA_VER_MIN
RUN wget https://github.com/JuliaLang/julia/releases/download/v$JULIA_VER/julia-$JULIA_VER-full.tar.gz \
&& tar xf julia-$JULIA_VER-full.tar.gz
ADD julia-Make.user julia-$JULIA_VER/Make.user
ADD cpuid cpuid
RUN cd cpuid && make
RUN cpuid/cpuid >> julia-$JULIA_VER/Make.user
RUN cd julia-$JULIA_VER \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" install \
&& cd .. && rm -rf julia-$JULIA_VER && rm -f julia-$JULIA_VER-full.tar.gz \
&& ln -s /usr/local/julia/bin/julia /usr/local/bin/julia
# Init package folder on root's home folder
RUN julia -e 'Pkg.init()'
# Jupyter
# Add python2.7 kernel: https://github.com/jupyter/jupyter/issues/71
RUN pip2 install \
IPython \
notebook \
ipykernel \
ipyparallel \
enum34 \
&& /usr/local/python2.7/bin/python2.7 -m ipykernel install
RUN pip3 install \
IPython \
jupyterhub \
notebook \
ipykernel \
ipyparallel \
enum34 \
&& python3 -m ipykernel install
RUN npm install -g configurable-http-proxy
# ipywidgets not working for now...
# ipywidgets
# https://ipywidgets.readthedocs.org/en/latest/dev_install.html
#RUN git clone https://github.com/ipython/ipywidgets
#RUN wget https://github.com/ipython/ipywidgets/archive/4.1.1.tar.gz \
#&& tar xf 4.1.1.tar.gz
#RUN cd ipywidgets-4.1.1 \
#&& pip2 install -v -e . \
#&& pip3 install -v -e . \
#&& cd jupyter-js-widgets \
# && npm install \
# && cd ../widgetsnbextension \
# && npm install \
# && npm run update:widgets \
# && pip2 install -v -e . \
# && pip3 install -v -e .
# RUN rm -rf ipywidgets-4.1.1 && rm -f 4.1.1.tar.gz
# Support for other languages
# https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
# Add Julia kernel
# https://github.com/JuliaLang/IJulia.jl
# https://github.com/JuliaLang/IJulia.jl/issues/341
RUN julia -e 'Pkg.add("IJulia"); using IJulia'
# registers global kernel
RUN cp -r ~/.local/share/jupyter/kernels/julia-$JULIA_VER_MAJ /usr/local/share/jupyter/kernels
# rewrite julia's kernel configuration
ADD julia-kernel.json /usr/local/share/jupyter/kernels/julia-$JULIA_VER_MAJ/kernel.json
# R
# http://irkernel.github.io/installation/
RUN yum -y install czmq-devel && yum clean all
RUN R -e 'install.packages(c("pbdZMQ", "devtools"))' \
&& R -e 'devtools::install_github(paste0("IRkernel/", c("repr", "IRdisplay", "IRkernel")))'
# Optional configuration file for svn
ADD svn-servers /etc/subversion/servers
# coin SYMPHONY
# https://projects.coin-or.org/SYMPHONY
ENV SYMPHONY_VER 5.6
RUN git clone --branch=stable/$SYMPHONY_VER https://github.com/coin-or/SYMPHONY SYMPHONY-$SYMPHONY_VER \
&& cd SYMPHONY-$SYMPHONY_VER \
&& git clone --branch=stable/0.8 https://github.com/coin-or-tools/BuildTools/ \
&& chmod u+x ./BuildTools/get.dependencies.sh \
&& ./BuildTools/get.dependencies.sh fetch --no-third-party \
&& ./configure \
&& make -j"$(nproc --all)" \
&& make -j"$(nproc --all)" install \
&& cd .. && rm -rf SYMPHONY-$SYMPHONY_VER
#################
## LIBS
#################
RUN yum -y install \
freetype-devel \
glpk-devel \
hdf5 \
lcms2-devel \
libjpeg-devel \
libpng \
libpng-devel \
libtiff-devel \
libwebp-devel \
libxslt-devel \
libxml2-devel \
libzip-devel \
pandoc \
tcl-devel \
tk-devel \
&& yum clean all
ADD libs libs
RUN cd libs && make && ./install_libs
RUN cd libs && source ./install_JSAnimation.sh
RUN cd libs && source ./install_excel_readers.sh
# http://ipyparallel.readthedocs.org/en/latest/
RUN ipcluster nbextension enable
####################
## Services
####################
# 8787 for RStudio
# 8000 for Jupyter
EXPOSE 8787 8000
CMD /usr/sbin/sssd && /usr/lib/rstudio-server/bin/rserver && jupyterhub --no-ssl
| null | maintenance/other |
336 | 754b298aa221880457553f715846183812ca2c74 | Update Dockerfile | Update Dockerfile
| FROM ubuntu
MAINTAINER Justin Plock <justin@plock.net>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y -q wget openjdk-7-jre-headless
RUN mkdir -p /opt/snowizard /var/log/snowizard
RUN wget -q -O /opt/snowizard/snowizard.jar http://repo.maven.apache.org/maven2/com/ge/snowizard/snowizard-service/1.3.0/snowizard-service-1.3.0.jar
ADD ./snowizard-service/snowizard.upstart /etc/init/snowizard.conf
ADD ./snowizard-service/snowizard.yml /etc/snowizard.yml
ADD ./snowizard-service/snowizard.jvm.conf /etc/snowizard.jvm.conf
ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
# Snowizard port
EXPOSE 8080
# Administration port
EXPOSE 8180
CMD /usr/bin/java -d64 -server -jar /opt/snowizard/snowizard.jar server /etc/snowizard.yml
| FROM debian:jessie
MAINTAINER Justin Plock <justin@plock.net>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y -q wget openjdk-7-jre-headless
RUN mkdir -p /opt/snowizard /var/log/snowizard
RUN wget -q -O /opt/snowizard/snowizard.jar http://repo.maven.apache.org/maven2/com/ge/snowizard/snowizard-application/1.4.0/snowizard-application-1.4.0.jar
ADD ./snowizard-service/snowizard.upstart /etc/init/snowizard.conf
ADD ./snowizard-service/snowizard.yml /etc/snowizard.yml
ADD ./snowizard-service/snowizard.jvm.conf /etc/snowizard.jvm.conf
ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
# Snowizard port
EXPOSE 8080
# Administration port
EXPOSE 8180
CMD /usr/bin/java -d64 -server -jar /opt/snowizard/snowizard.jar server /etc/snowizard.yml
| maintenance/other |
187 | cb4816475983c013f6d4bf4a8b85cc558e938f09 | Bumped source to 20201210-e8d1594 | Bumped source to 20201210-e8d1594
| null | null | maintenance/other |
2182 | 30510e5c137abca1cf822921dd6277b43cd68e7f | Bump to Postfixadmin v3.0 | Bump to Postfixadmin v3.0
| FROM alpine
MAINTAINER Konstantin Jakobi <konstantin.jakobi@gmail.com>
ENV VERSION=2.93
EXPOSE 80
RUN apk add --no-cache bash curl dovecot mysql-client php-imap php-mysqli \
&& curl --location https://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-${VERSION}/postfixadmin-${VERSION}.tar.gz | tar xzf - \
&& mv postfixadmin* /www \
&& mkdir /config
COPY config.php php.ini run.sh /
CMD /run.sh
| null | maintenance/other |
393 | 84472153dacd449ae661acb55336c950fec05029 | Bumped source to 20200831-140ca1d | Bumped source to 20200831-140ca1d
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200831-24f76e7
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200831-140ca1d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| maintenance/other |
237 | a05ffc658881fd7122ac2d772fa8f1abc64d13b8 | Bumped source to 20200402-2cf0be5 | Bumped source to 20200402-2cf0be5
| FROM docker.pkg.github.com/dock0/arch/arch:20200402-3236609
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200402-2cf0be5
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| feature addition |
2272 | b258aa7c08677ff9d5089f98f6d3c44e7ffdefac | Bumped source to 20201001-e90cd1b | Bumped source to 20201001-e90cd1b
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201001-7ceb967
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null | code refactoring |
227 | 991cad469a3df54802ef8cc8d81f5e95386fcf0e | add ssh client for git ssh access | add ssh client for git ssh access
| FROM alpine:3.4
MAINTAINER G.J.R. Timmer <gjr.timmer@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL \
nl.timmertech.build-date=${BUILD_DATE} \
nl.timmertech.name=alpine-sdk \
nl.timmertech.vendor=timmertech.nl \
nl.timmertech.vcs-url="https://github.com/GJRTimmer/docker-alpine-sdk.git" \
nl.timmertech.vcs-ref=${VCS_REF} \
nl.timmertech.license=MIT
RUN echo 'http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
echo 'http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
echo 'http://nl.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
apk upgrade --update-cache --no-cache --available && \
apk add --update --no-cache \
bash \
bash-completion \
ca-certificates \
shadow \
wget \
curl \
git \
alpine-sdk \
readline && \
adduser -D -s /bin/bash -G abuild apk && \
passwd --delete apk && \
echo "apk ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/apk && \
chmod 600 /etc/sudoers.d/apk && \
mkdir -p /var/cache/distfiles && \
chgrp abuild /var/cache/distfiles && \
chmod g+w /var/cache/distfiles && \
chown -R apk:abuild /var/cache/distfiles
COPY ./init /init
VOLUME ["/home/apk/data"]
CMD /init
| FROM alpine:3.4
MAINTAINER G.J.R. Timmer <gjr.timmer@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL \
nl.timmertech.build-date=${BUILD_DATE} \
nl.timmertech.name=alpine-sdk \
nl.timmertech.vendor=timmertech.nl \
nl.timmertech.vcs-url="https://github.com/GJRTimmer/docker-alpine-sdk.git" \
nl.timmertech.vcs-ref=${VCS_REF} \
nl.timmertech.license=MIT
RUN echo 'http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
echo 'http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
echo 'http://nl.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
apk upgrade --update-cache --no-cache --available && \
apk add --update --no-cache \
bash \
bash-completion \
ca-certificates \
shadow \
openssh-client \
wget \
curl \
git \
alpine-sdk \
readline && \
adduser -D -s /bin/bash -G abuild apk && \
passwd --delete apk && \
echo "apk ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/apk && \
chmod 600 /etc/sudoers.d/apk && \
mkdir -p /var/cache/distfiles && \
chgrp abuild /var/cache/distfiles && \
chmod g+w /var/cache/distfiles && \
chown -R apk:abuild /var/cache/distfiles
COPY ./init /init
VOLUME ["/home/apk/data"]
CMD /init
| maintenance/other |
135 | e93e1b76ec79a2195c2b6e53263478dbe9ea1c41 | Update Dockerfile to Rails 5.0.0 | Update Dockerfile to Rails 5.0.0
| FROM rails:4.2.6
MAINTAINER Davide Bove <me@davidebove.com>
ADD ./src /code
WORKDIR /code
ENV BUNDLE_PATH /box
CMD /bin/bash
| FROM rails:5.0.0
MAINTAINER Davide Bove <me@davidebove.com>
ADD ./src /code
WORKDIR /code
ENV BUNDLE_PATH /box
CMD ["/bin/bash"]
| code refactoring |
167 | b88c4b43df7b149aff601c9f43cdff01f6cedac2 | Bumped source to 20210719-5595c72 | Bumped source to 20210719-5595c72
| FROM docker.pkg.github.com/dock0/arch/arch:20210719-e784547
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210719-5595c72
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| bug fix |
141 | 12bcf2bedcc6a83102aec2006b18866580fc4126 | Update the base image | Update the base image
| FROM jedisct1/base-dev-rust-nightly:c44316d4a1ad0fe01ae366e163993aa3980c755f
MAINTAINER Frank Denis
ENV SERIAL 1
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y \
libsnappy-dev
ENV LIBRESSL_VERSION 2.2.5
ENV LIBRESSL_SHA256 e3caded0469d8dc64f4ca2fe8e499ada4dd014e84d1c5a71818d39e54e6c914b
ENV LIBRESSL_DOWNLOAD_URL http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz
RUN set -x && \
mkdir -p /tmp/src && \
cd /tmp/src && \
curl -sSL $LIBRESSL_DOWNLOAD_URL -o libressl.tar.gz && \
echo "${LIBRESSL_SHA256} *libressl.tar.gz" | sha256sum -c - && \
tar xzf libressl.tar.gz && \
rm -f libressl.tar.gz && \
cd libressl-${LIBRESSL_VERSION} && \
./configure --disable-shared --with-pic --disable-dependency-tracking --prefix=/opt/libressl && \
make check && make install && \
rm -fr /opt/libressl/share/man && \
echo /opt/libressl/lib > /etc/ld.so.conf.d/libressl.conf && ldconfig && \
rm -fr /tmp/*
ENV OPENSSL_LIB_DIR=/opt/libressl/lib
ENV OPENSSL_INCLUDE_DIR=/opt/libressl/include
RUN set -x && \
cd /tmp && \
git clone https://github.com/jedisct1/flowgger.git && \
cd flowgger && \
cargo build --release --features='ecdh coroutines' && \
mkdir -p /opt/flowgger/etc /opt/flowgger/bin && \
strip target/release/flowgger && \
mv target/release/flowgger /opt/flowgger/bin/ && \
rm -fr /tmp/flowgger
COPY flowgger.sh /etc/service/flowgger/run
EXPOSE 6514
ENTRYPOINT ["/sbin/my_init"]
| FROM jedisct1/base-dev-rust-nightly:34b4e66736a0fb65235feadbb5178d42bd09ed67
MAINTAINER Frank Denis
ENV SERIAL 1
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y \
libsnappy-dev
ENV LIBRESSL_VERSION 2.2.5
ENV LIBRESSL_SHA256 e3caded0469d8dc64f4ca2fe8e499ada4dd014e84d1c5a71818d39e54e6c914b
ENV LIBRESSL_DOWNLOAD_URL http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz
RUN set -x && \
mkdir -p /tmp/src && \
cd /tmp/src && \
curl -sSL $LIBRESSL_DOWNLOAD_URL -o libressl.tar.gz && \
echo "${LIBRESSL_SHA256} *libressl.tar.gz" | sha256sum -c - && \
tar xzf libressl.tar.gz && \
rm -f libressl.tar.gz && \
cd libressl-${LIBRESSL_VERSION} && \
./configure --disable-shared --with-pic --disable-dependency-tracking --prefix=/opt/libressl && \
make check && make install && \
rm -fr /opt/libressl/share/man && \
echo /opt/libressl/lib > /etc/ld.so.conf.d/libressl.conf && ldconfig && \
rm -fr /tmp/*
ENV OPENSSL_LIB_DIR=/opt/libressl/lib
ENV OPENSSL_INCLUDE_DIR=/opt/libressl/include
RUN set -x && \
cd /tmp && \
git clone https://github.com/jedisct1/flowgger.git && \
cd flowgger && \
cargo build --release --features='ecdh coroutines' && \
mkdir -p /opt/flowgger/etc /opt/flowgger/bin && \
strip target/release/flowgger && \
mv target/release/flowgger /opt/flowgger/bin/ && \
rm -fr /tmp/flowgger
COPY flowgger.sh /etc/service/flowgger/run
EXPOSE 6514
ENTRYPOINT ["/sbin/my_init"]
| code refactoring |
224 | 7855d3a05d1fa1f7ab96ee6ddccd66d5541fbf03 | change confd binary url to get the version with ssl/tls memory problem fixed | change confd binary url to get the version with ssl/tls memory problem fixed
| FROM salamandra/etcd
ADD https://github.com/kelseyhightower/confd/releases/download/v0.6.0-alpha3/confd-0.6.0-alpha3-linux-amd64 /usr/local/bin/confd
RUN chmod 0755 /usr/local/bin/confd
RUN mkdir /etc/confd/conf.d/ -p
RUN mkdir /etc/confd/templates/ -p
| FROM salamandra/etcd
# ADD https://github.com/kelseyhightower/confd/releases/download/v0.6.0-alpha3/confd-0.6.0-alpha3-linux-amd64 /usr/local/bin/confd
ADD https://github.com/ricardosasilva/confd/releases/download/v0.6.0-alpha4/confd-0.6.0-alpha4-linux-amd64 /usr/local/bin/confd
RUN chmod 0755 /usr/local/bin/confd
RUN mkdir /etc/confd/conf.d/ -p
RUN mkdir /etc/confd/templates/ -p
| feature addition |
2253 | f60c564e9500fd38c11ec3a8953742c87163843e | version updated | version updated
| FROM airhacks/java
LABEL maintainer="Adam Bien, adam-bien.com" description="Kibana"
ENV INSTALL_DIR kibana
RUN mkdir ${INSTALL_DIR}
RUN curl https://artifacts.elastic.co/downloads/kibana/kibana-6.0.1-linux-x86_64.tar.gz | tar xvz -C ${INSTALL_DIR} --strip-components=1
ENTRYPOINT ${INSTALL_DIR}/bin/kibana
EXPOSE 5601
| null | maintenance/other |
195 | 2117899482da7ed6236913c5124afc6b075a4d11 | Add CA certs to all-in-one image | Add CA certs to all-in-one image
Signed-off-by: chandresh-pancholi <25dab51e580f04c0947224025fffefbe56ba05fb@gmail.com> | FROM scratch
# Agent zipkin.thrift compact
EXPOSE 5775/udp
# Agent jaeger.thrift compact
EXPOSE 6831/udp
# Agent jaeger.thrift binary
EXPOSE 6832/udp
# Agent config HTTP
EXPOSE 5778
# Collector HTTP
EXPOSE 14268
# Collector gRPC
EXPOSE 14250
# Web HTTP
EXPOSE 16686
COPY ./cmd/all-in-one/all-in-one-linux /go/bin/
COPY ./cmd/all-in-one/sampling_strategies.json /etc/jaeger/
ENTRYPOINT ["/go/bin/all-in-one-linux"]
CMD ["--sampling.strategies-file=/etc/jaeger/sampling_strategies.json"]
| FROM alpine:latest as certs
RUN apk add --update --no-cache ca-certificates
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# Agent zipkin.thrift compact
EXPOSE 5775/udp
# Agent jaeger.thrift compact
EXPOSE 6831/udp
# Agent jaeger.thrift binary
EXPOSE 6832/udp
# Agent config HTTP
EXPOSE 5778
# Collector HTTP
EXPOSE 14268
# Collector gRPC
EXPOSE 14250
# Web HTTP
EXPOSE 16686
COPY ./cmd/all-in-one/all-in-one-linux /go/bin/
COPY ./cmd/all-in-one/sampling_strategies.json /etc/jaeger/
ENTRYPOINT ["/go/bin/all-in-one-linux"]
CMD ["--sampling.strategies-file=/etc/jaeger/sampling_strategies.json"]
| code refactoring |
2132 | 4320fbd88ee213e7b9db38161059681db930d1ee | Bump ipaddress package to fix SSL.Certificate Error | Bump ipaddress package to fix SSL.Certificate Error
| #
# Dockerfile for pman repository.
#
# Build with
#
# docker build -t <name> .
#
# For example if building a local version, you could do:
#
# docker build -t local/pman .
#
# In the case of a proxy (located at 192.168.13.14:3128), do:
#
# docker build --build-arg http_proxy=http://192.168.13.14:3128 --build-arg UID=$UID -t local/pman .
#
# To run an interactive shell inside this container, do:
#
# docker run -ti --entrypoint /bin/bash local/pman
#
# To pass an env var HOST_IP to container, do:
#
# docker run -ti -e HOST_IP=$(ip route | grep -v docker | awk '{if(NF==11) print $9}') --entrypoint /bin/bash local/pman
#
FROM fnndsc/ubuntu-python3:latest
MAINTAINER fnndsc "dev@babymri.org"
# Pass a UID on build command line (see above) to set internal UID
ARG UID=1001
ENV UID=$UID
COPY . /tmp/pman
COPY ./docker-entrypoint.py /dock/docker-entrypoint.py
RUN apt-get update \
&& apt-get install sudo \
&& useradd -u $UID -ms /bin/bash localuser \
&& addgroup localuser sudo \
&& echo "localuser:localuser" | chpasswd \
&& adduser localuser sudo \
&& apt-get install -y libssl-dev libcurl4-openssl-dev bsdmainutils net-tools inetutils-ping \
&& pip3 install pudb \
&& pip3 install pyzmq \
&& pip3 install webob \
&& pip3 install psutil \
&& pip3 install /tmp/pman \
&& pip3 install pfmisc==1.2.2 \
&& pip3 install kubernetes \
&& pip3 install openshift \
&& pip3 install docker \
&& rm -rf /tmp/pman \
&& chmod 777 /dock \
&& chmod 777 /dock/docker-entrypoint.py \
&& echo "localuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
ENTRYPOINT ["/dock/docker-entrypoint.py"]
EXPOSE 5010
# Start as user $UID
# USER $UID
| null | code refactoring |
2063 | 6d19e7d10584094549119a4a297469ee5957e795 | Remove version from docker file since it's tagged already | Remove version from docker file since it's tagged already
| FROM debian:jessie-slim
LABEL maintainer="david.muto@gmail.com" version="1.0.0"
WORKDIR /
ADD https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip ./
RUN apt-get -q -y update && \
apt-get -q -y install unzip && \
unzip protoc-3.3.0-linux-x86_64.zip -d ./usr/local && \
rm protoc-3.3.0-linux-x86_64.zip && \
apt-get purge -y unzip && \
apt-get autoremove
ADD dist/protoc-gen-doc /usr/local/bin/
ADD script/entrypoint.sh ./
VOLUME ["/out", "/protos"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--doc_opt=html,index.html"]
| null | maintenance/other |
188 | fe3862d94ee0f8a09114db979786ebf3c0fded44 | Bump kubekins for kubeadm image | Bump kubekins for kubeadm image
| # Copyright 2017 The Kubernetes Authors.
#
# Licensed 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.
FROM gcr.io/k8s-testimages/kubekins-e2e:v20170921-8218eea8
MAINTAINER beacham@google.com
RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
unzip \
bash-completion \
git \
wget && \
apt-get clean
ENV TERRAFORM_VERSION=0.9.4 \
KUBERNETES_PROVIDER=kubernetes-anywhere \
KUBECTL_VERSION=1.6.4 \
PATH=/usr/local/bin:${PATH}
# Add kubernetes-anywhere dependencies: jsonnet, terraform, kubectl
RUN cd /tmp && \
git clone https://github.com/google/jsonnet.git && \
( cd jsonnet && \
make jsonnet && \
cp jsonnet /bin \
) && \
rm -rf /tmp/jsonnet
RUN mkdir -p /tmp/terraform/ && \
( cd /tmp/terraform && \
wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin \
) && \
rm -rf /tmp/terraform
# TODO(pipejakob): Instead of fetching a specific precompiled version, get
# kubernetes-anywhere to use the kubectl built as part of this job.
RUN wget https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && \
chmod +x /usr/local/bin/kubectl
WORKDIR /workspace
ADD runner /
ENTRYPOINT ["/bin/bash", "/runner"]
| # Copyright 2017 The Kubernetes Authors.
#
# Licensed 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.
FROM gcr.io/k8s-testimages/kubekins-e2e:v20170921-38bb087e
MAINTAINER beacham@google.com
RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
unzip \
bash-completion \
git \
wget && \
apt-get clean
ENV TERRAFORM_VERSION=0.9.4 \
KUBERNETES_PROVIDER=kubernetes-anywhere \
KUBECTL_VERSION=1.6.4 \
PATH=/usr/local/bin:${PATH}
# Add kubernetes-anywhere dependencies: jsonnet, terraform, kubectl
RUN cd /tmp && \
git clone https://github.com/google/jsonnet.git && \
( cd jsonnet && \
make jsonnet && \
cp jsonnet /bin \
) && \
rm -rf /tmp/jsonnet
RUN mkdir -p /tmp/terraform/ && \
( cd /tmp/terraform && \
wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin \
) && \
rm -rf /tmp/terraform
# TODO(pipejakob): Instead of fetching a specific precompiled version, get
# kubernetes-anywhere to use the kubectl built as part of this job.
RUN wget https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && \
chmod +x /usr/local/bin/kubectl
WORKDIR /workspace
ADD runner /
ENTRYPOINT ["/bin/bash", "/runner"]
| bug fix |
2294 | 4d7d893a3be04a5564e1a2009864ea149725e7a4 | Bumped source to 20211021-9c92104 | Bumped source to 20211021-9c92104
| FROM docker.pkg.github.com/dock0/arch/arch:20211021-b1fff7b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
2231 | e40a4059ad0b6c745cf7ee74b7727a9bcdc15021 | Minor fixes to Dockerfile | Minor fixes to Dockerfile
Signed-off-by: Aaron <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@jadja.eu>
| FROM golang:1.12.7-alpine as builder
ARG CADDY_VERSION="1.0.1"
ENV GO111MODULE=on
RUN apk add --no-cache git
COPY caddy.go /go/build/caddy.go
COPY go.mod /go/build/go.mod
RUN cd /go/build && \
go build
FROM alpine:3.10
RUN apk add --no-cache --no-progress curl tini ca-certificates
COPY --from=builder /go/build/caddy /usr/bin/caddy
COPY Caddyfile /etc/caddy/Caddyfile
COPY index.md /www/index.md
EXPOSE 2016
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["caddy"]
| null | maintenance/other |
2085 | 0dce2e3ece366a6641ac570b50b99ad5430eb0ca | Bumped source to 20211117-612060d | Bumped source to 20211117-612060d
| FROM docker.pkg.github.com/dock0/arch/arch:20211117-ebea708
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
2082 | 12a1697221511df7e400fc337a2f6a0a88dd5c29 | Bumped source to 20211023-2d7fa18 | Bumped source to 20211023-2d7fa18
| FROM docker.pkg.github.com/dock0/arch/arch:20211023-0815b05
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | code refactoring |
19 | ea6f6cc96b207d8503a10cbe014e51d476aeb539 | Bump to 0.10.14 and go 1.10 | Bump to 0.10.14 and go 1.10 | #
# Build stage by @abiosoft https://github.com/abiosoft/caddy-docker
#
FROM golang:1.9-alpine as build
ARG version="0.10.11"
ARG plugins=""
RUN apk add --no-cache git
# caddy
RUN git clone https://github.com/mholt/caddy -b "v${version}" /go/src/github.com/mholt/caddy \
&& cd /go/src/github.com/mholt/caddy \
&& git checkout -b "v${version}"
# plugin helper
RUN go get -v github.com/abiosoft/caddyplug/caddyplug
# plugins
RUN for plugin in $(echo $plugins | tr "," " "); do \
go get -v $(caddyplug package $plugin); \
printf "package caddyhttp\nimport _ \"$(caddyplug package $plugin)\"" > \
/go/src/github.com/mholt/caddy/caddyhttp/$plugin.go ; \
done
# builder dependency
RUN git clone https://github.com/caddyserver/builds /go/src/github.com/caddyserver/builds
# build
RUN cd /go/src/github.com/mholt/caddy/caddy \
&& git checkout -f \
&& go run build.go \
&& mv caddy /go/bin
#
# Compress Caddy with upx
#
FROM debian:stable as compress
# curl, tar
RUN apt-get update && apt install -y --no-install-recommends \
tar \
xz-utils \
curl \
ca-certificates
# get official upx binary
RUN curl --silent --show-error --fail --location -o - \
"https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz" \
| tar --no-same-owner -C /usr/bin/ -xJ \
--strip-components 1 upx-3.94-amd64_linux/upx
# copy and compress
COPY --from=build /go/bin/caddy /usr/bin/caddy
RUN /usr/bin/upx --ultra-brute /usr/bin/caddy
# test
RUN /usr/bin/caddy -version
#
# Final image
#
FROM scratch
# labels
LABEL org.label-schema.vcs-url="https://github.com/productionwentdown/caddy"
LABEL org.label-schema.version=${version}
LABEL org.label-schema.schema-version="1.0"
# copy caddy binary and ca certs
COPY --from=compress /usr/bin/caddy /bin/caddy
COPY --from=compress /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# copy default caddyfile
COPY Caddyfile /etc/Caddyfile
# set default caddypath
ENV CADDYPATH=/etc/.caddy
VOLUME /etc/.caddy
# serve from /srv
WORKDIR /srv
COPY index.html /srv/index.html
ENTRYPOINT ["/bin/caddy"]
CMD ["--conf", "/etc/Caddyfile", "--log", "stdout"]
| #
# Build stage by @abiosoft https://github.com/abiosoft/caddy-docker
#
FROM golang:1.10-alpine as build
ARG version="0.10.14"
ARG plugins=""
RUN apk add --no-cache git
# caddy
RUN git clone https://github.com/mholt/caddy -b "v${version}" /go/src/github.com/mholt/caddy \
&& cd /go/src/github.com/mholt/caddy \
&& git checkout -b "v${version}"
# plugin helper
RUN go get -v github.com/abiosoft/caddyplug/caddyplug
# plugins
RUN for plugin in $(echo $plugins | tr "," " "); do \
go get -v $(caddyplug package $plugin); \
printf "package caddyhttp\nimport _ \"$(caddyplug package $plugin)\"" > \
/go/src/github.com/mholt/caddy/caddyhttp/$plugin.go ; \
done
# builder dependency
RUN git clone https://github.com/caddyserver/builds /go/src/github.com/caddyserver/builds
# build
RUN cd /go/src/github.com/mholt/caddy/caddy \
&& git checkout -f \
&& go run build.go \
&& mv caddy /go/bin
#
# Compress Caddy with upx
#
FROM debian:stable as compress
# curl, tar
RUN apt-get update && apt install -y --no-install-recommends \
tar \
xz-utils \
curl \
ca-certificates
# get official upx binary
RUN curl --silent --show-error --fail --location -o - \
"https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz" \
| tar --no-same-owner -C /usr/bin/ -xJ \
--strip-components 1 upx-3.94-amd64_linux/upx
# copy and compress
COPY --from=build /go/bin/caddy /usr/bin/caddy
RUN /usr/bin/upx --ultra-brute /usr/bin/caddy
# test
RUN /usr/bin/caddy -version
#
# Final image
#
FROM scratch
# labels
LABEL org.label-schema.vcs-url="https://github.com/productionwentdown/caddy"
LABEL org.label-schema.version=${version}
LABEL org.label-schema.schema-version="1.0"
# copy caddy binary and ca certs
COPY --from=compress /usr/bin/caddy /bin/caddy
COPY --from=compress /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# copy default caddyfile
COPY Caddyfile /etc/Caddyfile
# set default caddypath
ENV CADDYPATH=/etc/.caddy
VOLUME /etc/.caddy
# serve from /srv
WORKDIR /srv
COPY index.html /srv/index.html
ENTRYPOINT ["/bin/caddy"]
CMD ["--conf", "/etc/Caddyfile", "--log", "stdout"]
| code refactoring |
2092 | 054d00f7f73615c4d83788a5b2be0472f7c1e9a4 | Update jenkins + plugins | Update jenkins + plugins
| FROM jenkins:2.19.4-alpine
COPY ref/init.groovy.d/executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy
RUN install-plugins.sh git:3.0.1 blueocean:1.0.0-b13 ansicolor:0.4.3 \
workflow-aggregator:2.4 pipeline-stage-view:2.4 cloudbees-folder:5.14 \
ec2:1.36 \
&& echo 2.0 > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state
| null | maintenance/other |
111 | 42340ee22befc1eb9cd11cb696bf5bd6bac3c433 | Upgrade confluent platform | Upgrade confluent platform
| FROMubuntu:16.04
MAINTAINERNeal Hardesty <nealhardesty@yahoo.dot.com>
# Install Oracle JDK 8
# http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
RUN \
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list \
&& echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 \
&& apt-get update -q \
&& echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends vim curl wget \
&& rm -rf /var/cache/oracle-jdk8-installer \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
#RUN curl -o /var/tmp/kafka.tgz http://mirrors.ocf.berkeley.edu/apache/kafka/0.10.0.0/kafka_2.11-0.10.0.0.tgz \
# #&& file /var/tmp/kafka.tgz
# && tar xzvCf /opt/ /var/tmp/kafka.tgz \
# && ln -sfv /opt/kafka* /opt/kafka \
# && rm /var/tmp/kafka.tgz
# Confluent Kafka Platform
RUN wget -qO - http://packages.confluent.io/deb/3.0/archive.key | apt-key add - \
&& echo "deb http://packages.confluent.io/deb/3.0 stable main" |tee -a /etc/apt/sources.list.d/confluent.list \
&& apt-get update -y \
&& apt-get install -y confluent-platform-2.11 \
&& apt-get clean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
# This assumes we are running as a hostname of 'kafka'
RUN echo "listeners=PLAINTEXT://kafka:9092" >> /etc/kafka/server.properties \
&& echo "log.cleaner.enable=true" >> /etc/kafka/server.properties
ADD ./lib/start_kafka.sh /start_kafka.sh
ADD ./lib/topic-ls /usr/local/bin/topic-ls
ADD ./lib/topic-count /usr/local/bin/topic-count
# Zookeeper
EXPOSE 2181
# Kafka Broker
EXPOSE 9092
# Schema Registry
EXPOSE 8081
CMD /start_kafka.sh
| FROMubuntu:16.04
MAINTAINERNeal Hardesty <nealhardesty@yahoo.dot.com>
# Install Oracle JDK 8
# http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
RUN \
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list \
&& echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 \
&& apt-get update -q \
&& echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends vim curl wget \
&& rm -rf /var/cache/oracle-jdk8-installer \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
#RUN curl -o /var/tmp/kafka.tgz http://mirrors.ocf.berkeley.edu/apache/kafka/0.10.0.0/kafka_2.11-0.10.0.0.tgz \
# #&& file /var/tmp/kafka.tgz
# && tar xzvCf /opt/ /var/tmp/kafka.tgz \
# && ln -sfv /opt/kafka* /opt/kafka \
# && rm /var/tmp/kafka.tgz
# Confluent Kafka Platform
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list \
&& echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 \
&& apt-get update -q \
&& echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes oracle-java8-installer oracle-java8-set-default \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes vim curl wget
# This assumes we are running as a hostname of 'kafka'
RUN echo "listeners=PLAINTEXT://kafka:9092" >> /etc/kafka/server.properties \
&& echo "log.cleaner.enable=true" >> /etc/kafka/server.properties
ADD ./lib/start_kafka.sh /start_kafka.sh
ADD ./lib/topic-ls /usr/local/bin/topic-ls
ADD ./lib/topic-count /usr/local/bin/topic-count
# Zookeeper
EXPOSE 2181
# Kafka Broker
EXPOSE 9092
# Schema Registry
EXPOSE 8081
CMD /start_kafka.sh
| code refactoring |
59 | c2f21f87dd7677826ada3819a4533a689887b345 | Bumped source to 20201116-c392ca8 | Bumped source to 20201116-c392ca8
| FROM docker.pkg.github.com/dock0/service/service:20201116-44643f6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20201116-c392ca8
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| maintenance/other |
2257 | a6b464319983ea9ff787511f47c7b9241ebcd5a5 | Updated with dnsutils | Updated with dnsutils
| FROM debian
MAINTAINER Marcel Grossmann <whatever4711@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
ENV MININET_REPO git://github.com/mininet/mininet
ENV MININET_INSTALLER ./mininet/util/install.sh
ENV INSTALLER_SWITCHES -fbinptvwyx
WORKDIR /tmp
# Update and install minimal.
RUN \
apt-get update \
--quiet \
&& apt-get install \
--yes \
--no-install-recommends \
--no-install-suggests \
autoconf \
automake \
ca-certificates \
git \
curl \
libtool \
net-tools \
openssh-client \
patch \
vim \
dnsutils
# Clone and install.
&& git clone -b 2.2.1 $MININET_REPO \
# A few changes to make the install script behave.
&& sed -e 's/sudo //g' \
-e 's/~\//\//g' \
-e 's/\(apt-get -y install\)/\1 --no-install-recommends --no-install-suggests/g' \
-i $MININET_INSTALLER \
# Install script expects to find this. Easier than patching that part of the script.
&& touch /.bashrc \
# Proceed with the install.
&& chmod +x $MININET_INSTALLER \
&& ./$MININET_INSTALLER -nfv \
# Clean up source.
&& rm -rf /tmp/mininet \
/tmp/openflow \
# Clean up packages.
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Create a start script to start OpenVSwitch
COPY docker-entry-point /docker-entry-point
RUN chmod 755 /docker-entry-point
VOLUME ["/data"]
WORKDIR /data
# Default command.
ENTRYPOINT ["/docker-entry-point"]
| null | maintenance/other |
2307 | 082a73ee331d87ff1052441c214af9c3bc1a42a4 | Bump NVM script version to 0.33.1 (#658) | Bump NVM script version to 0.33.1 (#658)
https://github.com/creationix/nvm/releases/tag/v0.33.1 | #
#--------------------------------------------------------------------------
# Image Setup
#--------------------------------------------------------------------------
#
# To edit the 'workspace' base Image, visit its repository on Github
# https://github.com/LaraDock/workspace
#
# To change its version, see the available Tags on the Docker Hub:
# https://hub.docker.com/r/laradock/workspace/tags/
#
FROM laradock/workspace:1.3
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
#
#--------------------------------------------------------------------------
# Mandatory Software's Installation
#--------------------------------------------------------------------------
#
# Mandatory Software's such as ("php7.0-cli", "git", "vim", ....) are
# installed on the base image 'laradock/workspace' image. If you want
# to add more Software's or remove existing one, you need to edit the
# base image (https://github.com/LaraDock/workspace).
#
#
#--------------------------------------------------------------------------
# Optional Software's Installation
#--------------------------------------------------------------------------
#
# Optional Software's will only be installed if you set them to `true`
# in the `docker-compose.yml` before the build.
# Example:
# - INSTALL_NODE=false
# - ...
#
#####################################
# Non-Root User:
#####################################
# Add a non-root user to prevent files being created with root permissions on host machine.
ARG PUID=1000
ARG PGID=1000
RUN groupadd -g $PGID laradock && \
useradd -u $PUID -g laradock -m laradock
#####################################
# SOAP:
#####################################
USER root
ARG INSTALL_SOAP=false
ENV INSTALL_SOAP ${INSTALL_SOAP}
RUN if [ ${INSTALL_SOAP} = true ]; then \
# Install the PHP SOAP extension
apt-get -y update && \
add-apt-repository -y ppa:ondrej/php && \
apt-get -y install libxml2-dev php7.0-soap && \
echo "extension=soap.so" >> /etc/php/7.0/cli/conf.d/40-soap.ini \
;fi
#####################################
# Set Timezone
#####################################
ARG TZ=UTC
ENV TZ ${TZ}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#####################################
# Composer:
#####################################
# Add the composer.json
COPY ./composer.json /home/laradock/.composer/composer.json
# Make sure that ~/.composer belongs to laradock
RUN chown -R laradock:laradock /home/laradock/.composer
USER laradock
# Check if global install need to be ran
ARG COMPOSER_GLOBAL_INSTALL=false
ENV COMPOSER_GLOBAL_INSTALL ${COMPOSER_GLOBAL_INSTALL}
RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
# run the install
composer global install \
;fi
# Export composer vendor path
RUN echo "" >> ~/.bashrc && \
echo 'export PATH="~/.composer/vendor/bin:$PATH"' >> ~/.bashrc
#####################################
# Crontab
#####################################
USER root
COPY ./crontab /etc/cron.d
RUN chmod -R 644 /etc/cron.d
#####################################
# User Aliases
#####################################
USER laradock
COPY ./aliases.sh /home/laradock/aliases.sh
RUN echo "" >> ~/.bashrc && \
echo "# Load Custom Aliases" >> ~/.bashrc && \
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
echo "" >> ~/.bashrc
USER root
RUN echo "" >> ~/.bashrc && \
echo "# Load Custom Aliases" >> ~/.bashrc && \
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
echo "" >> ~/.bashrc
#####################################
# xDebug:
#####################################
ARG INSTALL_XDEBUG=false
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get update && \
apt-get install -y --force-yes php7.0-xdebug && \
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
;fi
# ADD for REMOTE debugging
COPY ./xdebug.ini /etc/php/7.0/cli/conf.d/xdebug.ini
#####################################
# ssh:
#####################################
ARG INSTALL_WORKSPACE_SSH=false
ENV INSTALL_WORKSPACE_SSH ${INSTALL_WORKSPACE_SSH}
ADD insecure_id_rsa /tmp/id_rsa
ADD insecure_id_rsa.pub /tmp/id_rsa.pub
RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \
rm -f /etc/service/sshd/down && \
cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys \
&& cat /tmp/id_rsa.pub >> /root/.ssh/id_rsa.pub \
&& cat /tmp/id_rsa >> /root/.ssh/id_rsa \
&& rm -f /tmp/id_rsa* \
&& chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \
&& chmod 400 /root/.ssh/id_rsa \
;fi
#####################################
# MongoDB:
#####################################
# Check if Mongo needs to be installed
ARG INSTALL_MONGO=false
ENV INSTALL_MONGO ${INSTALL_MONGO}
RUN if [ ${INSTALL_MONGO} = true ]; then \
# Install the mongodb extension
pecl install mongodb && \
echo "extension=mongodb.so" >> /etc/php/7.0/cli/conf.d/30-mongodb.ini \
;fi
#####################################
# Drush:
#####################################
USER root
ENV DRUSH_VERSION 8.1.2
ARG INSTALL_DRUSH=false
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
RUN if [ ${INSTALL_DRUSH} = true ]; then \
# Install Drush 8 with the phar file.
curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar | bash && \
chmod +x /usr/local/bin/drush && \
drush core-status \
;fi
USER laradock
#####################################
# Node / NVM:
#####################################
# Check if NVM needs to be installed
ARG NODE_VERSION=stable
ENV NODE_VERSION ${NODE_VERSION}
ARG INSTALL_NODE=false
ENV INSTALL_NODE ${INSTALL_NODE}
ENV NVM_DIR /home/laradock/.nvm
RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.6/install.sh | bash && \
. $NVM_DIR/nvm.sh && \
nvm install ${NODE_VERSION} && \
nvm use ${NODE_VERSION} && \
nvm alias ${NODE_VERSION} && \
npm install -g gulp bower vue-cli \
;fi
# Wouldn't execute when added to the RUN statement in the above block
# Source NVM when loading bash since ~/.profile isn't loaded on non-login shell
RUN if [ ${INSTALL_NODE} = true ]; then \
echo "" >> ~/.bashrc && \
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bashrc && \
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
;fi
# Add NVM binaries to root's .bashrc
USER root
RUN if [ ${INSTALL_NODE} = true ]; then \
echo "" >> ~/.bashrc && \
echo 'export NVM_DIR="/home/laradock/.nvm"' >> ~/.bashrc && \
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
;fi
#####################################
# YARN:
#####################################
USER laradock
ARG INSTALL_YARN=false
ENV INSTALL_YARN ${INSTALL_YARN}
ARG YARN_VERSION=latest
ENV YARN_VERSION ${YARN_VERSION}
RUN if [ ${INSTALL_YARN} = true ]; then \
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && \
if [ ${YARN_VERSION} = "latest" ]; then \
curl -o- -L https://yarnpkg.com/install.sh | bash; \
else \
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${YARN_VERSION}; \
fi && \
echo "" >> ~/.bashrc && \
echo 'export PATH="$HOME/.yarn/bin:$PATH"' >> ~/.bashrc \
;fi
# Add YARN binaries to root's .bashrc
USER root
RUN if [ ${INSTALL_YARN} = true ]; then \
echo "" >> ~/.bashrc && \
echo 'export YARN_DIR="/home/laradock/.yarn"' >> ~/.bashrc && \
echo 'export PATH="$YARN_DIR/bin:$PATH"' >> ~/.bashrc \
;fi
#####################################
# PHP Aerospike:
#####################################
USER root
ARG INSTALL_AEROSPIKE_EXTENSION=true
ENV INSTALL_AEROSPIKE_EXTENSION ${INSTALL_AEROSPIKE_EXTENSION}
# Copy aerospike configration for remote debugging
COPY ./aerospike.ini /etc/php/7.0/cli/conf.d/aerospike.ini
RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
# Install the php aerospike extension
curl -L -o /tmp/aerospike-client-php.tar.gz "https://github.com/luciano-jr/aerospike-client-php/archive/master.tar.gz" \
&& mkdir -p aerospike-client-php \
&& tar -C aerospike-client-php -zxvf /tmp/aerospike-client-php.tar.gz --strip 1 \
&& ( \
cd aerospike-client-php/src/aerospike \
&& phpize \
&& ./build.sh \
&& make install \
) \
&& rm /tmp/aerospike-client-php.tar.gz \
;fi
RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
rm /etc/php/7.0/cli/conf.d/aerospike.ini \
;fi
#####################################
# PHP V8JS:
#####################################
USER root
ARG INSTALL_V8JS_EXTENSION=false
ENV INSTALL_V8JS_EXTENSION ${INSTALL_V8JS_EXTENSION}
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
# Install the php V8JS extension
add-apt-repository -y ppa:pinepain/libv8-5.4 \
&& apt-get update \
&& apt-get install -y php-dev php-pear libv8-5.4 \
&& pecl install v8js \
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
;fi
#####################################
# Non-root user : PHPUnit path
#####################################
# add ./vendor/bin to non-root user's bashrc (needed for phpunit)
USER laradock
RUN echo "" >> ~/.bashrc && \
echo 'export PATH="/var/www/vendor/bin:$PATH"' >> ~/.bashrc
#####################################
# Laravel Artisan Alias
#####################################
USER root
RUN echo "" >> ~/.bashrc && \
echo 'alias art="php artisan"' >> ~/.bashrc
#####################################
# Laravel Envoy:
#####################################
USER laradock
ARG INSTALL_LARAVEL_ENVOY=true
ENV INSTALL_LARAVEL_ENVOY ${INSTALL_LARAVEL_ENVOY}
RUN if [ ${INSTALL_LARAVEL_ENVOY} = true ]; then \
# Install the Laravel Envoy
composer global require "laravel/envoy=~1.0" \
;fi
#####################################
# Deployer:
#####################################
USER laradock
ARG INSTALL_DEPLOYER=false
ENV INSTALL_DEPLOYER ${INSTALL_DEPLOYER}
RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
# Install the Deployer
composer global require "deployer/deployer" \
;fi
#####################################
# Linuxbrew:
#####################################
USER root
ARG INSTALL_LINUXBREW=true
ENV INSTALL_LINUXBREW ${INSTALL_LINUXBREW}
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
# Preparation
apt-get update && \
apt-get upgrade -y && \
apt-get install -y build-essential make cmake scons curl git \
ruby autoconf automake autoconf-archive \
gettext libtool flex bison \
libbz2-dev libcurl4-openssl-dev \
libexpat-dev libncurses-dev && \
# Install the Linuxbrew
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
echo "" >> ~/.bashrc && \
echo 'export PKG_CONFIG_PATH"=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc && \
# Setup linuxbrew
echo 'export LINUXBREWHOME="$HOME/.linuxbrew"' >> ~/.bashrc && \
echo 'export PATH="$LINUXBREWHOME/bin:$PATH"' >> ~/.bashrc && \
echo 'export MANPATH="$LINUXBREWHOME/man:$MANPATH"' >> ~/.bashrc && \
echo 'export PKG_CONFIG_PATH="$LINUXBREWHOME/lib64/pkgconfig:$LINUXBREWHOME/lib/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc && \
echo 'export LD_LIBRARY_PATH="$LINUXBREWHOME/lib64:$LINUXBREWHOME/lib:$LD_LIBRARY_PATH"' >> ~/.bashrc \
;fi
#####################################
# Minio:
#####################################
USER root
ARG INSTALL_MC=false
ENV INSTALL_MC ${INSTALL_MC}
COPY mc/config.json /root/.mc/config.json
RUN if [ ${INSTALL_MC} = true ]; then\
curl -fsSL -o /usr/local/bin/mc https://dl.minio.io/client/mc/release/linux-amd64/mc && \
chmod +x /usr/local/bin/mc \
;fi
USER laradock
#
#--------------------------------------------------------------------------
# Final Touch
#--------------------------------------------------------------------------
#
# Clean up
USER root
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set default work directory
WORKDIR /var/www
| null | bug fix |
154 | 79a028ce11741a7665cdeab40171f7dca724fb4f | Bumped source to 20200816-dcc09bc | Bumped source to 20200816-dcc09bc
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200816-60b9c4b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200816-dcc09bc
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| bug fix |
99 | 55e20e7e2a583946eb7f05cf69c05842aa1ae08d | carriage return fix | carriage return fix
|
FROM alpine:edge
# Note:
# This is image is intended to be as small as possible
MAINTAINER "Paolo D'Onorio De Meo <p.donoriodemeo@cineca.it>"
RUN apk update && apk upgrade && apk add \
python3 jq\
bash vim curl wget less \
&& rm -rf /var/cache/apk/*
# Install easy install
ENV EASY_REPO https://bootstrap.pypa.io/ez_setup.py
RUN curl $EASY_REPO | python3
# Install pip and pip packages
RUN easy_install pip \
&& pip --no-cache-dir install --upgrade \
pip httpie http-prompt
# Create a token from API
ADD client_init.sh /tmp/gettoken
# Handle a guest user
ENV GUEST_SHELL /bin/bash
ENV GUEST_USER developer
ENV GUEST_UID 1000
RUN adduser -s $GUEST_SHELL -u $GUEST_UID -D -h /home/$GUEST_USER $GUEST_USER
# Use the new user
USER $GUEST_USER
ENV BASHRC /home/$GUEST_USER/.bashrc
RUN echo "export HISTCONTROL=ignoreboth:erasedups" > $BASHRC \
&& echo "echo '\\nSet your client with:'" >> $BASHRC \
&& echo "echo '$ . /tmp/gettoken'" >> $BASHRC
ENV PAGER less
ENV TERM xterm
|
FROM alpine:edge
# Note:
# This is image is intended to be as small as possible
MAINTAINER "Paolo D'Onorio De Meo <p.donoriodemeo@cineca.it>"
RUN apk update && apk upgrade && apk add \
python3 jq\
bash vim curl wget less \
&& rm -rf /var/cache/apk/*
# Install easy install
ENV EASY_REPO https://bootstrap.pypa.io/ez_setup.py
RUN curl $EASY_REPO | python3
# Install pip and pip packages
RUN easy_install pip \
&& pip --no-cache-dir install --upgrade \
pip httpie http-prompt
# Create a token from API
ADD client_init.sh /tmp/gettoken
# Handle a guest user
ENV GUEST_SHELL /bin/bash
ENV GUEST_USER developer
ENV GUEST_UID 1000
RUN adduser -s $GUEST_SHELL -u $GUEST_UID -D -h /home/$GUEST_USER $GUEST_USER
# Use the new user
USER $GUEST_USER
ENV BASHRC /home/$GUEST_USER/.bashrc
RUN echo "export HISTCONTROL=ignoreboth:erasedups" > $BASHRC \
&& echo "echo -e '\\nSet up this client with the command:'" >> $BASHRC \
&& echo "echo -e '$ . /tmp/gettoken\\n'" >> $BASHRC
ENV PAGER less
ENV TERM xterm
| Not enough inforamtion |
145 | 5241c3e60a204f764ecf3857415fc9a16e5399f9 | fixes up to python | fixes up to python
| FROM nvidia/cuda:9.1-cudnn7-devel-centos7
MAINTAINER r@fael.nl
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN yum update
RUN yum install -y wget \
unzip \
screen tmux \
ruby \
vim
# C/C++ CMake Python
RUN RUN yum install -y centos-release-scl && \
yum install -y devtoolset-7-gcc* \
devtoolset-7-valgrind \
devtoolset-7-gdb \
devtoolset-7-elfutils \
clang \
llvm-toolset-7 \
llvm-toolset-7-cmake \
rh-python36-python-pip \
rh-git29-git \
devtoolset-7-make
RUN echo "source scl_source enable devtoolset-7" >> /etc/bashrc
RUN echo "source scl_source enable llvm-toolset-7" >> /etc/bashrc
RUN echo "source scl_source enable rh-python36" >> /etc/bashrc
RUN echo "source scl_source enable rh-git29" >> /etc/bashrc
RUN yum install -y qt5*devel
RUN yum install -y gtk2-devel
RUN yum install -y blas-devel \
lapack-devel \
atlas-devel \
gcc-gfortran \
tbb-devel \
jasper-devel \
libpng-devel \
libtiff-devel \
libv4l-devel
# Ninja builder
RUN cd /tmp/ && wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
rpm -ivh epel-release-latest-7.noarch.rpm \
RUN yum -y --enablerepo=epel install ninja-build && \
echo "alias ninja='ninja-build'" >> /etc/bashrc
RUN yum remove -y epel-release-7-11
# Fish
RUN cd /etc/yum.repos.d/ && wget https://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo
RUN yum install fish -y
# Python libs & jupyter
RUN pip3 install --upgrade pip
RUN pip3 install numpy scipy matplotlib pandas tensorflow-gpu keras scikit-image scikit-learn
RUN pip3 install jsonschema jinja2 tornado pyzmq ipython jupyter
# OpenCV
ARG OPENCV_VERSION="3.4.1"
RUN cd /root && wget -O opencv.zip https://github.com/opencv/opencv/archive/$OPENCV_VERSION.zip
RUN cd /root && wget -O contrib.zip https://github.com/opencv/opencv_contrib/archive/$OPENCV_VERSION.zip
RUN cd /root && unzip opencv.zip && unzip contrib.zip
RUN mkdir /root/opencv-$OPENCV_VERSION/build && cd /root/opencv-$OPENCV_VERSION/build && \
cmake .. -G"Ninja" -DCMAKE_BUILD_TYPE=RELEASE \
-DENABLE_CXX11=ON -DOPENCV_ENABLE_NONFREE=ON -DCUDA_HOST_COMPILER=/usr/bin/g++ \
-DOPENCV_EXTRA_MODULES_PATH=/root/opencv_contrib-$OPENCV_VERSION/modules \
-DPYTHON_EXECUTABLE=$(which python3) && \
ninja && ninja install
RUN cp /root/opencv-$OPENCV_VERSION/build/lib/python3/cv2.cpython-35m-x86_64-linux-gnu.so /usr/local/lib/python3.5/dist-packages/
# Julia
ARG JULIA_URL="https://julialang-s3.julialang.org/bin/linux/x64/0.6/julia-0.6.2-linux-x86_64.tar.gz"
ARG JULIA_PATH="julia-d386e40c17"
RUN cd /root && wget -O julia.tar.gz ${JULIA_URL} && tar xzf julia.tar.gz
RUN mv /root/$JULIA_PATH/ /opt/julia && chown -R root.root /opt/julia && chmod -R +rx /opt/julia
RUN ln -s /opt/julia/bin/julia /usr/local/bin/julia
RUN julia -e 'Pkg.update()'
RUN julia -e 'Pkg.add("IJulia")'
# # Finnaly
RUN rm -rf /tmp/*.rpm /root/*opencv* /root/*julia*
# # Vim Configuration
# COPY vimrc /root/.vimrc
# RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# RUN echo -e "Run inside vim\n:PlugInstall"
RUN mkdir /playground
WORKDIR /playground
CMD fish
EXPOSE 8888
| FROM nvidia/cuda:9.1-cudnn7-devel-centos7
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN yum groupinstall -y "Development tools"
RUN yum install -y wget \
unzip \
screen tmux \
ruby \
vim
# C/C++ CMake Python
RUN yum install -y centos-release-scl && \
yum install -y devtoolset-7-gcc* \
devtoolset-7-valgrind \
devtoolset-7-gdb \
devtoolset-7-elfutils \
clang \
llvm-toolset-7 \
llvm-toolset-7-cmake \
rh-python36-python-pip \
rh-git29-git \
devtoolset-7-make
RUN echo "source scl_source enable devtoolset-7" >> /etc/bashrc
RUN echo "source scl_source enable llvm-toolset-7" >> /etc/bashrc
RUN echo "source scl_source enable rh-python36" >> /etc/bashrc
RUN echo "source scl_source enable rh-git29" >> /etc/bashrc
RUN source /etc/bashrc
RUN yum install -y qt5*devel
RUN yum install -y gtk2-devel
RUN yum install -y blas-devel \
lapack-devel \
atlas-devel \
gcc-gfortran \
tbb-devel \
jasper-devel \
libpng-devel \
libtiff-devel \
libv4l-devel
# Ninja builder
RUN cd /tmp/ && wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
rpm -ivh epel-release-latest-7.noarch.rpm
RUN yum -y --enablerepo=epel install ninja-build && \
echo "alias ninja='ninja-build'" >> /etc/bashrc
RUN yum remove -y epel-release-7-11
RUN source /etc/bashrc
# Fish
RUN cd /etc/yum.repos.d/ && wget https://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo
RUN yum install fish -y
# Python libs & jupyter
RUN /opt/rh/rh-python36/root/usr/bin/pip3 install --upgrade pip
RUN /opt/rh/rh-python36/root/usr/bin/pip3 install \
numpy scipy matplotlib pandas \
tensorflow-gpu keras \
scikit-image scikit-learn \
jsonschema jinja2 tornado pyzmq ipython jupyter
# OpenCV
ARG OPENCV_VERSION="3.4.1"
RUN cd /root && wget -O opencv.zip https://github.com/opencv/opencv/archive/$OPENCV_VERSION.zip
RUN cd /root && wget -O contrib.zip https://github.com/opencv/opencv_contrib/archive/$OPENCV_VERSION.zip
RUN cd /root && unzip opencv.zip && unzip contrib.zip
RUN mkdir /root/opencv-$OPENCV_VERSION/build && cd /root/opencv-$OPENCV_VERSION/build && \
cmake .. -G"Ninja" -DCMAKE_BUILD_TYPE=RELEASE \
-DENABLE_CXX11=ON -DOPENCV_ENABLE_NONFREE=ON -DCUDA_HOST_COMPILER=/usr/bin/g++ \
-DOPENCV_EXTRA_MODULES_PATH=/root/opencv_contrib-$OPENCV_VERSION/modules \
-DPYTHON_EXECUTABLE=$(which python3) && \
ninja && ninja install
RUN cp /root/opencv-$OPENCV_VERSION/build/lib/python3/cv2.cpython-35m-x86_64-linux-gnu.so /usr/local/lib/python3.5/dist-packages/
# Julia
ARG JULIA_URL="https://julialang-s3.julialang.org/bin/linux/x64/0.6/julia-0.6.2-linux-x86_64.tar.gz"
ARG JULIA_PATH="julia-d386e40c17"
RUN cd /root && wget -O julia.tar.gz ${JULIA_URL} && tar xzf julia.tar.gz
RUN mv /root/$JULIA_PATH/ /opt/julia && chown -R root.root /opt/julia && chmod -R +rx /opt/julia
RUN ln -s /opt/julia/bin/julia /usr/local/bin/julia
RUN julia -e 'Pkg.update()'
RUN julia -e 'Pkg.add("IJulia")'
# # Finnaly
RUN rm -rf /tmp/*.rpm /root/*opencv* /root/*julia*
# # Vim Configuration
# COPY vimrc /root/.vimrc
# RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# RUN echo -e "Run inside vim\n:PlugInstall"
RUN mkdir /playground
WORKDIR /playground
CMD fish
EXPOSE 8888
| maintenance/other |
258 | 852b728a02ba474f6948c2e9b019f8959cc11a9d | Attempt to fix Dockerfile | Attempt to fix Dockerfile
| FROM node:12-alpine
WORKDIR /src
ADD . /src
ARG env=production
RUN yarn global add bower \
&& bower install --allow-root \
&& yarn
WORKDIR /src
EXPOSE 9090
ENV NODE_ENV $env
CMD ["npm", "start"]
| FROM node:12-slim
WORKDIR /src
ADD . /src
ARG env=production
RUN apt-get update \
&& apt-get install build-essential git vim -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN yarn global add bower \
&& bower install --allow-root \
&& yarn
WORKDIR /src
EXPOSE 9090
ENV NODE_ENV $env
CMD ["npm", "start"]
| maintenance/other |
62 | 9d81ae8c9aed9b889130485f79e3c6788ee44f48 | Bumped source to 20210708-032639e | Bumped source to 20210708-032639e
| FROM docker.pkg.github.com/dock0/arch/arch:20210707-324d485
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210708-032639e
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| maintenance/other |
303 | 13e51f196e00eaa7140413b6b27c490ad322ea12 | Bumped source to 20210130-a067386 | Bumped source to 20210130-a067386
| FROM docker.pkg.github.com/dock0/arch/arch:20210130-f647073
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210130-a067386
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| code refactoring |
2097 | d52fd80eea1515e83f85ba19640cd3601490484f | Bumped source to 20210119-0101695 | Bumped source to 20210119-0101695
| FROM docker.pkg.github.com/dock0/arch/arch:20210119-bab8ee8
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | code refactoring |
197 | c913a3cc143fb8342d0c8eaabf94109d71f37ca3 | Update golang:1.10-alpine Docker digest to bb3108 | Update golang:1.10-alpine Docker digest to bb3108 | FROM golang:1.10-alpine@sha256:96e25c71acc7756adaa0c9237bc799dfba4c0a71409612b3111f20a79a9c4cc2 AS build
RUN apk add --no-cache \
make \
git \
upx
RUN mkdir -p /go/src/github.com/hairyhenderson/gomplate
WORKDIR /go/src/github.com/hairyhenderson/gomplate
COPY . /go/src/github.com/hairyhenderson/gomplate
RUN make build-x compress-all
FROM scratch AS artifacts
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /go/src/github.com/hairyhenderson/gomplate/bin/* /bin/
CMD [ "/bin/gomplate_linux-amd64" ]
FROM scratch AS gomplate
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
COPY --from=artifacts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH} /gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
FROM alpine:3.7@sha256:8c03bb07a531c53ad7d0f6e7041b64d81f99c6e493cb39abba56d956b40eacbc AS gomplate-alpine
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
RUN apk add --no-cache ca-certificates
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH}-slim /bin/gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
FROM scratch AS gomplate-slim
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
COPY --from=artifacts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH}-slim /gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
| FROM golang:1.10-alpine@sha256:bb31085d5c5db578edf3d4e5541cfb949b713bb7018bbac4dfd407b2017ef5b8 AS build
RUN apk add --no-cache \
make \
git \
upx
RUN mkdir -p /go/src/github.com/hairyhenderson/gomplate
WORKDIR /go/src/github.com/hairyhenderson/gomplate
COPY . /go/src/github.com/hairyhenderson/gomplate
RUN make build-x compress-all
FROM scratch AS artifacts
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /go/src/github.com/hairyhenderson/gomplate/bin/* /bin/
CMD [ "/bin/gomplate_linux-amd64" ]
FROM scratch AS gomplate
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
COPY --from=artifacts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH} /gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
FROM alpine:3.7@sha256:8c03bb07a531c53ad7d0f6e7041b64d81f99c6e493cb39abba56d956b40eacbc AS gomplate-alpine
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
RUN apk add --no-cache ca-certificates
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH}-slim /bin/gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
FROM scratch AS gomplate-slim
ARG BUILD_DATE
ARG VCS_REF
ARG OS=linux
ARG ARCH=amd64
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.source="https://github.com/hairyhenderson/gomplate"
COPY --from=artifacts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=artifacts /bin/gomplate_${OS}-${ARCH}-slim /gomplate
ENTRYPOINT [ "/gomplate" ]
CMD [ "--help" ]
| feature addition |
267 | b935793b060a3a920837ae0ae507115840b856d6 | Update AWS CLI version to 1.10.53 | Update AWS CLI version to 1.10.53
| FROM python:3.5-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
RUN \
mkdir -p /aws && \
pip install --upgrade awscli==1.10.52 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT ["aws"]
| FROM python:3.5-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
RUN \
mkdir -p /aws && \
pip install --upgrade awscli==1.10.53 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT ["aws"]
| bug fix |
347 | a063d2244249a62b8f5e0e0c28cc47dbcfa3b5ad | copy more files and add new entrypoint | copy more files and add new entrypoint
| FROM alpine
COPY add-user gen-cert output-crt /usr/local/sbin/
RUN apk update \
&& apk add openssl \
&& apk add apache2-utils
ENTRYPOINT ["sh"]
| FROM alpine
COPY add-user del-user gen-cert output-crt output-auth sleep-forever /usr/local/sbin/
RUN apk update \
&& apk add openssl \
&& apk add apache2-utils
ENTRYPOINT ["sleep-forever"]
| code refactoring |
2117 | 4d1cd9fce58dd9c7ab31bc183d0294d2afd1a40f | Fixed my fingers being overhasty | Fixed my fingers being overhasty
| FROM frolvlad/alpine-glibc
MAINTAINER Jannik Kolodziej <docker@jkolodziej.de>
ENV FACTORIO_VERSION=0.12.31 \
MANAGER_VERSION=0.2.0 \
ADMIN_PASSWORD=
VOLUME /opt/factorio/saves /opt/factorio/mods /security
RUN apk add --no-cache curl tar unzip nginx
WORKDIR /opt/
ADD "init.sh" "/opt/init.sh"
ADD "nginx.conf" "/etc/nginx/nginx.conf"
RUN curl -s -L -S -k https://www.factorio.com/get-download/$FACTORIO_VERSION/headless/linux64 -o /tmp/factorio_$FACTORIO_VERSION.tar.gz && \
tar zxf /tmp/factorio_$FACTORIO_VERSION.tar.gz && \
rm -rf /tmp/factorio_$FACTORIO_VERSION.tag.gz && \
curl -s -L -S -k https://github.com/MajorMJR/factorio-server-manager/releases/download/$MANAGER_VERSION/factorio-server-manager-linux-x64.zip --cacert /opt/github.pem -o /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip && \
unzip -qq /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip && \
rm -rf /tmp/factorio-server-manager-linux-x64_$MANAGER_VERSION.zip
EXPOSE 80/tcp 443/tcp 34190-34200/udp
ENTRYPOINT ["/opt/init.sh"]
| null | bug fix |
2139 | 56484a6117e307b4b78c4f7c4c059b1e2d0720ee | update awestruct to ruby 2.3 | update awestruct to ruby 2.3
|
FROM debian:jessie
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
curl \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
procps \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
# skip installing gem documentation
RUN mkdir -p /usr/local/etc \
&& { \
echo 'install: --no-document'; \
echo 'update: --no-document'; \
} >> /usr/local/etc/gemrc
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.5
ENV RUBY_DOWNLOAD_SHA256 30c4b31697a4ca4ea0c8db8ad30cf45e6690a0f09687e5d483c933c03ca335e3
ENV RUBYGEMS_VERSION 2.6.4
ENV BUNDLER_VERSION 1.12.3
ADD Gemfile /tmp/Gemfile
# some of ruby's build scripts are written in ruby
# we purge this later to make sure our final image uses what we just built
RUN set -ex \
&& buildDeps=' \
autoconf \
bison \
gcc \
libbz2-dev \
libgdbm-dev \
libglib2.0-dev \
libncurses-dev \
libreadline-dev \
libxml2-dev \
libxslt-dev \
make \
ruby \
' \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
&& mkdir -p /usr/src/ruby \
&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
&& rm ruby.tar.gz \
&& cd /usr/src/ruby \
&& { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new && mv file.c.new file.c \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& make install \
&& gem install bundler --version "$BUNDLER_VERSION" \
&& cd /tmp \
&& bundle install \
&& apt-get purge -y --auto-remove $buildDeps \
&& gem update --system $RUBYGEMS_VERSION \
&& rm -r /usr/src/ruby
RUN gem install bundler --version "$BUNDLER_VERSION"
# install things globally, for great justice
# and don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_PATH="$GEM_HOME" \
BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
WORKDIR /app
EXPOSE 4242
ENTRYPOINT ["awestruct"]
CMD ["--help"]
| null | bug fix |
This dataset is designed for multi-label classification of Git commit messages into predefined categories.
This dataset contains:
The goal of the dataset is to classify each commit message into one or more categories (multi-label classification).
The dataset consists of the following CSV files:
training_data.csv
: Contains commit messages for training.training_label.csv
: Contains multi-label annotations for the training set.validation_data.csv
: Contains commit messages for validation.validation_label.csv
: Contains multi-label annotations for the validation set.testing_data.csv
: Contains commit messages for testing (without labels).This is the Leaderboard for my competiotion in Codalab