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 |
---|---|---|---|---|---|---|
40 | 27460554f5ebd6f04ab7668683d4979a9248e320 | Update Docker image | Update Docker image
| FROM node:11.12.0
WORKDIR /usr/src/app/
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD ["npm","start"]
| FROM node:14.8.0-slim
WORKDIR /usr/src/app/
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD ["npm","start"]
| maintenance/other |
2201 | d37a541164eaa6e1b6bc63256e14714ea4c0eed1 | Upgrade to Baleen 2.2.0 | Upgrade to Baleen 2.2.0
| # Use a Oracle JDK base image
FROM committed/java
MAINTAINER Dstl <https://github.com/dstl/baleen>
# Baleen installation and configuration
ENV BALEEN_VERSION 2.1.0
# Download the (English) OpenNLP Name Entity Recognition models
RUN mkdir -p /opt/baleen/models \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-date.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-location.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-money.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-organization.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-percentage.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-person.bin \
&& wget -q -P /opt/baleen/models/ http://opennlp.sourceforge.net/models-1.5/en-ner-time.bin
# Now create the necessary directories (/baleen used as a volume, /opt/baleen for the jars):
# Either, download the Jars direct from github releases
RUN mkdir -p /baleen \
&& mkdir -p /opt/baleen \
&& wget -q -O /opt/baleen/baleen.jar https://github.com/dstl/baleen/releases/download/v${BALEEN_VERSION}/baleen-${BALEEN_VERSION}.jar \
&& wget -q -O /opt/baleen/baleen-javadoc.jar https://github.com/dstl/baleen/releases/download/v${BALEEN_VERSION}/baleen-${BALEEN_VERSION}-javadoc.jar
# Or, if you have a local version you can comment out the wget above
# and use the ADD line instead.
# ADD baleen-${BALEEN_VERSION}.jar /opt/baleen/baleen.jar
# ADD baleen-${BALEEN_VERSION}-javadoc.jar /opt/baleen/baleen-javadoc.jar
# Mount /baleen as the working directory, expose the Baleen's standard port
VOLUME /baleen
WORKDIR /baleen
EXPOSE 6413
# Always run Baleen
ENTRYPOINT ["java", "-jar", "/opt/baleen/baleen.jar"]
| null | bug fix |
2099 | cc934983dc64ebce40754aff75cc3a3be8465d84 | Bumped source to 20200513-5a9ec88 | Bumped source to 20200513-5a9ec88
| FROM docker.pkg.github.com/dock0/arch/arch:20200512-2d69455
MAINTAINER akerl <[email protected]>
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 |
297 | 96e6b606d1567cfa1d5c2c029dd53d5e1031df16 | #NAME? | #NAME? | FROM centos:centos6
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm git
RUN npm install bower -g
# Bundle app source
COPY . /src/twilio
# Install client dependencies
RUN cd /src/twilio; bower install --allow-root
# Install server dependencies
RUN cd /src/twilio/server-demo; npm install
EXPOSE 3000
CMD ["node", "/src/twilio/server-demo/index.js"]
| FROM centos:centos6
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm git
RUN npm install bower -g
# Bundle app source
COPY . /src/twilio
# Install client dependencies
RUN cd /src/twilio; bower install --allow-root
# Install server dependencies
RUN cd /src/twilio/demo-server; npm install
EXPOSE 3000
CMD ["node", "/src/twilio/demo-server/index.js"]
| maintenance/other |
133 | 1aaa3177c5b8c85276c2d1395ca3c7d8c10c94e1 | Run docker/update.sh | Run docker/update.sh
| FROM alpine:3.2
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
ENV DOCKER_VERSION 1.9.0-dev
ENV DOCKER_URL https://master.dockerproject.org/linux/amd64/docker-1.9.0-dev
ENV DOCKER_SHA256 cb05d3e724c94be6c593f13d1e2f66a7f4482def75edd072b40d36d9423382ed
RUN curl -fSL "${DOCKER_URL}" -o /usr/local/bin/docker \
&& echo "${DOCKER_SHA256} /usr/local/bin/docker" | sha256sum -c - \
&& chmod +x /usr/local/bin/docker
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
| FROM alpine:3.2
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
ENV DOCKER_VERSION 1.9.0-dev
ENV DOCKER_URL https://master.dockerproject.org/linux/amd64/docker-1.9.0-dev
ENV DOCKER_SHA256 c5bcf49f7426123521e1a3ea26fa0bf41c88793437df5e894ab5b23ef74938d8
RUN curl -fSL "${DOCKER_URL}" -o /usr/local/bin/docker \
&& echo "${DOCKER_SHA256} /usr/local/bin/docker" | sha256sum -c - \
&& chmod +x /usr/local/bin/docker
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
| maintenance/other |
36 | 4c1e5a84665f724f5ce712f83aa730bb115d6375 | Bumped source to 20200614-12dcdbe | Bumped source to 20200614-12dcdbe
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200614-2780f9b
MAINTAINER akerl <[email protected]>
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:20200614-12dcdbe
MAINTAINER akerl <[email protected]>
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'
| code refactoring |
2198 | f84a3a887fd468cc408419d8dd93a389500ce9c0 | Bumped source to 20200226-0c1391b | Bumped source to 20200226-0c1391b
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200226-6536815
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null | Not enough inforamtion |
176 | 0936f0a3771b87ff2831b94ab7c242ca8aba008f | Update default base image | Update default base image
| # 3DCityDB PostGIS Dockerfile #################################################
# Official website https://www.3dcitydb.net
# GitHub https://github.com/3dcitydb
###############################################################################
# Base image
ARG BASEIMAGE_TAG='14-3.2'
FROM postgis/postgis:${BASEIMAGE_TAG}
# Set 3DCityDB version
ARG CITYDB_VERSION='4.3.0'
ENV CITYDBVERSION=${CITYDB_VERSION}
# Copy SQL scripts
WORKDIR /3dcitydb
COPY SQLScripts .
COPY DockerScripts/3dcitydb-initdb.sh /docker-entrypoint-initdb.d/
# Set labels
LABEL maintainer="Bruno Willenborg"
LABEL maintainer.email="b.willenborg(at)tum.de"
LABEL maintainer.organization="Chair of Geoinformatics, Technical University of Munich (TUM)"
LABEL source.repo="https://github.com/3dcitydb/3dcitydb"
| # 3DCityDB PostGIS Dockerfile #################################################
# Official website https://www.3dcitydb.net
# GitHub https://github.com/3dcitydb
###############################################################################
# Base image
ARG BASEIMAGE_TAG='14-3.3'
FROM postgis/postgis:${BASEIMAGE_TAG}
# Set 3DCityDB version
ARG CITYDB_VERSION='4.3.0'
ENV CITYDBVERSION=${CITYDB_VERSION}
# Copy SQL scripts
WORKDIR /3dcitydb
COPY SQLScripts .
COPY DockerScripts/3dcitydb-initdb.sh /docker-entrypoint-initdb.d/
# Set labels
LABEL maintainer="Bruno Willenborg"
LABEL maintainer.email="b.willenborg(at)tum.de"
LABEL maintainer.organization="Chair of Geoinformatics, Technical University of Munich (TUM)"
LABEL source.repo="https://github.com/3dcitydb/3dcitydb"
| maintenance/other |
357 | 68ce09ad49fdbfc4b1042b1f855cd67f9ee32f91 | Update Dockerfile | Update Dockerfile | FROM ubuntu:16.04
# Default is ASCII, but Discovery documents are UTF-8.
ENV LANG C.UTF-8
RUN apt-get update
# Install the latest stable version of git.
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:git-core/ppa
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y curl openssh-client wget
# Install Go 1.8.
RUN wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
RUN tar -xvf go1.8.linux-amd64.tar.gz
RUN mv go /usr/local
ENV PATH /usr/local/go/bin:$PATH
# Install Node.js 8.x.
# We need to use 8.x because generate.ts in google-cloud-nodejs-client
# uses async function
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
# Install PHP 7 and Composer.
RUN apt-get install -y php7.0 php7.0-xml
RUN curl https://getcomposer.org/download/1.5.2/composer.phar \
-o /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer
# Install pip and setup /env.
RUN apt-get install -y python-pip
RUN pip install virtualenv
RUN virtualenv /env -p python3
# Install Ruby 2.3 and Bundler.
RUN apt-get install -y ruby ruby-dev
RUN gem install bundler --no-ri --no-rdoc
# Set virtualenv environment variables. This is equivalent to running
# source /env/bin/activate
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
# 1 hour timeout so the process is not killed before any task completes.
CMD scripts/git-cookie-authdaemon && \
gunicorn -b :$PORT main:app --timeout 3600 --workers 4
| FROM ubuntu:16.04
# Default is ASCII, but Discovery documents are UTF-8.
ENV LANG C.UTF-8
RUN apt-get update
# Install the latest stable version of git.
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:git-core/ppa
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y curl openssh-client wget
# Install Go 1.8.
RUN wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
RUN tar -xvf go1.8.linux-amd64.tar.gz
RUN mv go /usr/local
ENV PATH /usr/local/go/bin:$PATH
# Install Node.js 8.x.
# We need to use 8.x because generate.ts in google-cloud-nodejs-client
# uses async function and 8.x is LTS release
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
# Install PHP 7 and Composer.
RUN apt-get install -y php7.0 php7.0-xml
RUN curl https://getcomposer.org/download/1.5.2/composer.phar \
-o /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer
# Install pip and setup /env.
RUN apt-get install -y python-pip
RUN pip install virtualenv
RUN virtualenv /env -p python3
# Install Ruby 2.3 and Bundler.
RUN apt-get install -y ruby ruby-dev
RUN gem install bundler --no-ri --no-rdoc
# Set virtualenv environment variables. This is equivalent to running
# source /env/bin/activate
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
# 1 hour timeout so the process is not killed before any task completes.
CMD scripts/git-cookie-authdaemon && \
gunicorn -b :$PORT main:app --timeout 3600 --workers 4
| feature addition |
155 | 3803edf038cc6dda83a451b8db954c967234eded | Bumped source to 20210403-9d736da | Bumped source to 20210403-9d736da
| FROM docker.pkg.github.com/dock0/service/service:20210403-5fd329c
MAINTAINER akerl <[email protected]>
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:20210403-9d736da
MAINTAINER akerl <[email protected]>
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"
| feature addition |
2322 | 47cdd15d537405b70a03f28a75d47048fa203772 | add libnuma | add libnuma
| FROM ubuntu:16.04
ARG PREFIX=/opt/rocm
# Support multiarch
RUN dpkg --add-architecture i386
# Add rocm repository
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl apt-utils wget
RUN curl https://raw.githubusercontent.com/RadeonOpenCompute/ROCm-docker/develop/add-rocm.sh | bash
# Install dependencies required to build hcc
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated \
apt-utils \
build-essential \
clang-3.8 \
clang-format-3.8 \
clang-tidy-3.8 \
cmake \
curl \
doxygen \
g++-mingw-w64 \
g++-mingw-w64-x86-64 \
g++-multilib \
git \
hsa-rocr-dev \
hsakmt-roct-dev \
lcov \
libelf-dev \
libncurses5-dev \
libpthread-stubs0-dev \
libunwind-dev \
mingw-w64 \
mingw-w64-tools \
nsis \
python \
python-dev \
python-pip \
rocm-opencl \
rocm-opencl-dev \
software-properties-common \
wget \
wine \
xvfb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install an init system
RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb
RUN dpkg -i dumb-init_*.deb && rm dumb-init_*.deb
# Install cget
RUN pip install cget
# Add the windows toolchain
ADD cmake/mingw-toolchain.cmake $PREFIX/x86_64-w64-mingw32/cmake/toolchain.cmake
RUN cget -p $PREFIX/x86_64-w64-mingw32 init -t $PREFIX/x86_64-w64-mingw32/cmake/toolchain.cmake
# Build hcc
RUN git clone --depth 1 https://github.com/RadeonOpenCompute/hcc.git -b roc-1.7.x /hcc && \
cd hcc && \
git submodule init && \
git submodule update --recursive && \
cget -p $PREFIX install hcc,. && cd .. && rm -rf /hcc
# This is a workaround for broken installations
RUN ln -s $PREFIX /opt/rocm/hip
RUN ln -s $PREFIX /opt/rocm/hcc
# Build using hcc
RUN cget -p $PREFIX init --cxx $PREFIX/bin/hcc
# Install cppcheck
RUN cget -p $PREFIX install danmar/[email protected]
# Install hip
RUN cget -p $PREFIX install ROCm-Developer-Tools/HIP@85975e719dcae7dbd4d0edf6e691c197c0a4f18c
RUN cget -p $PREFIX install pfultz2/rocm-recipes
# Install dependencies
ADD dev-requirements.txt /dev-requirements.txt
RUN CXXFLAGS='-isystem $PREFIX/include' cget -p $PREFIX install -f /dev-requirements.txt
RUN cget -p $PREFIX install RadeonOpenCompute/clang-ocl@2f118b5b6b05f0b17467ef07a8bd3b8e5d8b3aac
# Install doc requirements
ADD doc/requirements.txt /doc-requirements.txt
RUN pip install -r /doc-requirements.txt
# Install windows opencl
RUN cget -p $PREFIX/x86_64-w64-mingw32/opencl init -t $PREFIX/x86_64-w64-mingw32/cmake/toolchain.cmake
RUN cget install -p $PREFIX/x86_64-w64-mingw32/opencl KhronosGroup/OpenCL-Headers@master -X header -DINCLUDE_DIR=opencl22
RUN cget install -p $PREFIX/x86_64-w64-mingw32/opencl pfultz2/OpenCL-ICD-Loader@master
# Install windows dependencies
RUN cget -p $PREFIX/x86_64-w64-mingw32 install pfultz2/rocm-recipes
RUN cget -p $PREFIX/x86_64-w64-mingw32 install -X header meganz/mingw-std-threads@dad05201ad4e096c5d1b2043081f412aeb8f5efb
RUN ln -s $PREFIX/x86_64-w64-mingw32/include/mingw.thread.h $PREFIX/x86_64-w64-mingw32/include/thread
# RUN CXXFLAGS='-I $PREFIX/x86_64-w64-mingw32/include' AMDAPPSDKROOT=$PREFIX/x86_64-w64-mingw32/opencl cget -p $PREFIX/x86_64-w64-mingw32 install -f /dev-requirements.txt
# Setup wine
RUN mkdir -p /jenkins
RUN chmod 777 /jenkins
RUN WINEDEBUG=-all DISPLAY=:55.0 wineboot; wineserver -w
| null | code refactoring |
146 | 9c99ee94114f3ded8d657a2128115f5829217159 | add new WORKDIR to docker container | add new WORKDIR to docker container
| FROM broadinstitute/java-baseimage
MAINTAINER Broad Institute DSDE <[email protected]>
# Install ant, git for building
RUN apt-get update && \
apt-get --no-install-recommends install -y --force-yes \
git \
ant && \
apt-get clean autoclean && \
apt-get autoremove -y
# Assumes Dockerfile lives in root of the git repo. Pull source files into container
COPY build.xml /usr/picard/build.xml
COPY src /usr/picard/src
COPY lib /usr/picard/lib
WORKDIR /usr/picard
# Clone out htsjdk. First turn off git ssl verification
RUN git config --global http.sslVerify false && git clone https://github.com/samtools/htsjdk.git
# Build the distribution jar, clean up everything else
RUN ant clean all && \
mv dist/picard.jar picard.jar && \
mv src/scripts/picard/docker_helper.sh docker_helper.sh && \
ant clean && \
rm -rf htsjdk && \
rm -rf src && \
rm -rf lib && \
rm build.xml
ENTRYPOINT ["./docker_helper.sh"] | FROM broadinstitute/java-baseimage
MAINTAINER Broad Institute DSDE <[email protected]>
# Install ant, git for building
RUN apt-get update && \
apt-get --no-install-recommends install -y --force-yes \
git \
ant && \
apt-get clean autoclean && \
apt-get autoremove -y
# Assumes Dockerfile lives in root of the git repo. Pull source files into container
COPY build.xml /usr/picard/build.xml
COPY src /usr/picard/src
COPY lib /usr/picard/lib
WORKDIR /usr/picard
# Clone out htsjdk. First turn off git ssl verification
RUN git config --global http.sslVerify false && git clone https://github.com/samtools/htsjdk.git
# Build the distribution jar, clean up everything else
RUN ant clean all && \
mv dist/picard.jar picard.jar && \
mv src/scripts/picard/docker_helper.sh docker_helper.sh && \
ant clean && \
rm -rf htsjdk && \
rm -rf src && \
rm -rf lib && \
rm build.xml
RUN mkdir /usr/working
WORKDIR /usr/working
ENTRYPOINT ["/usr/picard/docker_helper.sh"]
| maintenance/other |
207 | 243a47d4b9f50463d247e9727f87edce03896036 | dockerfile: upgrade to `sameersbn/ubuntu:14.04.20160218` | dockerfile: upgrade to `sameersbn/ubuntu:14.04.20160218`
| FROM sameersbn/ubuntu:14.04.20160121
MAINTAINER [email protected]
ENV PG_APP_HOME="/etc/docker-postgresql"\
PG_VERSION=9.4 \
PG_USER=postgres \
PG_HOME=/var/lib/postgresql \
PG_RUNDIR=/run/postgresql \
PG_LOGDIR=/var/log/postgresql \
PG_CERTDIR=/etc/postgresql/certs
ENV PG_BINDIR=/usr/lib/postgresql/${PG_VERSION}/bin \
PG_DATADIR=${PG_HOME}/${PG_VERSION}/main
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y acl \
postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} postgresql-contrib-${PG_VERSION} \
&& ln -sf ${PG_DATADIR}/postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf \
&& ln -sf ${PG_DATADIR}/pg_hba.conf /etc/postgresql/${PG_VERSION}/main/pg_hba.conf \
&& ln -sf ${PG_DATADIR}/pg_ident.conf /etc/postgresql/${PG_VERSION}/main/pg_ident.conf \
&& rm -rf ${PG_HOME} \
&& rm -rf /var/lib/apt/lists/*
COPY runtime/ ${PG_APP_HOME}/
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 5432/tcp
VOLUME ["${PG_HOME}", "${PG_RUNDIR}"]
WORKDIR ${PG_HOME}
ENTRYPOINT ["/sbin/entrypoint.sh"]
| FROM sameersbn/ubuntu:14.04.20160218
MAINTAINER [email protected]
ENV PG_APP_HOME="/etc/docker-postgresql"\
PG_VERSION=9.4 \
PG_USER=postgres \
PG_HOME=/var/lib/postgresql \
PG_RUNDIR=/run/postgresql \
PG_LOGDIR=/var/log/postgresql \
PG_CERTDIR=/etc/postgresql/certs
ENV PG_BINDIR=/usr/lib/postgresql/${PG_VERSION}/bin \
PG_DATADIR=${PG_HOME}/${PG_VERSION}/main
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y acl \
postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} postgresql-contrib-${PG_VERSION} \
&& ln -sf ${PG_DATADIR}/postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf \
&& ln -sf ${PG_DATADIR}/pg_hba.conf /etc/postgresql/${PG_VERSION}/main/pg_hba.conf \
&& ln -sf ${PG_DATADIR}/pg_ident.conf /etc/postgresql/${PG_VERSION}/main/pg_ident.conf \
&& rm -rf ${PG_HOME} \
&& rm -rf /var/lib/apt/lists/*
COPY runtime/ ${PG_APP_HOME}/
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 5432/tcp
VOLUME ["${PG_HOME}", "${PG_RUNDIR}"]
WORKDIR ${PG_HOME}
ENTRYPOINT ["/sbin/entrypoint.sh"]
| maintenance/other |
70 | e1a7adbcc23619b956b86f8c905189f1d1920858 | Bumped source to 20221008-095a533 | Bumped source to 20221008-095a533
| FROM ghcr.io/dock0/arch:20221008-060e903
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20221008-095a533
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
58 | 050daae82daa14961bd060946a6062f1ac1e87bf | Bump ZIPKIN_VERSION to 1.27.0 | Bump ZIPKIN_VERSION to 1.27.0
| FROM openzipkin/jre-full:1.8.0_60
MAINTAINER OpenZipkin "http://zipkin.io/"
RUN apk update && apk add curl
ENV ZIPKIN_REPO https://jcenter.bintray.com
ENV ZIPKIN_VERSION 1.26.1
# Use to set heap, trust store or other system properties.
# Intentionally defaulted to empty string.
ENV JAVA_OPTS=
RUN mkdir /zipkin
ADD .cassandra_profile /zipkin/.cassandra_profile
ADD .http_profile /zipkin/.http_profile
ADD .kafka_profile /zipkin/.kafka_profile
ADD .mysql_profile /zipkin/.mysql_profile
ADD .scribe_profile /zipkin/.scribe_profile
WORKDIR /zipkin
| FROM openzipkin/jre-full:1.8.0_60
MAINTAINER OpenZipkin "http://zipkin.io/"
RUN apk update && apk add curl
ENV ZIPKIN_REPO https://jcenter.bintray.com
ENV ZIPKIN_VERSION 1.27.0
# Use to set heap, trust store or other system properties.
# Intentionally defaulted to empty string.
ENV JAVA_OPTS=
RUN mkdir /zipkin
ADD .cassandra_profile /zipkin/.cassandra_profile
ADD .http_profile /zipkin/.http_profile
ADD .kafka_profile /zipkin/.kafka_profile
ADD .mysql_profile /zipkin/.mysql_profile
ADD .scribe_profile /zipkin/.scribe_profile
WORKDIR /zipkin
| code refactoring |
2129 | 8ae93e41951e649784f03f150468039f72e6703b | Bumped source to 20210920-21e1115 | Bumped source to 20210920-21e1115
| FROM docker.pkg.github.com/dock0/arch/arch:20210920-751967d
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | feature addition |
234 | 09c59065959099daf24b0126ebb932a74d4194c7 | Updated node to 9.7.0 | Updated node to 9.7.0
| FROM node:9.6.1
MAINTAINER Anthony Smith <[email protected]>
ENV APP_HOME /usr/src/app
RUN curl -L https://api.github.com/repos/npm/npm/tarball/latest -o npm.tar.gz
RUN tar xzf npm.tar.gz
RUN npm-npm-*/scripts/install.sh
RUN rm -f npm.tar.gz
RUN rm -rf npm-npm-*/
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN apt-get update && \
apt-get install apt-transport-https
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && \
apt-get install yarn
RUN apt-get clean
WORKDIR $APP_HOME
| FROM node:9.7.0
MAINTAINER Anthony Smith <[email protected]>
ENV APP_HOME /usr/src/app
RUN curl -L https://api.github.com/repos/npm/npm/tarball/latest -o npm.tar.gz
RUN tar xzf npm.tar.gz
RUN npm-npm-*/scripts/install.sh
RUN rm -f npm.tar.gz
RUN rm -rf npm-npm-*/
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN apt-get update && \
apt-get install apt-transport-https
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && \
apt-get install yarn
RUN apt-get clean
WORKDIR $APP_HOME
| code refactoring |
137 | a7b48effcac4fc45ffd984c5ada02b1d79d2a5ba | add a dockerfile to run this in a container as well | add a dockerfile to run this in a container as well
| null | null | code refactoring |
323 | 1bd5b2b4e4050c92e1c51d2124e5e235cf17e974 | Updated Atlassian JIRA Software master branch to latest version 8.18.0 | Updated Atlassian JIRA Software master branch to latest version 8.18.0
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 8.16.1
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.16.1.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 8.18.0
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.16.1.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| maintenance/other |
2208 | ca8e2c170bef1316cbe1e4b43113f8b59e23d7b0 | Removes the RUN prefix before chown and changes ENTRYPOINT to CMD. | Removes the RUN prefix before chown and changes ENTRYPOINT to CMD.
| FROM ubuntu:14.04
MAINTAINER Boggart <github.com/Boggart>
ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# Nginx-PHP Installation
RUN apt-get update
RUN apt-get install -y nano curl wget build-essential software-properties-common
RUN add-apt-repository -y ppa:ondrej/php5
RUN add-apt-repository -y ppa:nginx/stable
RUN apt-get update
RUN apt-get install -y php5-cli php5-mysql php5-pgsql php5-sqlite php5-curl\
php5-gd php5-mcrypt php5-intl php5-imap php5-tidy php5-fpm supervisor nginx
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Create folder for server and add index.php file to for nginx
RUN mkdir -p /var/www/html && chmod a+r /var/www/html && echo "<?php phpinfo(); ?>" > /var/www/html/index.php
# ADD Nginx config
ADD build/nginx.conf /etc/nginx/conf.d/default.conf
RUN sed -i -e"s/keepalive_timeout\s*65/keepalive_timeout 2/" /etc/nginx/nginx.conf
RUN sed -i -e"s/keepalive_timeout 2/keepalive_timeout 2;\n\tclient_max_body_size 300m/" /etc/nginx/nginx.conf
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN echo "user www-data;" >> /etc/nginx/nginx.conf
# php-fpm config
RUN sed -i -e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/fpm/php.ini
RUN sed -i -e "s/upload_max_filesize\s*=\s*2M/upload_max_filesize = 300M/g" /etc/php5/fpm/php.ini
RUN sed -i -e "s/post_max_size\s*=\s*8M/post_max_size = 300M/g" /etc/php5/fpm/php.ini
RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf
RUN sed -i -e "s/;catch_workers_output\s*=\s*yes/catch_workers_output = yes/g" /etc/php5/fpm/pool.d/www.conf
RUN find /etc/php5/cli/conf.d/ -name "*.ini" -exec sed -i -re 's/^(\s*)#(.*)/\1;\2/g' {} \;
# ADD supervisord config
ADD build/supervisord.conf /etc/supervisord.conf
ADD build/run.sh /run.sh
RUN chmod a+x /run.sh
EXPOSE 80
#Start supervisord
ENTRYPOINT ["RUN chown -R www-data:www-data /var/www/html", "/run.sh"] | null | maintenance/other |
2123 | ce988d9c12840e7885f153e43c98f319bb2caac4 | Bumped source to 20200621-2c4c868 | Bumped source to 20200621-2c4c868
| FROM docker.pkg.github.com/dock0/service/service:20200621-e1a6ecd
MAINTAINER akerl <[email protected]>
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"
| null | maintenance/other |
38 | ccba83f799d56b2bd0eda5f9ac242128de19659f | update pip3 | update pip3
| FROM phusion/baseimage:0.9.18
# look for new versions here: https://github.com/phusion/baseimage-docker/blob/master/Changelog.md
# has 'python3', nothing linked to 'python'.
# need gcc to compile psycopg2
# env: http://askubuntu.com/a/506635/69983
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y python3-pip libpq-dev gcc python3-dev python3-scipy
RUN pip3 install "psycopg2>=2.6,<2.7" && pip3 install awscli
RUN DEBIAN_FRONTEND=noninteractive apt-get autoremove -y gcc
RUN ln -s /usr/bin/python3 /usr/bin/python
CMD mkdir -p /opt/app
VOLUME /opt/
VOLUME /usr/src/app/
ENV build_s3_bucket="BUCKET_NAME"
ENV build_s3_key="BUCKET_KEY"
# make sure volumes are the last thing done in their directory. otherwise contents are discarded with a further file operation.
VOLUME /opt/
VOLUME /usr/src/app/
# no matter the command, we wrap it with my_init, which gets the services running.
CMD /sbin/my_init -- bash -c "mkdir -p /opt/app && aws --region=us-east-1 s3 cp s3://${build_s3_bucket}/${build_s3_key} /opt/app/app.tgz && tar -C /opt/app/ -xzvf /opt/app/app.tgz && bash /opt/app/run.sh"
| FROM phusion/baseimage:0.9.18
# look for new versions here: https://github.com/phusion/baseimage-docker/blob/master/Changelog.md
# has 'python3', nothing linked to 'python'.
# need gcc to compile psycopg2
# env: http://askubuntu.com/a/506635/69983
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y python3-pip libpq-dev gcc python3-dev python3-scipy
RUN pip3 install --upgrade pip3 # ancient version in apt
RUN pip3 install "psycopg2>=2.6,<2.7" && pip3 install awscli
RUN DEBIAN_FRONTEND=noninteractive apt-get autoremove -y gcc
RUN ln -s /usr/bin/python3 /usr/bin/python
CMD mkdir -p /opt/app
VOLUME /opt/
VOLUME /usr/src/app/
ENV build_s3_bucket="BUCKET_NAME"
ENV build_s3_key="BUCKET_KEY"
# make sure volumes are the last thing done in their directory. otherwise contents are discarded with a further file operation.
VOLUME /opt/
VOLUME /usr/src/app/
# no matter the command, we wrap it with my_init, which gets the services running.
CMD /sbin/my_init -- bash -c "mkdir -p /opt/app && aws --region=us-east-1 s3 cp s3://${build_s3_bucket}/${build_s3_key} /opt/app/app.tgz && tar -C /opt/app/ -xzvf /opt/app/app.tgz && bash /opt/app/run.sh"
| code refactoring |
2061 | 46982085e43b97b114f9345bb6e9d48c2ad849af | Bumped source to 20200606-cb2d0e8 | Bumped source to 20200606-cb2d0e8
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200606-d6a57a1
MAINTAINER akerl <[email protected]>
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 |
158 | cc81f7afb37caa179ef9d08b3e0b8757692f548c | refactor code to improve listing and deletion of quotes | refactor code to improve listing and deletion of quotes
| FROM gliderlabs/alpine:3.3
MAINTAINER Karim Boumedhel <[email protected]>
RUN apk add --no-cache python python-dev py-pip build-base \
&& pip install PyTelegramBotAPI==3.6.2
ADD nickyabbot.py /
VOLUME ["/tmp/troll/db"]
CMD ["python", "-u", "/nickyabbot.py"]
| FROM gliderlabs/alpine:3.6
MAINTAINER Karim Boumedhel <[email protected]>
RUN apk add --no-cache python python-dev py-pip build-base \
&& pip install PyTelegramBotAPI==3.6.2
ADD nickyabbot.py /
CMD ["python", "-u", "/nickyabbot.py"]
| code refactoring |
2162 | adfb715575c4f3c6b75e3cc0d7484af8e4220f15 | Bumped source to 20210403-4680f5e | Bumped source to 20210403-4680f5e
| FROM docker.pkg.github.com/dock0/service/service:20210403-6c16aa2
MAINTAINER akerl <[email protected]>
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"
| null | maintenance/other |
92 | 468a0d314718ec5c75ef338ef2603778be62dfc1 | Update Dockerfile | Update Dockerfile
expose Chateau's port | # BDH-admin
# Uses Chateau to administer the ReThinkDB behind members.browncoats.info
# Based on toscanini node.js image: github.com/toscanini/docker-nodejs
FROM pshouse/nodejs-base
MAINTAINER Patrick Shouse <[email protected]>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
# Install Chateau
RUN npm install -g chateau
# Configure Chateau
RUN echo "exports.host = '172.17.0.1'; exports.port = 49154; exports.authKey = ''; exports.expressPort = 3000;exports.debug = true; exports.network = '127.0.0.1' // Network the node app will run on" > /usr/lib/node_modules/chateau/config.js
ENTRYPOINT ["chateau"]
CMD ["-h"]
| # BDH-admin
# Uses Chateau to administer the ReThinkDB behind members.browncoats.info
# Based on toscanini node.js image: github.com/toscanini/docker-nodejs
FROM pshouse/nodejs-base
MAINTAINER Patrick Shouse <[email protected]>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
# Install Chateau
RUN npm install -g chateau
# Configure Chateau
RUN echo "exports.host = '172.17.0.1'; exports.port = 49154; exports.authKey = ''; exports.expressPort = 3000;exports.debug = true; exports.network = '127.0.0.1' // Network the node app will run on" > /usr/lib/node_modules/chateau/config.js
EXPOSE 3000
ENTRYPOINT ["chateau"]
CMD ["-h"]
| Not enough inforamtion |
39 | 151d21c3937c7400b853e3e156444fc5e5166a42 | Bumped source to 20210326-18e993d | Bumped source to 20210326-18e993d
| FROM docker.pkg.github.com/dock0/arch/arch:20210326-9a3ae13
MAINTAINER akerl <[email protected]>
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:20210326-18e993d
MAINTAINER akerl <[email protected]>
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 |
46 | 013ceb661772825cbca1b1dbfe6ea8bf75a6f836 | fix | fix
Signed-off-by: Jess Frazelle <[email protected]>
| FROM docker
RUN apk install --no-cache \
bash \
ca-certificates \
curl \
tar
COPY build.sh /usr/local/bin/build
ENTRYPOINT ["build"]
| FROM docker:latest
RUN apk add --no-cache \
bash \
ca-certificates \
curl \
tar
COPY build.sh /usr/local/bin/build
ENTRYPOINT ["build"]
| maintenance/other |
2245 | 83f06999768fd33189b074f69cecb71ec73b5a30 | Bumped source to 20220714-249350b | Bumped source to 20220714-249350b
| FROM ghcr.io/dock0/arch:20220714-c994ea3
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
264 | c3a166534289b96c410a0cafcf261e4a9860284c | Bumped source to 20200413-8442c8f | Bumped source to 20200413-8442c8f
| FROM docker.pkg.github.com/dock0/service/service:20200413-d96418c
MAINTAINER akerl <[email protected]>
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:20200413-8442c8f
MAINTAINER akerl <[email protected]>
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"
| bug fix |
2112 | e06be915973de2c27445baaf1ac116be4a251a26 | Bumped source to 20201016-2a8b256 | Bumped source to 20201016-2a8b256
| FROM docker.pkg.github.com/dock0/arch/arch:20201016-5c009b1
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
189 | 3c4daa59cf6b47ed4a0a1f39bd3e5f2d3748995c | Fix issue of symbols not displaying in Linux | Fix issue of symbols not displaying in Linux
The symbols would not display in the status bar due to missing
fonts by default in the Docker container. This fix adds the
dependency described in #505
Fixes #505
| FROM ubuntu:20.04
LABEL app.name="WAIL" \
app.description="Web Archiving Integration Layer: One-Click User Instigated Preservation" \
app.license="MIT License" \
app.license.url="https://github.com/machawk1/wail/blob/osagnostic/LICENSE" \
app.repo.url="https://github.com/machawk1/wail"
#TZdata will interactively ask for this info
ENV TZ=Europe/Minsk
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# VNC
ENV DISPLAY :20
EXPOSE 5920
RUN apt update && apt install -y \
apt-file \
git \
libgtk-3-0 \
libnotify4 \
libsdl2-2.0-0 \
libsm6 \
libxxf86vm1 \
python3 \
python3-pip \
x11vnc \
xvfb \
language-pack-en \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython==4.1.1 \
&& pip3 install pyinstaller==4.3
WORKDIR /wail
COPY requirements.txt ./
RUN pip3 install -r requirements.txt
COPY . ./
RUN pyinstaller -p bundledApps ./bundledApps/WAIL.py --onefile --windowed --clean \
&& mv /wail/dist/WAIL /wail/WAIL
RUN chmod a+x /wail/WAIL /wail/entrypoint.sh
ENTRYPOINT ["/wail/entrypoint.sh"]
| FROM ubuntu:20.04
LABEL app.name="WAIL" \
app.description="Web Archiving Integration Layer: One-Click User Instigated Preservation" \
app.license="MIT License" \
app.license.url="https://github.com/machawk1/wail/blob/osagnostic/LICENSE" \
app.repo.url="https://github.com/machawk1/wail"
#TZdata will interactively ask for this info
ENV TZ=Europe/Minsk
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# VNC
ENV DISPLAY :20
EXPOSE 5920
RUN apt update && apt install -y \
apt-file \
git \
libgtk-3-0 \
libnotify4 \
libsdl2-2.0-0 \
libsm6 \
libxxf86vm1 \
python3 \
python3-pip \
x11vnc \
xvfb \
language-pack-en \
ttf-ancient-fonts \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython==4.1.1 \
&& pip3 install pyinstaller==4.3
WORKDIR /wail
COPY requirements.txt ./
RUN pip3 install -r requirements.txt
COPY . ./
RUN pyinstaller -p bundledApps ./bundledApps/WAIL.py --onefile --windowed --clean \
&& mv /wail/dist/WAIL /wail/WAIL
RUN chmod a+x /wail/WAIL /wail/entrypoint.sh
ENTRYPOINT ["/wail/entrypoint.sh"]
| code refactoring |
2267 | 2badc995204953c2bd0a6da02de5b9fa1e68080e | Bumped source to 20201006-e2e3866 | Bumped source to 20201006-e2e3866
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201006-28efb17
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null | code refactoring |
2067 | 66feb17cb2ed964dbbf9fccd0b58ba290f714f36 | Updated base to xaamin/php-cli:7.0 | Updated base to xaamin/php-cli:7.0
| FROM xaamin/php-cli
MAINTAINER "Benjamín Martínez Mateos" <[email protected]>
# Install PHP-FPM
RUN apt-get -y update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
php7.0-fpm \
libfcgi0ldbl \
# Remove temp files
&& apt-get clean \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Configure and secure PHP
RUN sed -i 's|;\?date.timezone =.*|date.timezone = ${DATE_TIMEZONE}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|;\?date.timezone =.*|date.timezone = ${DATE_TIMEZONE}|' /etc/php/7.0/cli/php.ini \
&& sed -i 's|max_execution_time =.*|max_execution_time = ${REQUEST_TIMEOUT}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|;\?request_terminate_timeout =.*|request_terminate_timeout = ${REQUEST_TIMEOUT}|' /etc/php/7.0/fpm/pool.d/www.conf \
&& sed -i 's|max_input_time =.*|max_input_time = ${MAX_INPUT_TIME}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|memory_limit =.*|memory_limit = ${MEMORY_LIMIT}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|upload_max_filesize =.*|upload_max_filesize = ${POST_MAX_SIZE}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|post_max_size =.*|post_max_size = ${POST_MAX_SIZE}|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|;\?cgi.fix_pathinfo =.*|cgi.fix_pathinfo = 0|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|short_open_tag =.*|short_open_tag = On|' /etc/php/7.0/fpm/php.ini \
&& sed -i 's|;\?daemonize =.*|daemonize = no|' /etc/php/7.0/fpm/php-fpm.conf \
&& sed -i 's|;\?listen =.*|listen = 0.0.0.0:9000|' /etc/php/7.0/fpm/pool.d/www.conf \
&& sed -i 's|;\?pm.status_path =.*|pm.status_path = /status|' /etc/php/7.0/fpm/pool.d/www.conf \
&& sed -i 's|;\?listen.allowed_clients =.*|;listen.allowed_clients =|' /etc/php/7.0/fpm/pool.d/www.conf \
&& sed -i 's|;\?catch_workers_output =.*|catch_workers_output = yes|' /etc/php/7.0/fpm/pool.d/www.conf
# Defines the default timezone used by the date functions
ENV DATE_TIMEZONE America/Mexico_City
# Maximum execution time of each script, in seconds (php.ini)
# The timeout for serving a single request after which the worker process will
# be killed. This option should be used when the 'max_execution_time' ini option
# does not stop script execution for some reason. A value of '0' means 'off'.
# Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
# (www.conf)
ENV REQUEST_TIMEOUT 60
# Maximum amount of time each script may spend parsing request data. It's a good
# idea to limit this time on productions servers in order to eliminate unexpectedly
# long running scripts.
ENV MAX_INPUT_TIME 60
# Maximum amount of memory a script may consume (128MB)
ENV MEMORY_LIMIT 128M
# Maximum allowed size for uploaded files.
ENV POST_MAX_SIZE 30M
# Add supervisor config file
ADD supervisord.conf /etc/supervisor/supervisord.conf
# Add bootstrap file
ADD start.sh /start.sh
# Define mountable directories
VOLUME ["/shared"]
# Port 9000 is how Nginx will communicate with PHP-FPM.
EXPOSE 9000
# Define default command.
CMD ["/bin/bash", "/start.sh"] | null | maintenance/other |
2113 | ffc1869250f653958f555b4b29647d55976d1f0c | Update Dockerfile | Update Dockerfile
Provide sudo to be able to ad user to sudoers group and run commands from within goland as sudo. | FROM suckowbiz/base-av
LABEL maintainer="Tobias Suckow <[email protected]>"
ENV VERSION_GO="1.12.9" \
VERSION_GOLAND="2019.2.1" \
VERSION_GOLANGCI_LINT="1.17.1"
# Markdown preview requires javafx (wich requires libxslt).
RUN apt-get install --quiet --quiet --yes --no-install-recommends \
build-essential \
chromium-browser \
docker.io \
git \
libxtst6 \
libxtst-dev \
libxslt1.1 \
man \
openjfx \
&& apt-get clean --quiet \
&& apt-get autoremove --quiet \
&& rm -rf /var/lib/apt/lists/*
COPY context /
# Install the go distribution to provide golang environment.
# Reference: https://golang.org/doc/install#install
RUN curl \
--fail \
--location \
--show-error \
"https://dl.google.com/go/go${VERSION_GO}.linux-amd64.tar.gz" | tar --directory /usr/local --extract --gzip
ENV PATH="${PATH}:/usr/local/go/bin"
# Run a test to verify that Go is installed correctly.
WORKDIR /root/go/src/hello
RUN go build \
&& ./hello > hello.actual \
&& diff hello.actual hello.expected \
&& test "$?" = "0" || (echo "Go installation seems broken"; exit 1) \
&& go clean -i
# Install goland to provide an entrypoint.
WORKDIR /opt
RUN curl \
--fail \
--location \
--remote-name \
--show-error \
"https://download.jetbrains.com/go/goland-${VERSION_GOLAND}.tar.gz{,.sha256}" \
&& sha256sum --check "goland-${VERSION_GOLAND}.tar.gz.sha256" | grep "OK" \
&& tar --extract --file "goland-${VERSION_GOLAND}.tar.gz" \
&& rm --force "goland-${VERSION_GOLAND}.tar.gz" "goland-${VERSION_GOLAND}.tar.gz.sha256" \
&& mv GoLand-* goland \
&& sed --in-place "s/.*idea.config.path=.*/idea.config.path=\~\/\.GoLand\/config\//" goland/bin/idea.properties \
&& sed --in-place "s/.*idea.system.path=.*/idea.system.path=\~\/\.GoLand\/system\//" goland/bin/idea.properties
ENV PATH="${PATH}:/opt/goland/bin"
# Git completion to ease working with git.
RUN curl \
--fail \
--location \
--show-error \
https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash \
--output /git-completion.bash \
&& chmod +x /git-completion.bash
# go bash completion to ease working with the go tool.
RUN go get -u github.com/posener/complete/gocomplete \
&& GOBIN=/usr/local/bin go install github.com/posener/complete/gocomplete \
&& echo "complete -C gocomplete go" >> /etc/bash.bashrc
# Install goimports to have it available for configuration as file watcher within GoLand.
RUN go get golang.org/x/tools/cmd/goimports \
&& GOBIN=/usr/local/bin go install golang.org/x/tools/cmd/goimports
# Install golangci-lint to have it available for configuration as file watcher within GoLand.
RUN curl \
--fail \
--location \
--remote-name \
--show-error \
https://github.com/golangci/golangci-lint/releases/download/v${VERSION_GOLANGCI_LINT}/golangci-lint-${VERSION_GOLANGCI_LINT}-linux-386.tar.gz \
&& tar --extract --file golangci-lint-${VERSION_GOLANGCI_LINT}-linux-386.tar.gz \
&& chmod +x golangci-lint-${VERSION_GOLANGCI_LINT}-linux-386/golangci-lint \
&& mv golangci-lint-${VERSION_GOLANGCI_LINT}-linux-386/golangci-lint /usr/local/bin/golangci-lint \
&& rm --force --recursive golangci-lint-*
# Prepare user home to link runtime data to persistent directories.
WORKDIR /etc/skel
# In case /volume/gitconfig/.gitconfig is being written by git it will try to create a .gitconfig.lock file which must not fail.
RUN mkdir --parent /volume/gitconfig \
&& chmod 777 /volume/gitconfig
ENV GOPATH="/volume/go"
ENV GOROOT="/usr/local/go" \
GOBIN="${GOPATH}/bin" \
PATH="${PATH}:${GOPATH}/bin" \
VOL_GIT_CONF="/volume/gitconfig" \
VOL_GO="${GOPATH}" \
VOL_GOLAND_CONF="/volume/.GoLand" \
VOL_JAVA_CONF="/volume/.java"
RUN for volume in "${VOL_GIT_CONF}/.gitconfig" "${VOL_GO}" "${VOL_GOLAND_CONF}" "${VOL_JAVA_CONF}"; do ln --symbolic "${volume}"; done
VOLUME ["${VOL_GIT_CONF}", "${VOL_GO}", "${VOL_GOLAND_CONF}", "${VOL_JAVA_CONF}"]
# Add support for integration of go modules.
ENV GO111MODULE=on
# In case one runs "go tool tour" on 3999 the go tour server is listening.
EXPOSE 3999
ENV ENTRYPOINT_GROUPS="audio,video,docker"
ENTRYPOINT ["/entrypoint.sh", "goland.sh"]
| null | bug fix |
400 | 6303ac7b6287630950ff7f2ff1f23a30230a1f0a | artifactory: update to Artifactory 5.11.1 | artifactory: update to Artifactory 5.11.1
Change-Id: Id52d7481d051a09c590e3bdfeee7f9b5d4eabdae
| FROM docker.bintray.io/jfrog/artifactory-pro:5.9.3
# specific to 5.1.46; revisit this when a new driver is released
RUN curl -sL https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.tar.gz | \
tar -v --overwrite --directory /opt/jfrog/artifactory/tomcat/lib/ --strip 1 --wildcards -zx '*mysql-connector-java-*-bin.jar'
# 'unhold' packages, upgrade, install less (useful for diags)
RUN dpkg -l|awk '(/^h/){print $2}'|xargs apt-mark unhold && \
apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y less && \
find /var/lib/apt/lists/ /var/log/ -type f -size +0 -print0 | xargs -r0 rm -v
| FROM docker.bintray.io/jfrog/artifactory-pro:5.11.1
# specific to 5.1.46; revisit this when a new driver is released
RUN curl -sL https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.tar.gz | \
tar -v --overwrite --directory /opt/jfrog/artifactory/tomcat/lib/ --strip 1 --wildcards -zx '*mysql-connector-java-*-bin.jar'
# 'unhold' packages, upgrade, install less (useful for diags)
RUN dpkg -l|awk '(/^h/){print $2}'|xargs apt-mark unhold && \
apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y less && \
find /var/lib/apt/lists/ /var/log/ -type f -size +0 -print0 | xargs -r0 rm -v
| code refactoring |
346 | fb638b550c71ea7324ad9235854803f3e78c1b71 | fixed bugs in docker image | fixed bugs in docker image
| FROM dit4c/dit4c-container-fsl
MAINTAINER Greg Kiar <[email protected]>
RUN apt-get update && apt-get install -y python-dev python-setuptools python-numpy python-scipy zlib1g-dev python-matplotlib python-nose fsl ia32-libs
RUN easy_install pip
RUN pip install cython numpy coveralls wget nibabel nilearn dipy sklearn networkx && pip install ndmg
# FSL
ENV FSLDIR=/usr/share/fsl/5.0
ENV PATH=${FSLDIR}/bin:${PATH}
ENV POSSUMDIR=$FSLDIR
ENV PATH=/usr/lib/fsl/5.0:$PATH
ENV FSLOUTPUTTYPE=NIFTI_GZ
ENV FSLMULTIFILEQUIT=TRUE
ENV FSLTCLSH=/usr/bin/tclsh
ENV FSLWISH=/usr/bin/wish
ENV FSLBROWSER=/etc/alternatives/x-www-browser
ENV FSLLOCKDIR=
ENV FSLMACHINELIST=
ENV FSLREMOTECALL=
ENV FSLCLUSTER_MAILOPTS="n"
ENV LD_LIBRARY_PATH=/usr/lib/fsl/5.0${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
#S3
RUN mkdir ${HOME}/.aws
RUN printf "[default]\nregion = us-east-1" > ${HOME}/.aws/config
ADD credentials.csv ${HOME}/credentials.csv
RUN printf "[default]\naws_access_key_id = `tail -n 1 ${HOME}/credentials.csv | cut -d',' -f2`\naws_secret_access_key = `tail -n 1 ${HOME}/credentials.csv | cut -d',' -f3`" > ${HOME}/.aws/credentials
ENTRYPOINT ["ndmg_bids"]
| FROM dit4c/dit4c-container-fsl
MAINTAINER Greg Kiar <[email protected]>
RUN apt-get update && apt-get install -y python-dev python-setuptools python-numpy python-scipy zlib1g-dev python-matplotlib python-nose fsl
RUN easy_install pip
RUN pip install cython numpy coveralls wget nibabel nilearn dipy sklearn networkx awscli boto3 && pip install ndmg
# FSL
ENV FSLDIR=/usr/share/fsl/5.0
ENV PATH=${FSLDIR}/bin:${PATH}
ENV POSSUMDIR=$FSLDIR
ENV PATH=/usr/lib/fsl/5.0:$PATH
ENV FSLOUTPUTTYPE=NIFTI_GZ
ENV FSLMULTIFILEQUIT=TRUE
ENV FSLTCLSH=/usr/bin/tclsh
ENV FSLWISH=/usr/bin/wish
ENV FSLBROWSER=/etc/alternatives/x-www-browser
ENV FSLLOCKDIR=
ENV FSLMACHINELIST=
ENV FSLREMOTECALL=
ENV FSLCLUSTER_MAILOPTS="n"
ENV LD_LIBRARY_PATH=/usr/lib/fsl/5.0${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
#S3
RUN mkdir /.aws
RUN printf "[default]\nregion = us-east-1" > /.aws/config
ADD credentials.csv /credentials.csv
RUN printf "[default]\naws_access_key_id = `tail -n 1 /credentials.csv | cut -d',' -f2`\naws_secret_access_key = `tail -n 1 /credentials.csv | cut -d',' -f3`" > /.aws/credentials
RUN mv /.aws/ ${HOME} && rm /credentials.csv
ENTRYPOINT ["ndmg_bids"]
| code refactoring |
2309 | afe6aa074757a4fd2e6f92ce74568919f6d0ce9c | Upgraded Kibana to 4.6.1 | Upgraded Kibana to 4.6.1
| FROM kibana:4.5.4
MAINTAINER PubNative Team <[email protected]>
RUN /opt/kibana/bin/kibana plugin --install kibana/timelion \
&& /opt/kibana/bin/kibana plugin --install elastic/sense \
&& /opt/kibana/bin/kibana plugin -i vectormap -u https://github.com/stormpython/vectormap/archive/master.zip \
&& chown -R kibana:kibana /opt/kibana
| null | maintenance/other |
2069 | c21e5a302a53ad7b694d7e5fb929b1a5266d9a29 | update dockerfile | update dockerfile
| ########################################################################
# OSMnx Dockerfile
# License: MIT, see full license in LICENSE.txt
# Web: https://github.com/gboeing/osmnx
#
# Build an image from the dockerfile:
# >>> docker build -t gboeing/osmnx .
#
# Push the built image to hub so others can pull/run it:
# >>> docker tag gboeing/osmnx gboeing/osmnx:latest
# >>> docker login
# >>> docker push gboeing/osmnx
#
# Run bash in this container and export final conda environment to a yml file:
# >>> docker run --rm -it -u 0 --name osmnx -v %cd%:/home/jovyan/work gboeing/osmnx /bin/bash
# >>> conda env export -n base > /home/jovyan/work/environment.yml
#
# Run jupyter lab in this container:
# >>> docker run --rm -it --name osmnx -p 8888:8888 -v %cd%:/home/jovyan/work gboeing/osmnx
#
# Stop/delete all local docker containers/images:
# >>> docker stop $(docker ps -aq)
# >>> docker rm $(docker ps -aq)
# >>> docker rmi $(docker images -q)
########################################################################
FROM jupyter/base-notebook
LABEL maintainer="Geoff Boeing <[email protected]>"
# symlink and permissions
USER root
RUN ln -s /opt/conda/bin/jupyter /usr/local/bin
USER $NB_UID
# configure conda and install packages in one RUN to keep image tidy
RUN conda config --set show_channel_urls true && \
conda config --prepend channels conda-forge && \
conda update --override-channels -c conda-forge --yes -n base conda && \
conda update --override-channels -c conda-forge --yes --all && \
conda install --override-channels -c conda-forge --yes osmnx python-igraph && \
conda clean --yes --all && \
conda info --all && \
conda list
# launch notebook in the local working directory that we mount
WORKDIR /home/jovyan/work
# set default command to launch when container is run
CMD ["jupyter", "lab", "--no-browser", "--NotebookApp.token=''", "--NotebookApp.password=''"]
| null | maintenance/other |
232 | 351cd31bc83f065906f9ce09984a4a33921720a7 | Bumped source to 20200326-23b5da1 | Bumped source to 20200326-23b5da1
| FROM docker.pkg.github.com/dock0/service/service:20200326-212bc2c
MAINTAINER akerl <[email protected]>
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:20200326-23b5da1
MAINTAINER akerl <[email protected]>
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 |
206 | 44f00564355f8bd755b94d6db99f1c2e27492fe4 | Bumped source to 20210416-b4928ed | Bumped source to 20210416-b4928ed
| FROM docker.pkg.github.com/dock0/arch/arch:20210416-72a4d31
MAINTAINER akerl <[email protected]>
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:20210416-b4928ed
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| bug fix |
2101 | 26df24a1be125e5f72218531fb39d09c00afaa97 | Bumped source to 20210624-c4872e7 | Bumped source to 20210624-c4872e7
| FROM docker.pkg.github.com/dock0/arch/arch:20210624-76084af
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | feature addition |
174 | ad488cee4c9bc3cd595a383af423ca46dad9fb67 | Fix typo | Fix typo
| FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q
# Supervisor
RUN apt-get install -y supervisor && \
mkdir -p /var/log/supervisor && \
mkdir -p /etc/supervisor/conf.d
# NGINX
RUN \
apt-get install -y nginx && \
echo "\ndaemon off;" >> /etc/nginx/nginx.conf && \
chown -R www-data:www-data /var/lib/nginx
# PHP 5 FPM
RUN \
apt-get install -y php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-fpm && \
sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf
EXPOSE 80
EXPOSE 443
# Mounts
VOLUME ["/data", "/etc/nginx/sites-enabled", "/etc/nginx/conf.d","/etc/php5/fpm/pool.d", /var/log"]
# Define working directory.
WORKDIR /data
# Configs
ADD conf/supervisor /etc/supervisor/conf.d/
ADD conf/fpm-pool /etc/php5/fpm/pool.d/
ADD conf/sites /etc/nginx/sites-enabled/
# Data, htdocs root
ADD data /data
CMD ["supervisord"]
| FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q
# Supervisor
RUN apt-get install -y supervisor && \
mkdir -p /var/log/supervisor && \
mkdir -p /etc/supervisor/conf.d
# NGINX
RUN \
apt-get install -y nginx && \
echo "\ndaemon off;" >> /etc/nginx/nginx.conf && \
chown -R www-data:www-data /var/lib/nginx
# PHP 5 FPM
RUN \
apt-get install -y php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-fpm && \
sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.conf
EXPOSE 80
EXPOSE 443
# Mounts
VOLUME ["/data", "/etc/nginx/sites-enabled", "/etc/nginx/conf.d","/etc/php5/fpm/pool.d", "/var/log"]
# Define working directory.
WORKDIR /data
# Configs
ADD conf/supervisor /etc/supervisor/conf.d/
ADD conf/fpm-pool /etc/php5/fpm/pool.d/
ADD conf/sites /etc/nginx/sites-enabled/
# Data, htdocs root
ADD data /data
CMD ["supervisord"]
| feature addition |
126 | ec12146e323a9016c42e456af1a2ef7eb4e22dca | Forgot to add the double ampersand. | Forgot to add the double ampersand.
| FROM ubuntu:14.04
MAINTAINER P. Barrett Little <[email protected]>
# Download latest package lists & install dependencies
RUN apt-get update \
DEBIAN_FRONTEND=noninteractive \
apt-get install -yq \
openjdk-7-jre-headless \
wget
# Download version 1.4.2 of logstash
RUN cd /tmp && \
wget https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.tar.gz && \
tar -xzvf ./logstash-1.4.2.tar.gz && \
mv ./logstash-1.4.2 /opt/logstash && \
rm ./logstash-1.4.2.tar.gz
# Install contrib plugins
RUN /opt/logstash/bin/plugin install contrib
# Copy build files to container root
RUN mkdir /app
ADD . /app
# Elasticsearch HTTP
EXPOSE 9200
# Elasticsearch transport
EXPOSE 9300
# Kibana
EXPOSE 9292
# Start logstash
ENTRYPOINT ["/app/bin/boot"]
| FROM ubuntu:14.04
MAINTAINER P. Barrett Little <[email protected]>
# Download latest package lists & install dependencies
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -yq \
openjdk-7-jre-headless \
wget
# Download version 1.4.2 of logstash
RUN cd /tmp && \
wget https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.tar.gz && \
tar -xzvf ./logstash-1.4.2.tar.gz && \
mv ./logstash-1.4.2 /opt/logstash && \
rm ./logstash-1.4.2.tar.gz
# Install contrib plugins
RUN /opt/logstash/bin/plugin install contrib
# Copy build files to container root
RUN mkdir /app
ADD . /app
# Elasticsearch HTTP
EXPOSE 9200
# Elasticsearch transport
EXPOSE 9300
# Kibana
EXPOSE 9292
# Start logstash
ENTRYPOINT ["/app/bin/boot"]
| maintenance/other |
371 | be89e110debdab79992f5050c2eaf1c2cbcf072b | Add package-lock.json to a2png/ | Add package-lock.json to a2png/
| FROM clojure:alpine
RUN mkdir /app
WORKDIR /app
# build vt
COPY vt/project.clj /app/vt/
RUN cd vt && lein deps
COPY vt/src /app/vt/src
COPY vt/resources /app/vt/resources
RUN cd vt && lein cljsbuild once main
# build a2png
COPY a2png/project.clj /app/a2png/
RUN cd a2png && lein deps
COPY a2png/src /app/a2png/src
COPY a2png/asciinema-player /app/a2png/asciinema-player
RUN cd a2png && lein cljsbuild once main && lein cljsbuild once page
FROM ubuntu:16.04
COPY install_pngquant.sh /tmp/
RUN bash /tmp/install_pngquant.sh
FROM ubuntu:16.04
ARG DEBIAN_FRONTEND=noninteractive
ARG NODE_VERSION=node_8.x
ARG DISTRO=xenial
RUN apt-get update && \
apt-get install -y wget software-properties-common apt-transport-https && \
add-apt-repository ppa:brightbox/ruby-ng && \
echo "deb https://deb.nodesource.com/$NODE_VERSION $DISTRO main" >/etc/apt/sources.list.d/nodesource.list && \
echo "deb https://packages.erlang-solutions.com/ubuntu $DISTRO contrib" >/etc/apt/sources.list.d/esl.list && \
wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
wget --quiet -O - https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | apt-key add - && \
apt-get update && \
apt-get install -y \
build-essential \
elixir=1.6.3-1 \
esl-erlang=1:20.1 \
git-core \
libfontconfig1 \
libpng16-16 \
libpq-dev \
libxml2-dev \
libxslt1-dev \
nodejs \
ruby2.1 \
ruby2.1-dev \
ttf-bitstream-vera \
tzdata
# Packages required for:
# libfontconfig1 for PhantomJS
# ttf-bitstream-vera for a2png
# libpng16-16 for pngquant
# install Bundler and SASS
RUN gem install bundler sass
# install Hex and Rebar
ENV LANG=C.UTF-8
RUN mix local.hex --force && mix local.rebar --force
# install PhantomJS
ARG PHANTOMJS_VERSION=2.1.1
RUN wget --quiet -O /opt/phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 && \
tar xjf /opt/phantomjs.tar.bz2 -C /opt && \
rm /opt/phantomjs.tar.bz2 && \
ln -sf /opt/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs /usr/local/bin
# install asciinema
ENV MIX_ENV "prod"
RUN mkdir -p /app/tmp /app/log
WORKDIR /app
# copy compiled vt
COPY --from=0 /app/vt/main.js /app/vt/
COPY vt/liner.js /app/vt/
# copy compiled a2png
COPY a2png/a2png.sh /app/a2png/
COPY a2png/a2png.js /app/a2png/
COPY a2png/page /app/a2png/page
COPY --from=0 /app/a2png/main.js /app/a2png/
COPY --from=0 /app/a2png/page/page.js /app/a2png/page/
COPY a2png/package.json /app/a2png/
RUN cd a2png && npm install
# service URLs
ENV DATABASE_URL "postgresql://postgres@postgres/postgres"
ENV REDIS_URL "redis://redis:6379"
# install hex packages
COPY mix.* /app/
RUN mix deps.get --only prod && mix deps.compile
# install webpack & co
COPY assets/package.json /app/assets/
COPY assets/package-lock.json /app/assets/
RUN cd assets && npm install
# compile assets with webpack and generate digest file
COPY assets /app/assets
RUN cd assets && npm run deploy
RUN mix phx.digest
# add Elixir source files
COPY config/*.exs config/
COPY lib lib/
COPY priv priv/
COPY .iex.exs /app/.iex.exs
# compile Elixir app
RUN mix compile
# add setup script
COPY docker/bin /app/docker/bin
ENV PATH "/app/docker/bin:${PATH}"
# a2png
ENV A2PNG_BIN_PATH "/app/a2png/a2png.sh"
COPY --from=1 /usr/local/bin/pngquant /usr/local/bin/
VOLUME ["/app/uploads", "/cache"]
CMD ["mix", "phx.server"]
ENV PORT 4000
EXPOSE 4000
| FROM clojure:alpine
RUN mkdir /app
WORKDIR /app
# build vt
COPY vt/project.clj /app/vt/
RUN cd vt && lein deps
COPY vt/src /app/vt/src
COPY vt/resources /app/vt/resources
RUN cd vt && lein cljsbuild once main
# build a2png
COPY a2png/project.clj /app/a2png/
RUN cd a2png && lein deps
COPY a2png/src /app/a2png/src
COPY a2png/asciinema-player /app/a2png/asciinema-player
RUN cd a2png && lein cljsbuild once main && lein cljsbuild once page
FROM ubuntu:16.04
COPY install_pngquant.sh /tmp/
RUN bash /tmp/install_pngquant.sh
FROM ubuntu:16.04
ARG DEBIAN_FRONTEND=noninteractive
ARG NODE_VERSION=node_8.x
ARG DISTRO=xenial
RUN apt-get update && \
apt-get install -y wget software-properties-common apt-transport-https && \
add-apt-repository ppa:brightbox/ruby-ng && \
echo "deb https://deb.nodesource.com/$NODE_VERSION $DISTRO main" >/etc/apt/sources.list.d/nodesource.list && \
echo "deb https://packages.erlang-solutions.com/ubuntu $DISTRO contrib" >/etc/apt/sources.list.d/esl.list && \
wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
wget --quiet -O - https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | apt-key add - && \
apt-get update && \
apt-get install -y \
build-essential \
elixir=1.6.3-1 \
esl-erlang=1:20.1 \
git-core \
libfontconfig1 \
libpng16-16 \
libpq-dev \
libxml2-dev \
libxslt1-dev \
nodejs \
ruby2.1 \
ruby2.1-dev \
ttf-bitstream-vera \
tzdata
# Packages required for:
# libfontconfig1 for PhantomJS
# ttf-bitstream-vera for a2png
# libpng16-16 for pngquant
# install Bundler and SASS
RUN gem install bundler sass
# install Hex and Rebar
ENV LANG=C.UTF-8
RUN mix local.hex --force && mix local.rebar --force
# install PhantomJS
ARG PHANTOMJS_VERSION=2.1.1
RUN wget --quiet -O /opt/phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 && \
tar xjf /opt/phantomjs.tar.bz2 -C /opt && \
rm /opt/phantomjs.tar.bz2 && \
ln -sf /opt/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs /usr/local/bin
# install asciinema
ENV MIX_ENV "prod"
RUN mkdir -p /app/tmp /app/log
WORKDIR /app
# copy compiled vt
COPY --from=0 /app/vt/main.js /app/vt/
COPY vt/liner.js /app/vt/
# copy compiled a2png
COPY a2png/a2png.sh /app/a2png/
COPY a2png/a2png.js /app/a2png/
COPY a2png/page /app/a2png/page
COPY --from=0 /app/a2png/main.js /app/a2png/
COPY --from=0 /app/a2png/page/page.js /app/a2png/page/
COPY a2png/package.json /app/a2png/
COPY a2png/package-lock.json /app/a2png/
RUN cd a2png && npm install
# service URLs
ENV DATABASE_URL "postgresql://postgres@postgres/postgres"
ENV REDIS_URL "redis://redis:6379"
# install hex packages
COPY mix.* /app/
RUN mix deps.get --only prod && mix deps.compile
# install webpack & co
COPY assets/package.json /app/assets/
COPY assets/package-lock.json /app/assets/
RUN cd assets && npm install
# compile assets with webpack and generate digest file
COPY assets /app/assets
RUN cd assets && npm run deploy
RUN mix phx.digest
# add Elixir source files
COPY config/*.exs config/
COPY lib lib/
COPY priv priv/
COPY .iex.exs /app/.iex.exs
# compile Elixir app
RUN mix compile
# add setup script
COPY docker/bin /app/docker/bin
ENV PATH "/app/docker/bin:${PATH}"
# a2png
ENV A2PNG_BIN_PATH "/app/a2png/a2png.sh"
COPY --from=1 /usr/local/bin/pngquant /usr/local/bin/
VOLUME ["/app/uploads", "/cache"]
CMD ["mix", "phx.server"]
ENV PORT 4000
EXPOSE 4000
| code refactoring |
339 | 870671a1e02317f56e77896219e2afbb3515ae9a | Bumped source to 20220522-8d540ef | Bumped source to 20220522-8d540ef
| FROM ghcr.io/dock0/arch:20220522-3509354
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20220522-8d540ef
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| Not enough inforamtion |
2221 | 686f1ef0561e01d9fdb1ebf0e9620fd90e3ad16d | Update AWS CLI version to 1.11.71 | Update AWS CLI version to 1.11.71
| FROM python:3.5-slim
MAINTAINER Nikolay Rybak <[email protected]>
RUN \
mkdir -p /aws && \
pip install --upgrade awscli==1.11.70 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT ["aws"]
| null | Not enough inforamtion |
394 | ea3a106227675f50bd915bc125160a862107595d | Update dockerfile | Update dockerfile
| FROM ubuntu:16.04
# Install required packages
RUN apt-get update -y && \
apt-get install -y \
python3-dev \
python3-pip \
unzip \
bzip2 \
wget \
curl \
pkg-config \
libgraphviz-dev \
graphviz
# install clustalo
RUN wget -O /clustalo http://www.clustal.org/omega/clustalo-1.2.4-Ubuntu-x86_64
RUN chmod +x /clustalo
# Install anaconda with required packages
RUN wget -O /tmp/anaconda3_install https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
RUN bash /tmp/anaconda3_install -b -p /anaconda3
RUN rm /tmp/anaconda3_install
RUN /anaconda3/bin/conda upgrade --all -y
RUN /anaconda3/bin/conda install -y biopython gunicorn
RUN /anaconda3/bin/pip install pygraphviz
# Unpack the application code
COPY build/genetics-api.zip /tmp/genetics-api.zip
RUN unzip /tmp/genetics-api.zip -d /
RUN /anaconda3/bin/pip install -Ur /genetics-api/requirements.txt
# Container settings
WORKDIR /genetics-api
EXPOSE 8179
CMD /anaconda3/bin/python -m gunicorn genetics_api.app -b 0.0.0.0:8179
| FROM ubuntu:16.04
# Install required packages
RUN apt-get update -y && \
apt-get install -y \
python3-dev \
python3-pip \
unzip \
bzip2 \
wget \
curl \
pkg-config \
libgraphviz-dev \
graphviz
# install clustalo
RUN wget -O /clustalo http://www.clustal.org/omega/clustalo-1.2.4-Ubuntu-x86_64
RUN chmod +x /clustalo
# Install anaconda with required packages
RUN wget -O /tmp/anaconda3_install https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
RUN bash /tmp/anaconda3_install -b -p /anaconda3
RUN rm /tmp/anaconda3_install
RUN /anaconda3/bin/conda upgrade --all -y
RUN /anaconda3/bin/conda install -y biopython gunicorn
RUN /anaconda3/bin/pip install pygraphviz
# Unpack the application code
COPY build/genetics-api.zip /tmp/genetics-api.zip
RUN unzip /tmp/genetics-api.zip -d /
RUN /anaconda3/bin/pip install -Ur /genetics-api/requirements.txt
# Container settings
WORKDIR /genetics-api
EXPOSE 8179
CMD /anaconda3/bin/gunicorn genetics_api.app -b 0.0.0.0:8179
| maintenance/other |
282 | cec4e42fef93acb83a1970346197057bdeafee49 | Update Dockerfile | Update Dockerfile | FROM soiff/jdk:8u111
MAINTAINER 张仪 <[email protected]>
WORKDIR /opt
# Let's roll
RUN apk add --update curl unzip
RUN curl -skSL http://edas-public.oss-cn-hangzhou.aliyuncs.com/install_package/edas-config-center.zip -o /tmp/tmp.zip && \
unzip -x /tmp/tmp.zip && \
rm -rf /tmp/*
WORKDIR /opt/edas-config-center
ENTRYPOINT ["/bin/sh", "startup.sh", "&&", "tail", "-f", "logs/config-center.log"]
| FROM soiff/jdk:8u111
MAINTAINER 张仪 <[email protected]>
WORKDIR /opt
# Let's roll
RUN apk add --update curl unzip
RUN curl -skSL http://edas-public.oss-cn-hangzhou.aliyuncs.com/install_package/edas-config-center.zip -o /tmp/tmp.zip && \
unzip -x /tmp/tmp.zip && \
rm -rf /tmp/*
WORKDIR /opt/edas-config-center
EXPOSE 8080 9600
ENTRYPOINT ["/bin/sh", "startup.sh", "&&", "tail", "-f", "logs/config-center.log"]
| feature addition |
25 | 0fd4ead5023133b7780d9b791744135550aa4053 | Bumped source to 20220409-3359f1c | Bumped source to 20220409-3359f1c
| FROM ghcr.io/dock0/arch:20220409-4ea1148
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20220409-3359f1c
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
9 | a3b4a4d82fc80a366c2a4c7ff9e12fb84b0d277f | Adds missing ICU libraries (many R packages installation failing, starting with xml2) | Adds missing ICU libraries (many R packages installation failing, starting with xml2)
| # PhenoMeNal H2020
# Microservices - IPO
# VERSION 0.1
FROM ubuntu:14.04
MAINTAINER venkata chandrasekhar nainala ([email protected] / [email protected])
# Install R
RUN echo "deb http://mirrors.ebi.ac.uk/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list && \
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 && \
gpg -a --export E084DAB9 | sudo apt-key add -
# R and Library Dependencies
RUN apt-get update && apt-get -y upgrade && apt-get install -y libcurl4-openssl-dev \
libnetcdf-dev \
libssl-dev \
libssh2-1-dev \
libxml2-dev \
r-base r-base-dev
# Add scripts folder to container
ADD scripts /scripts
# Add executable to run when container is spinned up
ADD entrypoint.sh /
# Add automatic repo finder for R:
RUN echo 'options("repos"="http://cran.rstudio.com")' >> /etc/R/Rprofile.site
# Install IPO
RUN Rscript /scripts/installIPO.R
# Define Entry point script
ENTRYPOINT ["/entrypoint.sh"] | # PhenoMeNal H2020
# Microservices - IPO
# VERSION 0.1
FROM ubuntu:14.04
MAINTAINER venkata chandrasekhar nainala ([email protected] / [email protected])
# Install R
RUN echo "deb http://mirrors.ebi.ac.uk/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list && \
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 && \
gpg -a --export E084DAB9 | sudo apt-key add -
# R and Library Dependencies
RUN apt-get update && apt-get -y upgrade && apt-get install -y libcurl4-openssl-dev \
libnetcdf-dev \
libssl-dev \
libssh2-1-dev \
libxml2-dev \
icu-devtools \
r-base r-base-dev
# Add scripts folder to container
ADD scripts /scripts
# Add executable to run when container is spinned up
ADD entrypoint.sh /
# Add automatic repo finder for R:
RUN echo 'options("repos"="http://cran.rstudio.com")' >> /etc/R/Rprofile.site
# Install IPO
RUN Rscript /scripts/installIPO.R
# Define Entry point script
ENTRYPOINT ["/entrypoint.sh"] | maintenance/other |
417 | b9785d75827e4ac2f4ab449fe349a94fee52eb28 | Bumped source to 20210715-7d5e992 | Bumped source to 20210715-7d5e992
| FROM docker.pkg.github.com/dock0/arch/arch:20210714-8fd413d
MAINTAINER akerl <[email protected]>
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:20210715-7d5e992
MAINTAINER akerl <[email protected]>
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 |
84 | b74952d55e76095f95649f95a52bed7e177731fd | Bumped source to 20200915-8578a2f | Bumped source to 20200915-8578a2f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200915-9a62de6
MAINTAINER akerl <[email protected]>
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:20200915-8578a2f
MAINTAINER akerl <[email protected]>
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 |
104 | ba8ce9e78c8a3e5a712592c80496ab32689dbfd4 | Updated Atlassian JIRA master branch to latest version 7.9.0 | Updated Atlassian JIRA master branch to latest version 7.9.0
| FROM openjdk:8-alpine
# Setup useful environment variables
ENV CONF_HOME /var/atlassian/confluence
ENV CONF_INSTALL /opt/atlassian/confluence
ENV CONF_VERSION 7.8.3
ENV JAVA_CACERTS $JAVA_HOME/jre/lib/security/cacerts
ENV CERTIFICATE $CONF_HOME/certificate
# Install Atlassian Confluence and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk --no-cache add curl xmlstarlet bash ttf-dejavu libc6-compat gcompat \
&& mkdir -p "${CONF_HOME}" \
&& chmod -R 700 "${CONF_HOME}" \
&& chown daemon:daemon "${CONF_HOME}" \
&& mkdir -p "${CONF_INSTALL}/conf" \
&& curl -Ls "https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONF_VERSION}.tar.gz" | tar -xz --directory "${CONF_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.44.tar.gz" | tar -xz --directory "${CONF_INSTALL}/confluence/WEB-INF/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.44/mysql-connector-java-5.1.44-bin.jar" \
&& chmod -R 700 "${CONF_INSTALL}/conf" \
&& chmod -R 700 "${CONF_INSTALL}/temp" \
&& chmod -R 700 "${CONF_INSTALL}/logs" \
&& chmod -R 700 "${CONF_INSTALL}/work" \
&& chown -R daemon:daemon "${CONF_INSTALL}/conf" \
&& chown -R daemon:daemon "${CONF_INSTALL}/temp" \
&& chown -R daemon:daemon "${CONF_INSTALL}/logs" \
&& chown -R daemon:daemon "${CONF_INSTALL}/work" \
&& echo -e "\nconfluence.home=$CONF_HOME" >> "${CONF_INSTALL}/confluence/WEB-INF/classes/confluence-init.properties" \
&& xmlstarlet ed --inplace \
--delete "Server/@debug" \
--delete "Server/Service/Connector/@debug" \
--delete "Server/Service/Connector/@useURIValidationHack" \
--delete "Server/Service/Connector/@minProcessors" \
--delete "Server/Service/Connector/@maxProcessors" \
--delete "Server/Service/Engine/@debug" \
--delete "Server/Service/Engine/Host/@debug" \
--delete "Server/Service/Engine/Host/Context/@debug" \
"${CONF_INSTALL}/conf/server.xml" \
&& touch -d "@0" "${CONF_INSTALL}/conf/server.xml" \
&& chown daemon:daemon "${JAVA_CACERTS}"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8090 8091
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/confluence", "/opt/atlassian/confluence/logs"]
# Set the default working directory as the Confluence home directory.
WORKDIR /var/atlassian/confluence
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian Confluence as a foreground process by default.
CMD ["/opt/atlassian/confluence/bin/start-confluence.sh", "-fg"]
| FROM openjdk:8-alpine
# Setup useful environment variables
ENV CONF_HOME /var/atlassian/confluence
ENV CONF_INSTALL /opt/atlassian/confluence
ENV CONF_VERSION 7.9.0
ENV JAVA_CACERTS $JAVA_HOME/jre/lib/security/cacerts
ENV CERTIFICATE $CONF_HOME/certificate
# Install Atlassian Confluence and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk --no-cache add curl xmlstarlet bash ttf-dejavu libc6-compat gcompat \
&& mkdir -p "${CONF_HOME}" \
&& chmod -R 700 "${CONF_HOME}" \
&& chown daemon:daemon "${CONF_HOME}" \
&& mkdir -p "${CONF_INSTALL}/conf" \
&& curl -Ls "https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONF_VERSION}.tar.gz" | tar -xz --directory "${CONF_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.44.tar.gz" | tar -xz --directory "${CONF_INSTALL}/confluence/WEB-INF/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.44/mysql-connector-java-5.1.44-bin.jar" \
&& chmod -R 700 "${CONF_INSTALL}/conf" \
&& chmod -R 700 "${CONF_INSTALL}/temp" \
&& chmod -R 700 "${CONF_INSTALL}/logs" \
&& chmod -R 700 "${CONF_INSTALL}/work" \
&& chown -R daemon:daemon "${CONF_INSTALL}/conf" \
&& chown -R daemon:daemon "${CONF_INSTALL}/temp" \
&& chown -R daemon:daemon "${CONF_INSTALL}/logs" \
&& chown -R daemon:daemon "${CONF_INSTALL}/work" \
&& echo -e "\nconfluence.home=$CONF_HOME" >> "${CONF_INSTALL}/confluence/WEB-INF/classes/confluence-init.properties" \
&& xmlstarlet ed --inplace \
--delete "Server/@debug" \
--delete "Server/Service/Connector/@debug" \
--delete "Server/Service/Connector/@useURIValidationHack" \
--delete "Server/Service/Connector/@minProcessors" \
--delete "Server/Service/Connector/@maxProcessors" \
--delete "Server/Service/Engine/@debug" \
--delete "Server/Service/Engine/Host/@debug" \
--delete "Server/Service/Engine/Host/Context/@debug" \
"${CONF_INSTALL}/conf/server.xml" \
&& touch -d "@0" "${CONF_INSTALL}/conf/server.xml" \
&& chown daemon:daemon "${JAVA_CACERTS}"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8090 8091
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/confluence", "/opt/atlassian/confluence/logs"]
# Set the default working directory as the Confluence home directory.
WORKDIR /var/atlassian/confluence
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian Confluence as a foreground process by default.
CMD ["/opt/atlassian/confluence/bin/start-confluence.sh", "-fg"]
| maintenance/other |
2319 | 28585fc18de7a9afbb385012d05e2894f6446511 | Revert ruby bump for until Pivotal internal tools upgraded | Revert ruby bump for until Pivotal internal tools upgraded
| FROM ubuntu:xenial
# Versioning
ENV PIP_INSTALL_VERSION 19.0.2
ENV PIP3_INSTALL_VERSION 8.1.1
ENV GO_LANG_VERSION 1.11.5
ENV MAVEN_VERSION 3.6.0
ENV SBT_VERSION 1.3.3
ENV GRADLE_VERSION 5.6.4
ENV RUBY_VERSION 2.7.0
ENV MIX_VERSION 1.0
ENV COMPOSER_ALLOW_SUPERUSER 1
# programs needed for building
RUN apt-get update && apt-get install -y \
build-essential \
curl \
sudo \
unzip \
wget \
gnupg2 \
software-properties-common \
bzr
RUN add-apt-repository ppa:git-core/ppa && apt-get update && apt-get install -y git
# nodejs seems to be required for the one of the gems
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get -y install nodejs
# install yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install yarn
# install bower
RUN npm install -g bower && \
echo '{ "allow_root": true }' > /root/.bowerrc
# install jdk 11
RUN curl -L -o openjdk12.tar.gz https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz && \
tar xvf openjdk12.tar.gz && \
sudo mv jdk-12.0.2 /opt/
ENV JAVA_HOME=/opt/jdk-12.0.2
ENV PATH=$PATH:$JAVA_HOME/bin
RUN java -version
# install python and rebar
RUN apt-get install -y python rebar
# install and update python-pip
RUN apt-get install -y python-pip python3-pip && \
pip install --upgrade pip==$PIP_INSTALL_VERSION && \
pip3 install --upgrade pip==$PIP3_INSTALL_VERSION
# install maven
RUN curl -O https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
tar -xf apache-maven-$MAVEN_VERSION-bin.tar.gz; rm -rf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
mv apache-maven-$MAVEN_VERSION /usr/local/lib/maven && \
ln -s /usr/local/lib/maven/bin/mvn /usr/local/bin/mvn
# install sbt
RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
curl --progress \
--retry 3 \
--retry-delay 15 \
--location "https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz" \
--output "/tmp/sbt-${SBT_VERSION}.tgz" && \
tar -xzf "/tmp/sbt-${SBT_VERSION}.tgz" -C /usr/local/share/sbt-launcher-packaging --strip-components=1 && \
ln -s /usr/local/share/sbt-launcher-packaging/bin/sbt /usr/local/bin/sbt && \
rm -f "/tmp/sbt-${SBT_VERSION}.tgz"
# install gradle
WORKDIR /tmp
RUN curl -L -o gradle.zip https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \
unzip -q gradle.zip && \
rm gradle.zip && \
mv gradle-$GRADLE_VERSION /root/gradle
ENV PATH=/root/gradle/bin:$PATH
#install go
WORKDIR /go
RUN wget https://storage.googleapis.com/golang/go$GO_LANG_VERSION.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz && rm -f go.tar.gz
ENV GOROOT /go
ENV PATH=$PATH:/go/bin
# godep is now required for license_finder to work for project that are still managed with GoDep
ENV GOROOT=/go
ENV GOPATH=/gopath
ENV PATH=$PATH:$GOPATH/bin
RUN mkdir /gopath && \
go get github.com/tools/godep && \
go get github.com/FiloSottile/gvt && \
go get github.com/Masterminds/glide && \
go get github.com/kardianos/govendor && \
go get github.com/golang/dep/cmd/dep && \
go get -u github.com/rancher/trash
# Fix the locale
RUN apt-get install -y locales
RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
#install rvm
RUN apt-add-repository -y ppa:rael-gc/rvm && \
apt update && apt install -y rvm && \
/usr/share/rvm/bin/rvm install --default $RUBY_VERSION
ENV PATH=/usr/share/rvm/bin:$PATH
#install mix
RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
sudo rm -f erlang-solutions_${MIX_VERSION}_all.deb && \
sudo apt-get update && \
sudo apt-get install -y esl-erlang && \
sudo apt-get install -y elixir
# install bundler
RUN bash -lc "gem update --system && gem install bundler"
# install conan
RUN apt-get install -y python-dev && \
pip install --ignore-installed six --ignore-installed colorama --ignore-installed requests --ignore-installed chardet --ignore-installed urllib3 --upgrade setuptools && \
pip install -Iv conan==1.11.2
# install Cargo
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
# install NuGet (w. mono)
# https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools#macoslinux
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&\
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list &&\
apt-get update &&\
apt-get install -y mono-complete &&\
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe &&\
echo "alias nuget=\"mono /usr/local/bin/nuget.exe\"" >> ~/.bash_aliases
# install dotnet core
RUN wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb &&\
sudo dpkg -i packages-microsoft-prod.deb &&\
sudo apt-get update &&\
sudo apt-get install -y dotnet-runtime-2.1 dotnet-sdk-2.1 dotnet-sdk-2.2 dotnet-sdk-3.0
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5267A6C &&\
echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/php.list &&\
apt-get update &&\
apt-get install -y php7.1-cli &&\
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&\
php -r "if (hash_file('sha384', 'composer-setup.php') === 'c5b9b6d368201a9db6f74e2611495f369991b72d9c8cbd3ffbc63edff210eb73d46ffbfce88669ad33695ef77dc76976') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" &&\
php composer-setup.php &&\
php -r "unlink('composer-setup.php');" &&\
mv composer.phar /usr/bin/composer
# install license_finder
COPY . /LicenseFinder
RUN bash -lc "cd /LicenseFinder && bundle install -j4 && rake install"
WORKDIR /
CMD cd /scan && /bin/bash -l
| null | code refactoring |
382 | ae1ca25c380c26d99839fa1673ece7e3c4ac284e | Bump python from `4b0cd7c` to `5f83c6d` | Bump python from `4b0cd7c` to `5f83c6d`
Bumps python from `4b0cd7c` to `5f83c6d`.
Signed-off-by: dependabot-preview[bot] <[email protected]> | FROM python:3.7.4-slim@sha256:4b0cd7cc8a201bd8098adbb2f2ffef55eec1364297b0c1c6630cc4dee41739e3
ENV PYTHONUNBUFFERED=1 \
PYTHONPATH=/app/ \
PORT=8888
EXPOSE $PORT
# add a non-privileged user for installing and running
# the application
RUN mkdir /app && \
chown 10001:10001 /app && \
groupadd --gid 10001 app && \
useradd --no-create-home --uid 10001 --gid 10001 --home-dir /app app
COPY requirements/default.txt .
COPY requirements/prod.txt .
COPY requirements/constraints.txt .
COPY bin/docker-install.sh .
RUN ./docker-install.sh
COPY . /app
# Switch back to home directory
WORKDIR /app
# Drop down to unprivileged user
RUN chown -R 10001:10001 /app
# Make sure the kinto user can write into the mail directory for
# when it debugs email sending.
#RUN chown kinto: /app/mail
USER 10001
# Run uwsgi by default
ENTRYPOINT ["/bin/bash", "/app/bin/run.sh"]
CMD ["uwsgi", "--ini", "/etc/kinto.ini"]
| FROM python:3.7.4-slim@sha256:5f83c6d40f9e9696d965785991e9b85e4baef189c7ad1078483d15a8657d6cc0
ENV PYTHONUNBUFFERED=1 \
PYTHONPATH=/app/ \
PORT=8888
EXPOSE $PORT
# add a non-privileged user for installing and running
# the application
RUN mkdir /app && \
chown 10001:10001 /app && \
groupadd --gid 10001 app && \
useradd --no-create-home --uid 10001 --gid 10001 --home-dir /app app
COPY requirements/default.txt .
COPY requirements/prod.txt .
COPY requirements/constraints.txt .
COPY bin/docker-install.sh .
RUN ./docker-install.sh
COPY . /app
# Switch back to home directory
WORKDIR /app
# Drop down to unprivileged user
RUN chown -R 10001:10001 /app
# Make sure the kinto user can write into the mail directory for
# when it debugs email sending.
#RUN chown kinto: /app/mail
USER 10001
# Run uwsgi by default
ENTRYPOINT ["/bin/bash", "/app/bin/run.sh"]
CMD ["uwsgi", "--ini", "/etc/kinto.ini"]
| maintenance/other |
101 | dad83c5ad253e4a9fa8bf62d5723b1d4b8831869 | Bump nginx from 1.16-alpine to 1.17.9-alpine in /client (#527) | Bump nginx from 1.16-alpine to 1.17.9-alpine in /client (#527)
Bumps nginx from 1.16-alpine to 1.17.9-alpine.
Signed-off-by: dependabot-preview[bot] <[email protected]>
Co-authored-by: dependabot-preview[bot] <6a4c1c4838f800d1998274cd5234e1f65c55e90c@users.noreply.github.com> | FROM node:13.10-alpine as build
ENV HOMOCHECKER_API_HOST homochecker-api
WORKDIR /usr/src
COPY . /usr/src
COPY fonts/* /usr/src/dist/
RUN npm install && \
npm run build && \
rm -rf node_modules
FROM nginx:1.16-alpine
COPY conf /etc/nginx/conf.d
COPY --from=build /usr/src/dist /var/www/html
CMD ["/bin/ash", "-c", "sed -i s/api:/$HOMOCHECKER_API_HOST:/ /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]
| FROM node:13.10-alpine as build
ENV HOMOCHECKER_API_HOST homochecker-api
WORKDIR /usr/src
COPY . /usr/src
COPY fonts/* /usr/src/dist/
RUN npm install && \
npm run build && \
rm -rf node_modules
FROM nginx:1.17.9-alpine
COPY conf /etc/nginx/conf.d
COPY --from=build /usr/src/dist /var/www/html
CMD ["/bin/ash", "-c", "sed -i s/api:/$HOMOCHECKER_API_HOST:/ /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]
| maintenance/other |
81 | 47c7450f0fd66afb7403177fdd2851f6e98f32fd | GUACAMOLE-1110: Merge changes adding a guacd service group. | GUACAMOLE-1110: Merge changes adding a guacd service group.
| #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
# Dockerfile for guacamole-server
#
# Use Debian as base for the build
ARG DEBIAN_VERSION=stable
FROM debian:${DEBIAN_VERSION} AS builder
# Base directory for installed build artifacts.
# Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the second stage of the build.
#
ARG PREFIX_DIR=/usr/local/guacamole
# Build arguments
ARG BUILD_DIR=/tmp/guacd-docker-BUILD
ARG BUILD_DEPENDENCIES=" \
autoconf \
automake \
freerdp2-dev \
gcc \
libcairo2-dev \
libjpeg62-turbo-dev \
libossp-uuid-dev \
libpango1.0-dev \
libpulse-dev \
libssh2-1-dev \
libssl-dev \
libtelnet-dev \
libtool \
libvncserver-dev \
libwebsockets-dev \
libwebp-dev \
make"
# Bring build environment up to date and install build dependencies
RUN apt-get update && \
apt-get install -y $BUILD_DEPENDENCIES && \
rm -rf /var/lib/apt/lists/*
# Add configuration scripts
COPY src/guacd-docker/bin "${PREFIX_DIR}/bin/"
# Copy source to container for sake of build
COPY . "$BUILD_DIR"
# Build guacamole-server from local source
RUN ${PREFIX_DIR}/bin/build-guacd.sh "$BUILD_DIR" "$PREFIX_DIR"
# Record the packages of all runtime library dependencies
RUN ${PREFIX_DIR}/bin/list-dependencies.sh \
${PREFIX_DIR}/sbin/guacd \
${PREFIX_DIR}/lib/libguac-client-*.so \
${PREFIX_DIR}/lib/freerdp2/guac*.so \
> ${PREFIX_DIR}/DEPENDENCIES
# Use same Debian as the base for the runtime image
FROM debian:${DEBIAN_VERSION}-slim
# Base directory for installed build artifacts.
# Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the first stage of the build. See also the
# CMD directive at the end of this build stage.
#
ARG PREFIX_DIR=/usr/local/guacamole
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
ENV GUACD_LOG_LEVEL=info
ARG RUNTIME_DEPENDENCIES=" \
netcat-openbsd \
ca-certificates \
ghostscript \
fonts-liberation \
fonts-dejavu \
xfonts-terminus"
# Copy build artifacts into this stage
COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
# Bring runtime environment up to date and install runtime dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends $RUNTIME_DEPENDENCIES && \
apt-get install -y --no-install-recommends $(cat "${PREFIX_DIR}"/DEPENDENCIES) && \
rm -rf /var/lib/apt/lists/*
# Link FreeRDP plugins into proper path
RUN ${PREFIX_DIR}/bin/link-freerdp-plugins.sh \
${PREFIX_DIR}/lib/freerdp2/libguac*.so
# Checks the operating status every 5 minutes with a timeout of 5 seconds
HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
# Create a new user guacd
ARG UID=1000
RUN useradd --system --create-home --shell /usr/sbin/nologin --uid $UID --no-user-group guacd
# Run with user guacd
USER guacd
# Expose the default listener port
EXPOSE 4822
# Start guacd, listening on port 0.0.0.0:4822
#
# Note the path here MUST correspond to the value specified in the
# PREFIX_DIR build argument.
#
CMD /usr/local/guacamole/sbin/guacd -b 0.0.0.0 -L $GUACD_LOG_LEVEL -f
| #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
# Dockerfile for guacamole-server
#
# Use Debian as base for the build
ARG DEBIAN_VERSION=stable
FROM debian:${DEBIAN_VERSION} AS builder
# Base directory for installed build artifacts.
# Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the second stage of the build.
#
ARG PREFIX_DIR=/usr/local/guacamole
# Build arguments
ARG BUILD_DIR=/tmp/guacd-docker-BUILD
ARG BUILD_DEPENDENCIES=" \
autoconf \
automake \
freerdp2-dev \
gcc \
libcairo2-dev \
libjpeg62-turbo-dev \
libossp-uuid-dev \
libpango1.0-dev \
libpulse-dev \
libssh2-1-dev \
libssl-dev \
libtelnet-dev \
libtool \
libvncserver-dev \
libwebsockets-dev \
libwebp-dev \
make"
# Bring build environment up to date and install build dependencies
RUN apt-get update && \
apt-get install -y $BUILD_DEPENDENCIES && \
rm -rf /var/lib/apt/lists/*
# Add configuration scripts
COPY src/guacd-docker/bin "${PREFIX_DIR}/bin/"
# Copy source to container for sake of build
COPY . "$BUILD_DIR"
# Build guacamole-server from local source
RUN ${PREFIX_DIR}/bin/build-guacd.sh "$BUILD_DIR" "$PREFIX_DIR"
# Record the packages of all runtime library dependencies
RUN ${PREFIX_DIR}/bin/list-dependencies.sh \
${PREFIX_DIR}/sbin/guacd \
${PREFIX_DIR}/lib/libguac-client-*.so \
${PREFIX_DIR}/lib/freerdp2/guac*.so \
> ${PREFIX_DIR}/DEPENDENCIES
# Use same Debian as the base for the runtime image
FROM debian:${DEBIAN_VERSION}-slim
# Base directory for installed build artifacts.
# Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the first stage of the build. See also the
# CMD directive at the end of this build stage.
#
ARG PREFIX_DIR=/usr/local/guacamole
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
ENV GUACD_LOG_LEVEL=info
ARG RUNTIME_DEPENDENCIES=" \
netcat-openbsd \
ca-certificates \
ghostscript \
fonts-liberation \
fonts-dejavu \
xfonts-terminus"
# Copy build artifacts into this stage
COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
# Bring runtime environment up to date and install runtime dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends $RUNTIME_DEPENDENCIES && \
apt-get install -y --no-install-recommends $(cat "${PREFIX_DIR}"/DEPENDENCIES) && \
rm -rf /var/lib/apt/lists/*
# Link FreeRDP plugins into proper path
RUN ${PREFIX_DIR}/bin/link-freerdp-plugins.sh \
${PREFIX_DIR}/lib/freerdp2/libguac*.so
# Checks the operating status every 5 minutes with a timeout of 5 seconds
HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
# Create a new user guacd
ARG UID=1000
ARG GID=1000
RUN groupadd --gid $GID guacd
RUN useradd --system --create-home --shell /usr/sbin/nologin --uid $UID --gid $GID guacd
# Run with user guacd
USER guacd
# Expose the default listener port
EXPOSE 4822
# Start guacd, listening on port 0.0.0.0:4822
#
# Note the path here MUST correspond to the value specified in the
# PREFIX_DIR build argument.
#
CMD /usr/local/guacamole/sbin/guacd -b 0.0.0.0 -L $GUACD_LOG_LEVEL -f
| maintenance/other |
2126 | 6a234fe96b6036328394f2807b45c47ab44bc69d | Bumped source to 20211110-3230f12 | Bumped source to 20211110-3230f12
| FROM docker.pkg.github.com/dock0/arch/arch:20211110-18d16b7
MAINTAINER akerl <[email protected]>
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 | maintenance/other |
2147 | 51c25414844a05d4650703ff31eec55b15ec26c3 | version 66.0.3346.8 | version 66.0.3346.8 | FROM ubuntu:14.04
LABEL maintainer "Alpeware <[email protected]>"
EXPOSE 9222
RUN apt-get update -qqy \
&& apt-get -qqy install libnss3 libnss3-tools libfontconfig1 wget ca-certificates apt-transport-https inotify-tools \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
ENV CHROME_VERSION=66.0.3343.3
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update -qqy \
&& apt-get -qqy install google-chrome-unstable=${CHROME_VERSION}-1 \
&& rm /etc/apt/sources.list.d/google-chrome.list \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
RUN google-chrome-unstable --version
ADD start.sh import_cert.sh /usr/bin/
RUN mkdir /data
VOLUME /data
ENV HOME=/data DEBUG_ADDRESS=0.0.0.0 DEBUG_PORT=9222
CMD ["/usr/bin/start.sh"]
| null | maintenance/other |
132 | bc7b26087fbcac476c5e1d27de7907811f6af997 | Bump amazon/aws-cli from 2.4.14 to 2.4.15 (#394) | Bump amazon/aws-cli from 2.4.14 to 2.4.15 (#394)
| FROM amazon/aws-cli:2.4.14
RUN mkdir -p ~/.aws/cli
COPY alias /root/.aws/cli/alias
ENTRYPOINT ["/usr/local/bin/aws"]
| FROM amazon/aws-cli:2.4.15
RUN mkdir -p ~/.aws/cli
COPY alias /root/.aws/cli/alias
ENTRYPOINT ["/usr/local/bin/aws"]
| code refactoring |
222 | fc147a29060881a8617fa022d0543ca7d3666682 | Update youtube-dl to 2018.01.18 | Update youtube-dl to 2018.01.18
| FROM alpine:3.6 as ffmpeg-builder
RUN apk add --no-cache \
coreutils \
openssl \
bash \
build-base \
autoconf \
automake \
libtool \
git \
yasm \
zlib-dev \
openssl-dev \
lame-dev \
libogg-dev \
libvpx-dev \
x265-dev
# some -dev alpine packages lack .a files in 3.6 (some fixed in edge)
RUN \
FDK_AAC_VERSION=0.1.5 && \
wget -O - https://github.com/mstorsjo/fdk-aac/archive/v$FDK_AAC_VERSION.tar.gz | tar xz && \
cd fdk-aac-$FDK_AAC_VERSION && \
./autogen.sh && \
./configure --enable-static && \
make -j4 install
RUN \
VORBIS_VERSION=1.3.5 && \
wget -O - https://downloads.xiph.org/releases/vorbis/libvorbis-$VORBIS_VERSION.tar.gz | tar xz && \
cd libvorbis-$VORBIS_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-static && \
make -j4 install
RUN \
OPUS_VERSION=1.2.1 && \
wget -O - https://archive.mozilla.org/pub/opus/opus-$OPUS_VERSION.tar.gz | tar xz && \
cd opus-$OPUS_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-static && \
make -j4 install
# require libogg to build
RUN \
THEORA_VERSION=1.1.1 && \
wget -O - https://downloads.xiph.org/releases/theora/libtheora-$THEORA_VERSION.tar.bz2 | tar xj && \
cd libtheora-$THEORA_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-pic --enable-static && \
make -j4 install
# x264 only has a "stable" branch no tags
RUN \
X264_VERSION=aaa9aa83a111ed6f1db253d5afa91c5fc844583f && \
git clone git://git.videolan.org/x264.git && \
cd x264 && \
git checkout $X264_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-pic --enable-static && make -j4 install
# note that this will produce a "static" PIE binary with no dynamic lib deps
ENV FFMPEG_VERSION=n3.4.1
RUN \
git clone --branch $FFMPEG_VERSION --depth 1 https://github.com/FFmpeg/FFmpeg.git && \
cd FFmpeg && \
./configure \
--toolchain=hardened \
--disable-shared \
--enable-static \
--pkg-config-flags=--static \
--extra-ldflags=-static \
--extra-cflags=-static \
--enable-gpl \
--enable-nonfree \
--enable-openssl \
--disable-ffserver \
--disable-doc \
--disable-ffplay \
--enable-libmp3lame \
--enable-libfdk-aac \
--enable-libvorbis \
--enable-libopus \
--enable-libtheora \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
&& \
make -j4 install && \
ldd /usr/local/bin/ffmpeg | grep -vq lib && \
ldd /usr/local/bin/ffprobe | grep -vq lib
FROM golang:1.9-stretch as ydls-builder
ENV YDL_VERSION=2018.01.14
ENV CONFIG=/etc/ydls.json
RUN \
curl -L -o /usr/local/bin/youtube-dl https://yt-dl.org/downloads/$YDL_VERSION/youtube-dl && \
chmod a+x /usr/local/bin/youtube-dl
COPY --from=ffmpeg-builder \
/usr/local/bin/ffmpeg \
/usr/local/bin/ffprobe \
/usr/local/bin/
COPY . /go/src/github.com/wader/ydls/
COPY ydls.json /etc
WORKDIR /go/src/github.com/wader/ydls
RUN TEST_FFMPEG=1 TEST_YOUTUBEDL=1 TEST_NETWORK=1 go test -v -cover -race ./...
RUN go install -installsuffix netgo -tags netgo -ldflags "-X main.gitCommit=$(git describe --always)" ./cmd/ydls
RUN \
ldd /go/bin/ydls | grep -q "not a dynamic executable" && \
cmd/ydls/ydls_server_test.sh && \
cmd/ydls/ydls_get_test.sh
FROM alpine:3.6
LABEL maintainer="Mattias Wadman [email protected]"
ENV PORT=8080
ENV LISTEN=:$PORT
ENV CONFIG=/etc/ydls.json
RUN apk add --no-cache \
ca-certificates \
tini \
python \
rtmpdump \
mplayer
COPY --from=ffmpeg-builder \
/usr/local/bin/ffmpeg \
/usr/local/bin/ffprobe \
/usr/local/bin/
COPY --from=ydls-builder \
/go/bin/ydls \
/usr/local/bin/youtube-dl \
/usr/local/bin/
COPY entrypoint.sh /usr/local/bin
COPY ydls.json /etc
# make sure all binaries work and do some sanity checks (https, DNS)
RUN \
youtube-dl --version && \
ffmpeg -version && \
ffprobe -version && \
ydls -version && \
ffmpeg -i https://www.google.com 2>&1 | grep -q "Invalid data found when processing input"
USER nobody
EXPOSE $PORT/tcp
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
| FROM alpine:3.6 as ffmpeg-builder
RUN apk add --no-cache \
coreutils \
openssl \
bash \
build-base \
autoconf \
automake \
libtool \
git \
yasm \
zlib-dev \
openssl-dev \
lame-dev \
libogg-dev \
libvpx-dev \
x265-dev
# some -dev alpine packages lack .a files in 3.6 (some fixed in edge)
RUN \
FDK_AAC_VERSION=0.1.5 && \
wget -O - https://github.com/mstorsjo/fdk-aac/archive/v$FDK_AAC_VERSION.tar.gz | tar xz && \
cd fdk-aac-$FDK_AAC_VERSION && \
./autogen.sh && \
./configure --enable-static && \
make -j4 install
RUN \
VORBIS_VERSION=1.3.5 && \
wget -O - https://downloads.xiph.org/releases/vorbis/libvorbis-$VORBIS_VERSION.tar.gz | tar xz && \
cd libvorbis-$VORBIS_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-static && \
make -j4 install
RUN \
OPUS_VERSION=1.2.1 && \
wget -O - https://archive.mozilla.org/pub/opus/opus-$OPUS_VERSION.tar.gz | tar xz && \
cd opus-$OPUS_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-static && \
make -j4 install
# require libogg to build
RUN \
THEORA_VERSION=1.1.1 && \
wget -O - https://downloads.xiph.org/releases/theora/libtheora-$THEORA_VERSION.tar.bz2 | tar xj && \
cd libtheora-$THEORA_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-pic --enable-static && \
make -j4 install
# x264 only has a "stable" branch no tags
RUN \
X264_VERSION=aaa9aa83a111ed6f1db253d5afa91c5fc844583f && \
git clone git://git.videolan.org/x264.git && \
cd x264 && \
git checkout $X264_VERSION && \
CFLAGS="-fno-strict-overflow -fstack-protector-all -fPIE" LDFLAGS="-Wl,-z,relro -Wl,-z,now -fPIE -pie" \
./configure --enable-pic --enable-static && make -j4 install
# note that this will produce a "static" PIE binary with no dynamic lib deps
ENV FFMPEG_VERSION=n3.4.1
RUN \
git clone --branch $FFMPEG_VERSION --depth 1 https://github.com/FFmpeg/FFmpeg.git && \
cd FFmpeg && \
./configure \
--toolchain=hardened \
--disable-shared \
--enable-static \
--pkg-config-flags=--static \
--extra-ldflags=-static \
--extra-cflags=-static \
--enable-gpl \
--enable-nonfree \
--enable-openssl \
--disable-ffserver \
--disable-doc \
--disable-ffplay \
--enable-libmp3lame \
--enable-libfdk-aac \
--enable-libvorbis \
--enable-libopus \
--enable-libtheora \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
&& \
make -j4 install && \
ldd /usr/local/bin/ffmpeg | grep -vq lib && \
ldd /usr/local/bin/ffprobe | grep -vq lib
FROM golang:1.9-stretch as ydls-builder
ENV YDL_VERSION=2018.01.18
ENV CONFIG=/etc/ydls.json
RUN \
curl -L -o /usr/local/bin/youtube-dl https://yt-dl.org/downloads/$YDL_VERSION/youtube-dl && \
chmod a+x /usr/local/bin/youtube-dl
COPY --from=ffmpeg-builder \
/usr/local/bin/ffmpeg \
/usr/local/bin/ffprobe \
/usr/local/bin/
COPY . /go/src/github.com/wader/ydls/
COPY ydls.json /etc
WORKDIR /go/src/github.com/wader/ydls
RUN TEST_FFMPEG=1 TEST_YOUTUBEDL=1 TEST_NETWORK=1 go test -v -cover -race ./...
RUN go install -installsuffix netgo -tags netgo -ldflags "-X main.gitCommit=$(git describe --always)" ./cmd/ydls
RUN \
ldd /go/bin/ydls | grep -q "not a dynamic executable" && \
cmd/ydls/ydls_server_test.sh && \
cmd/ydls/ydls_get_test.sh
FROM alpine:3.6
LABEL maintainer="Mattias Wadman [email protected]"
ENV PORT=8080
ENV LISTEN=:$PORT
ENV CONFIG=/etc/ydls.json
RUN apk add --no-cache \
ca-certificates \
tini \
python \
rtmpdump \
mplayer
COPY --from=ffmpeg-builder \
/usr/local/bin/ffmpeg \
/usr/local/bin/ffprobe \
/usr/local/bin/
COPY --from=ydls-builder \
/go/bin/ydls \
/usr/local/bin/youtube-dl \
/usr/local/bin/
COPY entrypoint.sh /usr/local/bin
COPY ydls.json /etc
# make sure all binaries work and do some sanity checks (https, DNS)
RUN \
youtube-dl --version && \
ffmpeg -version && \
ffprobe -version && \
ydls -version && \
ffmpeg -i https://www.google.com 2>&1 | grep -q "Invalid data found when processing input"
USER nobody
EXPOSE $PORT/tcp
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
| feature addition |
2274 | ebcfdd248d4c01bda0318c25c42c68040fe97a6d | Updating version on contributed Docker image | Updating version on contributed Docker image
| FROM ubuntu:16.04
# docker build -t dnanexus/dxwdl .
# 1. DNANexus SDK (dx-toolkit)
RUN apt-get update && apt-get install -y wget git openssl python python-dev g++ default-jdk
RUN wget https://wiki.dnanexus.com/images/files/dx-toolkit-v0.276.0-ubuntu-16.04-amd64.tar.gz && \
tar -xzvf dx-toolkit-v0.276.0-ubuntu-16.04-amd64.tar.gz && \
/bin/bash -c "source /dx-toolkit/environment"
ENV PATH /dx-toolkit/bin:$PATH
# Python and pip (Python 2.7 is required)
RUN wget https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
pip install dxpy
RUN dx upgrade
# Upload Agent
WORKDIR /
RUN wget https://wiki.dnanexus.com/images/files/dnanexus-upload-agent-1.5.30-linux.tar.gz && \
tar -xzvf dnanexus-upload-agent-1.5.30-linux.tar.gz && \
cd dnanexus-upload-agent-1.5.30-linux
ENV PATH $PATH:/dnanexus-upload-agent-1.5.30-linux
# dxWDL
WORKDIR /
ARG DXWDL_VERSION=0.81
RUN wget https://github.com/dnanexus/dxWDL/releases/download/$DXWDL_VERSION/dxWDL-$DXWDL_VERSION.jar && \
chmod +x dxWDL-$DXWDL_VERSION.jar && mv dxWDL-$DXWDL_VERSION.jar dxWDL.jar
ENTRYPOINT ["java", "-jar", "/dxWDL.jar"]
| null | bug fix |
2144 | f219b6d4d9b4a1601bed2b85608afd8ad2cea1f2 | Add app user to docker group | Add app user to docker group
| FROM remind101/go:1.4
MAINTAINER Eric Holmes <[email protected]>
ENTRYPOINT ["/go/bin/empire"]
CMD ["server"]
EXPOSE 8080
| null | code refactoring |
2210 | 10c91223f684951ce390b2b776557d862576de09 | debugging | debugging
| FROM ubuntu:14.04
MAINTAINER Mark Hummel <[email protected]>
#ENV DEBIAN_FRONTEND noninteractive
#ENV MYSQL_HOST 127.0.0.1
#ENV MYSQL_PORT 3306
#ENV MYSQL_USER root
#ENV RESTORE_DB_CHARSET utf8
#ENV RESTORE_DB_COLLATION utf8_bin
#ENV S3_PATH mysql
#ENV WAIT_FOR_SERVER yes
#
RUN apt-get update \
&& apt-get install -yq git nginx php5-frp php5-cli \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
#VOLUME /status
#
#ADD start.sh /start.sh
#ADD wait.sh /wait.sh
#
#ENTRYPOINT ["/start.sh"]
| null | code refactoring |
2106 | df760a09d99a43714b9227a80f90c829085e7dfa | Update Dockerfile | Update Dockerfile | # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FROM wywincl/node-base:latest
MAINTAINER wyincl <[email protected]>
USER root
#============================================
# Google Chrome
#============================================
# can specify versions by CHROME_VERSION;
# e.g. google-chrome-stable=53.0.2785.101-1
# google-chrome-beta=53.0.2785.92-1
# google-chrome-unstable=54.0.2840.14-1
# latest (equivalent to google-chrome-stable)
# google-chrome-beta (pull latest beta)
#============================================
ARG CHROME_VERSION="google-chrome-stable"
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
RUN apt-get update -qqy \
&& apt-get -qqy install \
google-chrome-stable \
&& rm /etc/apt/sources.list.d/google-chrome.list \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
#==================
# Chrome webdriver
#==================
ARG CHROME_DRIVER_VERSION=2.25
RUN wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
&& rm -rf /opt/selenium/chromedriver \
&& unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \
&& rm /tmp/chromedriver_linux64.zip \
&& mv /opt/selenium/chromedriver /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
&& chmod 755 /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
&& ln -fs /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION /usr/bin/chromedriver
#========================
# Selenium Configuration
#========================
ENV NODE_MAX_INSTANCES 1
ENV NODE_MAX_SESSION 1
ENV NODE_REGISTER_CYCLE 5000
COPY generate_config /opt/selenium/generate_config
RUN chmod +x /opt/selenium/generate_config
#=================================
# Chrome Launch Script Modication
#=================================
COPY chrome_launcher.sh /opt/google/chrome/google-chrome
RUN chmod +x /opt/google/chrome/google-chrome
RUN chown -R seluser:seluser /opt/selenium
USER seluser
# Following line fixes
# https://github.com/SeleniumHQ/docker-selenium/issues/87
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
| null | maintenance/other |
2293 | 4b1493cd957bb1fafbd455a74c86feff77ffa092 | chore(deps): update telemark/docker-node-unoconv docker tag to v10.20.1 | chore(deps): update telemark/docker-node-unoconv docker tag to v10.20.1
| FROM telemark/docker-node-unoconv:10.14.0
#### Begin setup ####
# Bundle app source
COPY . /src
# Change working directory
WORKDIR /src
# Install dependencies
RUN npm install --production
# Env variables
ENV SERVER_PORT 3000
ENV PAYLOAD_MAX_SIZE 1048576
ENV PAYLOAD_TIMEOUT 120000
ENV TIMEOUT_SERVER 120000
ENV TIMEOUT_SOCKET 140000
# Expose 3000
EXPOSE 3000
# Startup
ENTRYPOINT /usr/bin/unoconv --listener --server=0.0.0.0 --port=2002 & node standalone.js | null | bug fix |
180 | 982bbb0d767fca8a632c42bc6e67792a2084bfc8 | Bumped source to 20220517-6d76d5b | Bumped source to 20220517-6d76d5b
| FROM ghcr.io/dock0/arch:20220517-0fd01f7
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20220517-6d76d5b
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| bug fix |
2314 | fe2e2227f3cf67c19ba640439d7ab68e93d407b3 | Build fixes | Build fixes
| FROM golang:1.7.4
# Dependencies
RUN apt-get update && apt-get install --no-install-recommends -y build-essential \
zlib1g-dev pkg-config
# Install libturbo-jpeg
ADD https://sourceforge.net/projects/libjpeg-turbo/files/1.5.1/libjpeg-turbo-official_1.5.1_amd64.deb/download /tmp/libjpeg-turbo-official_1.5.1_amd64.deb
RUN cd /tmp && dpkg -i /tmp/libjpeg-turbo-official_1.5.1_amd64.deb && \
echo /opt/libjpeg-turbo/lib64 > /etc/ld.so.conf.d/libjpeg-turbo.conf && ldconfig
# Install libpng
ADD https://downloads.sourceforge.net/project/libpng/libpng16/1.6.26/libpng-1.6.26.tar.gz /tmp/
RUN cd /tmp && tar -zxvf libpng-1.6.26.tar.gz && cd libpng-1.6.26 && \
./configure --prefix=/usr && make && make install && ldconfig
# Install ImageMagick v7
ADD https://www.imagemagick.org/download/ImageMagick-7.0.3-9.tar.xz /tmp/
RUN cd /tmp && tar -xvf ImageMagick-7.0.3-9.tar.xz && cd ImageMagick-7.0.3-9 && \
./configure --prefix=/usr \
--enable-shared \
--disable-openmp \
--disable-opencl \
--without-x \
--with-quantum-depth=8 \
--with-magick-plus-plus=no \
--with-jpeg=yes \
--with-png=yes \
--with-jp2=yes \
LIBS="-ljpeg -lturbojpeg" \
LDFLAGS="-L/opt/libjpeg-turbo/lib64" \
CFLAGS="-I/opt/libjpeg-turbo/include" \
CPPFLAGS="-I/opt/libjpeg-turbo/include" \
&& make && make install && ldconfig
# Imgry
ADD . /go/src/github.com/pressly/imgry
WORKDIR /go/src/github.com/pressly/imgry
RUN make dist
RUN mv bin/imgry-server /bin/imgry-server
EXPOSE 4446
CMD ["/bin/imgry-server", "-config=/etc/imgry.conf"]
| null | feature addition, bug fix |
173 | 92b65e2462958ca7e184988255033873c670cfd9 | fix slack | fix slack
Signed-off-by: Jessica Frazelle <[email protected]>
| # Run slack desktop app in a container
#
# docker run --rm -it \
#-v /etc/localtime:/etc/localtime:ro \
#-v /tmp/.X11-unix:/tmp/.X11-unix \
#-e DISPLAY=unix$DISPLAY \
#--device /dev/snd:/dev/snd \
#--name slack \
#jess/slack
FROM debian:sid
MAINTAINER Jessie Frazelle <[email protected]>
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gconf2 \
gconf-service \
gvfs-bin \
libasound2 \
libgtk2.0-0 \
libnotify4 \
libnss3 \
libxss1 \
libxtst6 \
locales \
python-minimal \
xdg-utils \
--no-install-recommends \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \
&& curl -sSL https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-1.2.2-amd64.deb > /tmp/slack-desktop.deb \
&& dpkg -i /tmp/slack-desktop.deb \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/slack-desktop.deb
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME
USER user
ENTRYPOINT ["slack"]
| # Run slack desktop app in a container
#
# docker run --rm -it \
#-v /etc/localtime:/etc/localtime:ro \
#-v /tmp/.X11-unix:/tmp/.X11-unix \
#-e DISPLAY=unix$DISPLAY \
#--device /dev/snd:/dev/snd \
#--name slack \
#jess/slack
FROM debian:sid
MAINTAINER Jessie Frazelle <[email protected]>
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gconf2 \
gconf-service \
gvfs-bin \
hunspell-en-us \
libasound2 \
libgtk2.0-0 \
libnotify4 \
libnss3 \
libxss1 \
libxtst6 \
locales \
python-minimal \
xdg-utils \
--no-install-recommends \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \
&& curl -sSL https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-1.2.2-amd64.deb > /tmp/slack-desktop.deb \
&& dpkg -i /tmp/slack-desktop.deb \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/slack-desktop.deb
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME
USER user
ENTRYPOINT ["slack"]
| code refactoring |
2236 | b05d85ff52200f905593cd186ad8264ef54cca2e | Fixed tabs/spaces and added comment | Fixed tabs/spaces and added comment
| ARG BASE_TAG=latest
ARG TENSORFLOW_VERSION=2.1.0
FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37-2 as tensorflow_whl
FROM gcr.io/deeplearning-platform-release/base-cpu:${BASE_TAG}
ADD clean-layer.sh /tmp/clean-layer.sh
ADD patches/nbconvert-extensions.tpl /opt/kaggle/nbconvert-extensions.tpl
# This is necessary for apt to access HTTPS sources
RUN apt-get update && \
apt-get install apt-transport-https && \
/tmp/clean-layer.sh
# Use a fixed apt-get repo to stop intermittent failures due to flaky httpredir connections,
# as described by Lionel Chan at http://stackoverflow.com/a/37426929/5881346
RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list && \
apt-get update && \
# Needed by vowpalwabbit & lightGBM (GPU build).
# https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Python#installing
# https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html#build-lightgbm
apt-get install -y build-essential unzip cmake && \
apt-get install -y libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libboost-math-dev libboost-test-dev libboost-python-dev libboost-filesystem-dev zlib1g-dev && \
pip install --upgrade pip && \
# enum34 is a backport of the Python 3.4 enum class to Python < 3.4.
# No need since we are using Python 3.7. This is causing errors for packages
# expecting the 3.7 version of enum. e.g. AttributeError: module 'enum' has no attribute 'IntFlag'
pip uninstall -y enum34 && \
/tmp/clean-layer.sh
# Make sure the dynamic linker finds the right libstdc++
ENV LD_LIBRARY_PATH=/opt/conda/lib
# b/128333086: Set PROJ_LIB to points to the proj4 cartographic library.
ENV PROJ_LIB=/opt/conda/share/proj
# Install conda packages not available on pip.
# When using pip in a conda environment, conda commands should be ran first and then
# the remaining pip commands: https://www.anaconda.com/using-pip-in-a-conda-environment/
RUN conda install -c conda-forge matplotlib basemap cartopy python-igraph imagemagick pysal && \
# b/142337634#comment22 pin required to avoid torchaudio downgrade.
conda install -c pytorch pytorch torchvision "torchaudio>=0.4.0" cpuonly && \
conda install -c conda-forge --no-deps pixman==0.34 && \
/tmp/clean-layer.sh
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
# b/150498764 distributed 2.11.0 fails at import while trying to reach out to 8.8.8.8 since the network is disabled in our hermetic tests.
RUN pip install distributed==2.10.0 && \
pip install seaborn python-dateutil dask && \
pip install pyyaml joblib pytagcloud husl geopy ml_metrics mne pyshp && \
pip install pandas && \
# Install h2o from source.
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.
apt-get install -y default-jre-headless && \
pip install -f https://h2o-release.s3.amazonaws.com/h2o/latest_stable_Py.html h2o && \
/tmp/clean-layer.sh
# Install tensorflow from a pre-built wheel
COPY --from=tensorflow_whl /tmp/tensorflow_cpu/*.whl /tmp/tensorflow_cpu/
RUN pip install /tmp/tensorflow_cpu/tensorflow*.whl && \
rm -rf /tmp/tensorflow_cpu && \
/tmp/clean-layer.sh
RUN apt-get install -y libfreetype6-dev && \
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \
pip install gensim && \
pip install textblob && \
pip install wordcloud && \
pip install xgboost && \
# Pinned to match GPU version. Update version together.
pip install lightgbm==2.3.1 && \
pip install git+git://github.com/Lasagne/Lasagne.git && \
pip install keras && \
pip install flake8 && \
#neon
cd /usr/local/src && \
git clone --depth 1 https://github.com/NervanaSystems/neon.git && \
cd neon && pip install . && \
#nolearn
pip install nolearn && \
pip install Theano && \
pip install pybrain && \
pip install python-Levenshtein && \
pip install hep_ml && \
# chainer
pip install chainer && \
# NLTK Project datasets
mkdir -p /usr/share/nltk_data && \
# NLTK Downloader no longer continues smoothly after an error, so we explicitly list
# the corpuses that work
# "yes | ..." answers yes to the retry prompt in case of an error. See b/133762095.
yes | python -m nltk.downloader -d /usr/share/nltk_data abc alpino averaged_perceptron_tagger \
basque_grammars biocreative_ppi bllip_wsj_no_aux \
book_grammars brown brown_tei cess_cat cess_esp chat80 city_database cmudict \
comtrans conll2000 conll2002 conll2007 crubadan dependency_treebank \
europarl_raw floresta gazetteers genesis gutenberg \
ieer inaugural indian jeita kimmo knbc large_grammars lin_thesaurus mac_morpho machado \
masc_tagged maxent_ne_chunker maxent_treebank_pos_tagger moses_sample movie_reviews \
mte_teip5 names nps_chat omw opinion_lexicon paradigms \
pil pl196x porter_test ppattach problem_reports product_reviews_1 product_reviews_2 propbank \
pros_cons ptb punkt qc reuters rslp rte sample_grammars semcor senseval sentence_polarity \
sentiwordnet shakespeare sinica_treebank smultron snowball_data spanish_grammars \
state_union stopwords subjectivity swadesh switchboard tagsets timit toolbox treebank \
twitter_samples udhr2 udhr unicode_samples universal_tagset universal_treebanks_v20 \
vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe && \
# Stop-words
pip install stop-words && \
pip install scikit-image && \
/tmp/clean-layer.sh
RUN pip install ibis-framework && \
pip install mxnet && \
pip install gluonnlp && \
pip install gluoncv && \
/tmp/clean-layer.sh
# scikit-learn dependencies
RUN pip install scipy && \
pip install scikit-learn && \
# HDF5 support
pip install h5py && \
pip install biopython && \
# PUDB, for local debugging convenience
pip install pudb && \
pip install imbalanced-learn && \
# Convex Optimization library
# Latest version fails to install, see https://github.com/cvxopt/cvxopt/issues/77
# and https://github.com/cvxopt/cvxopt/issues/80
# pip install cvxopt && \
# Profiling and other utilities
pip install line_profiler && \
pip install orderedmultidict && \
pip install smhasher && \
pip install bokeh && \
pip install numba && \
pip install datashader && \
# Boruta (python implementation)
pip install Boruta && \
apt-get install -y graphviz && pip install graphviz && \
# Pandoc is a dependency of deap
apt-get install -y pandoc && \
pip install git+git://github.com/scikit-learn-contrib/py-earth.git@issue191 && \
pip install essentia && \
/tmp/clean-layer.sh
# vtk with dependencies
RUN apt-get install -y libgl1-mesa-glx && \
pip install vtk && \
# xvfbwrapper with dependencies
apt-get install -y xvfb && \
pip install xvfbwrapper && \
/tmp/clean-layer.sh
RUN pip install mpld3 && \
pip install mplleaflet && \
pip install gpxpy && \
pip install arrow && \
pip install nilearn && \
pip install nibabel && \
pip install pronouncing && \
pip install markovify && \
pip install imgaug && \
pip install preprocessing && \
pip install Baker && \
pip install path.py && \
pip install Geohash && \
# https://github.com/vinsci/geohash/issues/4
sed -i -- 's/geohash/.geohash/g' /opt/conda/lib/python3.7/site-packages/Geohash/__init__.py && \
pip install deap && \
pip install tpot && \
pip install scikit-optimize && \
pip install haversine && \
pip install toolz cytoolz && \
pip install sacred && \
pip install plotly && \
pip install hyperopt && \
pip install fitter && \
pip install langid && \
# Delorean. Useful for dealing with datetime
pip install delorean && \
pip install trueskill && \
pip install heamy && \
# Useful data exploration libraries (for missing data and generating reports)
pip install missingno && \
pip install pandas-profiling && \
pip install s2sphere && \
pip install git+https://github.com/fmfn/BayesianOptimization.git && \
pip install matplotlib-venn && \
pip install pyldavis && \
pip install mlxtend && \
pip install altair && \
pip install pystan && \
pip install ImageHash && \
pip install ecos && \
pip install CVXcanon && \
pip install fancyimpute && \
pip install pymc3 && \
pip install tifffile && \
pip install spectral && \
pip install descartes && \
pip install geojson && \
pip install terminalplot && \
pip install pydicom && \
pip install wavio && \
pip install SimpleITK && \
pip install hmmlearn && \
pip install bayespy && \
pip install gplearn && \
pip install PyAstronomy && \
pip install squarify && \
pip install fuzzywuzzy && \
pip install python-louvain && \
pip install pyexcel-ods && \
pip install sklearn-pandas && \
pip install stemming && \
# b/148383434 remove pip install for holidays once fbprophet is compatible with latest version of holidays.
pip install holidays==0.9.12 && \
pip install fbprophet && \
pip install holoviews && \
# 1.6.2 is not currently supported by the version of matplotlib we are using.
# See other comments about why matplotlib is pinned.
pip install geoviews==1.6.1 && \
pip install hypertools && \
pip install py_stringsimjoin && \
pip install nibabel && \
pip install mlens && \
pip install scikit-multilearn && \
pip install cleverhans && \
pip install leven && \
pip install catboost && \
# fastFM doesn't support Python 3.7 yet: https://github.com/ibayer/fastFM/issues/151
# pip install fastFM && \
pip install lightfm && \
pip install folium && \
pip install scikit-plot && \
# dipy requires the optional fury dependency for visualizations.
pip install fury dipy && \
# plotnine 0.5 is depending on matplotlib >= 3.0 which is not compatible with basemap.
# once basemap support matplotlib, we can unpin this package.
pip install plotnine==0.4.0 && \
pip install scikit-surprise && \
pip install pymongo && \
pip install geoplot && \
pip install eli5 && \
pip install implicit && \
pip install dask-ml[xgboost] && \
/tmp/clean-layer.sh
RUN pip install kmeans-smote --no-dependencies && \
# Add google PAIR-code Facets
cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \
export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \
pip install tensorpack && \
pip install pycountry && pip install iso3166 && \
pip install pydash && \
pip install kmodes --no-dependencies && \
pip install librosa && \
pip install polyglot && \
pip install mmh3 && \
pip install fbpca && \
pip install sentencepiece && \
pip install cufflinks && \
pip install lime && \
pip install memory_profiler && \
/tmp/clean-layer.sh
# install cython & cysignals before pyfasttext
RUN pip install --upgrade cython && \
pip install --upgrade cysignals && \
pip install pyfasttext && \
# ktext has an explicit dependency on Keras 2.2.4 which is not
# compatible with TensorFlow 2.0 (support was added in Keras 2.3.0).
# Add the package back once it is fixed upstream.
# pip install ktext && \
pip install fasttext && \
apt-get install -y libhunspell-dev && pip install hunspell && \
pip install annoy && \
# Need to use CountEncoder from category_encoders before it's officially released
pip install git+https://github.com/scikit-learn-contrib/categorical-encoding.git && \
pip install google-cloud-automl && \
# Newer version crashes (latest = 1.14.0) when running tensorflow.
# python -c "from google.cloud import bigquery; import tensorflow". This flow is common because bigquery is imported in kaggle_gcp.py
# which is loaded at startup.
pip install google-cloud-bigquery==1.12.1 && \
pip install google-cloud-storage && \
pip install ortools && \
pip install scattertext && \
# Pandas data reader
pip install pandas-datareader && \
pip install wordsegment && \
pip install pyahocorasick && \
pip install wordbatch && \
pip install emoji && \
# Add Japanese morphological analysis engine
pip install janome && \
pip install wfdb && \
pip install vecstack && \
# Doesn't support Python 3.7 yet. Last release on pypi is from 2017.
# Add back once this PR is released: https://github.com/scikit-learn-contrib/lightning/pull/133
# pip install sklearn-contrib-lightning && \
# yellowbrick machine learning visualization library
pip install yellowbrick && \
pip install mlcrate && \
/tmp/clean-layer.sh
RUN pip install bcolz && \
pip install bleach && \
pip install certifi && \
pip install cycler && \
pip install decorator && \
pip install entrypoints && \
pip install html5lib && \
# Latest version breaks nbconvert: https://github.com/ipython/ipykernel/issues/422
pip install ipykernel==5.1.1 && \
pip install ipython && \
pip install ipython-genutils && \
pip install ipywidgets && \
pip install isoweek && \
pip install jedi && \
pip install Jinja2 && \
pip install jsonschema && \
pip install jupyter && \
pip install jupyter-client && \
pip install jupyter-console && \
pip install jupyter-core && \
pip install MarkupSafe && \
pip install mistune && \
pip install nbconvert && \
pip install nbformat && \
pip install notebook==5.5.0 && \
pip install olefile && \
pip install opencv-python && \
pip install pandas_summary && \
pip install pandocfilters && \
pip install pexpect && \
pip install pickleshare && \
pip install Pillow && \
# Install openslide and its python binding
apt-get install -y openslide-tools && \
# b/152402322 install latest from pip once is in: https://github.com/openslide/openslide-python/pull/76
pip install git+git://github.com/rosbo/openslide-python.git@fix-setup && \
pip install ptyprocess && \
pip install Pygments && \
pip install pyparsing && \
pip install pytz && \
pip install PyYAML && \
pip install pyzmq && \
pip install qtconsole && \
pip install six && \
pip install terminado && \
# Latest version (6.0) of tornado breaks Jupyter notebook:
# https://github.com/jupyter/notebook/issues/4439
pip install tornado==5.0.2 && \
pip install tqdm && \
pip install traitlets && \
pip install wcwidth && \
pip install webencodings && \
pip install widgetsnbextension && \
pip install pyarrow && \
pip install feather-format && \
pip install fastai && \
pip install torchtext && \
pip install allennlp && \
# b/149359379 remove once allennlp 1.0 is released which won't cause a spacy downgrade.
pip install spacy==2.2.3 && python -m spacy download en && python -m spacy download en_core_web_lg && \
/tmp/clean-layer.sh
###########
#
# NEW CONTRIBUTORS:
# Please add new pip/apt installs in this block. Don't forget a "&& \" at the end
# of all non-final lines. Thanks!
#
###########
RUN pip install flashtext && \
pip install wandb && \
pip install marisa-trie && \
pip install pyemd && \
pip install pyupset && \
pip install pympler && \
pip install s3fs && \
pip install featuretools && \
pip install -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper && \
pip install hpsklearn && \
pip install git+https://github.com/Kaggle/learntools && \
pip install kmapper && \
pip install shap && \
pip install ray && \
pip install gym && \
pip install tensorforce && \
pip install pyarabic && \
pip install conx && \
pip install pandasql && \
pip install tensorflow_hub && \
pip install jieba && \
pip install git+https://github.com/SauceCat/PDPbox && \
pip install ggplot && \
pip install cesium && \
pip install rgf_python && \
# b/145404107: latest version force specific version of numpy and torch.
pip install pytext-nlp==0.1.2 && \
pip install tsfresh && \
pip install pykalman && \
pip install optuna && \
pip install chainercv && \
pip install chainer-chemistry && \
pip install plotly_express && \
pip install albumentations && \
pip install catalyst && \
# b/145133331: latest version is causing issue with gcloud.
pip install rtree==0.8.3 && \
# b/145133331 osmnx 0.11 requires rtree >= 0.9 which is causing issue with gcloud.
pip install osmnx==0.10 && \
apt-get -y install libspatialindex-dev && \
pip install pytorch-ignite && \
pip install qgrid && \
pip install bqplot && \
pip install earthengine-api && \
pip install transformers && \
pip install dlib && \
pip install kaggle-environments && \
# b/149905611 The geopandas tests are broken with the version 0.7.0
pip install geopandas==0.6.3 && \
pip install nnabla && \
pip install vowpalwabbit && \
/tmp/clean-layer.sh
# Tesseract and some associated utility packages
RUN apt-get install tesseract-ocr -y && \
pip install pytesseract && \
pip install wand==0.5.3 && \
pip install pdf2image && \
pip install PyPDF && \
pip install pyocr && \
/tmp/clean-layer.sh
ENV TESSERACT_PATH=/usr/bin/tesseract
# For Facets
ENV PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/
# For Theano with MKL
ENV MKL_THREADING_LAYER=GNU
# Temporary fixes and patches
# Temporary patch for Dask getting downgraded, which breaks Keras
RUN pip install --upgrade dask && \
# Stop jupyter nbconvert trying to rewrite its folder hierarchy
mkdir -p /root/.jupyter && touch /root/.jupyter/jupyter_nbconvert_config.py && touch /root/.jupyter/migrated && \
mkdir -p /.jupyter && touch /.jupyter/jupyter_nbconvert_config.py && touch /.jupyter/migrated && \
# Stop Matplotlib printing junk to the console on first load
sed -i "s/^.*Matplotlib is building the font cache using fc-list.*$/# Warning removed by Kaggle/g" /opt/conda/lib/python3.7/site-packages/matplotlib/font_manager.py && \
# Make matplotlib output in Jupyter notebooks display correctly
mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \
/tmp/clean-layer.sh
# gcloud SDK https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" \
| tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \
apt-get update -y && apt-get install google-cloud-sdk -y && \
/tmp/clean-layer.sh
# Add BigQuery client proxy settings
ENV PYTHONUSERBASE "/root/.local"
ADD patches/kaggle_gcp.py /root/.local/lib/python3.7/site-packages/kaggle_gcp.py
ADD patches/kaggle_secrets.py /root/.local/lib/python3.7/site-packages/kaggle_secrets.py
ADD patches/kaggle_web_client.py /root/.local/lib/python3.7/site-packages/kaggle_web_client.py
ADD patches/kaggle_datasets.py /root/.local/lib/python3.7/site-packages/kaggle_datasets.py
ADD patches/log.py /root/.local/lib/python3.7/site-packages/log.py
ADD patches/sitecustomize.py /root/.local/lib/python3.7/site-packages/sitecustomize.py
# Override default imagemagick policies
ADD patches/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
# TensorBoard Jupyter extension. Should be replaced with TensorBoard's provided magic once we have
# worker tunneling support in place.
# b/139212522 re-enable TensorBoard once solution for slowdown is implemented.
# ENV JUPYTER_CONFIG_DIR "/root/.jupyter/"
# RUN pip install jupyter_tensorboard && \
# jupyter serverextension enable jupyter_tensorboard && \
# jupyter tensorboard enable
# ADD patches/tensorboard/notebook.py /opt/conda/lib/python3.7/site-packages/tensorboard/notebook.py
# Set backend for matplotlib
ENV MPLBACKEND "agg"
# We need to redefine TENSORFLOW_VERSION here to get the default ARG value defined above the FROM instruction.
# See: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
ARG TENSORFLOW_VERSION
ARG GIT_COMMIT=unknown
ARG BUILD_DATE=unknown
LABEL git-commit=$GIT_COMMIT
LABEL build-date=$BUILD_DATE
LABEL tensorflow-version=$TENSORFLOW_VERSION
# Used in the Jenkins `Docker GPU Build` step to restrict the images being pruned.
LABEL kaggle-lang=python
# Correlate current release with the git hash inside the kernel editor by running `!cat /etc/git_commit`.
RUN echo "$GIT_COMMIT" > /etc/git_commit && echo "$BUILD_DATE" > /etc/build_date
| null | maintenance/other |
338 | 9fa96e9d0b5fc52a8fd49356064c560025e1bb11 | remove ADD statement adding a fixed tnsnames.ora | remove ADD statement adding a fixed tnsnames.ora
| FROM fabrizzio/docker-php:latest
MAINTAINER Dieter Provoost <[email protected]>
# Oracle instantclient
ADD oracle/instantclient-basic-linux.x64-11.2.0.4.0.zip /tmp/instantclient-basic-linux.x64-11.2.0.4.0.zip
ADD oracle/instantclient-sdk-linux.x64-11.2.0.4.0.zip /tmp/instantclient-sdk-linux.x64-11.2.0.4.0.zip
ADD oracle/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip /tmp/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip
RUN apt-get install -y unzip
RUN unzip /tmp/instantclient-basic-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sdk-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN ln -s /usr/local/instantclient_11_2 /usr/local/instantclient
RUN ln -s /usr/local/instantclient/libclntsh.so.11.1 /usr/local/instantclient/libclntsh.so
RUN ln -s /usr/local/instantclient/sqlplus /usr/bin/sqlplus
RUN apt-get install libaio-dev -y
RUN echo 'instantclient,/usr/local/instantclient' | pecl install oci8
ADD oracle/tnsnames.ora /etc/tnsnames.ora
ADD php/oci8.ini /etc/php5/cli/conf.d/30-oci8.ini
RUN apt-get clean -y
| FROM fabrizzio/docker-php:latest
MAINTAINER Dieter Provoost <[email protected]>
# Oracle instantclient
ADD oracle/instantclient-basic-linux.x64-11.2.0.4.0.zip /tmp/instantclient-basic-linux.x64-11.2.0.4.0.zip
ADD oracle/instantclient-sdk-linux.x64-11.2.0.4.0.zip /tmp/instantclient-sdk-linux.x64-11.2.0.4.0.zip
ADD oracle/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip /tmp/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip
RUN apt-get install -y unzip
RUN unzip /tmp/instantclient-basic-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sdk-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sqlplus-linux.x64-11.2.0.4.0.zip -d /usr/local/
RUN ln -s /usr/local/instantclient_11_2 /usr/local/instantclient
RUN ln -s /usr/local/instantclient/libclntsh.so.11.1 /usr/local/instantclient/libclntsh.so
RUN ln -s /usr/local/instantclient/sqlplus /usr/bin/sqlplus
RUN apt-get install libaio-dev -y
RUN echo 'instantclient,/usr/local/instantclient' | pecl install oci8
ADD php/oci8.ini /etc/php5/cli/conf.d/30-oci8.ini
RUN apt-get clean -y
| maintenance/other |
2219 | 0248a6d38985b3648d9add34190d66c9f1071032 | Bumped source to 20201026-7fc9518 | Bumped source to 20201026-7fc9518
| FROM docker.pkg.github.com/dock0/arch/arch:20201026-758e489
MAINTAINER akerl <[email protected]>
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 | maintenance/other |
2244 | 4ef6f70df85a1d477f0a2031d19587d3ed90b9da | Bumped source to 20200429-324843c | Bumped source to 20200429-324843c
| FROM docker.pkg.github.com/dock0/arch/arch:20200429-730c977
MAINTAINER akerl <[email protected]>
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 |
2213 | 7272571e69f7cdbe4d775856736c4e3acad9ae8e | Bumped source to 20201228-749f4f7 | Bumped source to 20201228-749f4f7
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201228-772318f
MAINTAINER akerl <[email protected]>
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 | code refactoring |
256 | 133a8afa9f4b31c7692959c4650249ab969c10fe | python-nginx: Run upgrades after update | python-nginx: Run upgrades after update
| # nginx
#
# (See README.md for instructions)
FROM debian:jessie
MAINTAINER Andrey Petrov "[email protected]"
RUN apt-get update
RUN apt-get install -y \
ca-certificates \
nginx \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY conf.d/* /etc/nginx/conf.d/
EXPOSE 80 443
VOLUME ["/var/cache/nginx", "/var/www", "/etc/nginx/certs", "/etc/nginx/sites-enabled"]
CMD ["nginx", "-g", "daemon off;"]
| # nginx
#
# (See README.md for instructions)
FROM debian:jessie
MAINTAINER Andrey Petrov "[email protected]"
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
ca-certificates \
nginx \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY conf.d/* /etc/nginx/conf.d/
EXPOSE 80 443
VOLUME ["/var/cache/nginx", "/var/www", "/etc/nginx/certs", "/etc/nginx/sites-enabled"]
CMD ["nginx", "-g", "daemon off;"]
| bug fix |
2311 | ffafb7c25b749b72940469b9be8ad3737ff34399 | Update Dockerfile | Update Dockerfile
removed an update too much | FROM ubuntu
# Bro 2.4beta
MAINTAINER Daniel Guerra <[email protected]>
#prequisits
RUN apt-get update && DEBIAN_FRONTEND=noninteractive
#RUN apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libclick-0.4-dev ocl-icd-opencl-dev libboost-dev doxygen git libcurl4-gnutls-dev libgoogle-perftools-dev libgeoip-dev geoip-database rsync openssh-server pwgen cmake make gcc g++ flex bison libpcap-dev libssl-dev python-dev swig zlib1g-dev
#prequisits from source
#actor framework caf to enable broker
WORKDIR /tmp
RUN git clone --recursive https://github.com/actor-framework/actor-framework.git
WORKDIR /tmp/actor-framework
RUN ./configure
RUN make
RUN make install
# ipsumdump
WORKDIR /tmp
RUN git clone —recursive https://github.com/kohler/ipsumdump.git
WORKDIR /tmp/ipsumdump
RUN ./configure
RUN make
RUN make install
#rocksdb
WORKDIR /tmp
RUN git clone --recursive https://github.com/facebook/rocksdb.git
WORKDIR /tmp/rocksdb
RUN make
RUN make install
#bro 2.4beta
WORKDIR /tmp
RUN wget https://www.bro.org/downloads/beta/bro-2.4-beta.tar.gz
RUN tar xvf bro-2.4-beta.tar.gz
WORKDIR /tmp/bro-2.4-beta
RUN ./configure --enable-broker
RUN make
RUN make install
WORKDIR /tmp/bro-2.4-beta/aux/plugins/elasticsearch
RUN ./configure
RUN make
RUN make install
#clean the dev packages
RUN apt-get -y remove ocl-icd-opencl-dev libboost-dev libcurl4-gnutls-dev libgeoip-dev cmake make gcc g++ flex bison libssl-dev python-dev swig zlib1g-dev
RUN apt-get -y autoremove
#cleanup apt & build action
WORKDIR /tmp
RUN rm -rf *
WORKDIR /var/cache/apt
RUN rm -rf *
WORKDIR /var/log
RUN rm -rf *
#prepare ssh dir use -v my-ssh:/root/.ssh
WORKDIR /root
RUN mkdir .ssh
RUN chown 700 .ssh
#set sshd config
RUN mkdir -p /var/run/sshd && sed -i "s/UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g" /etc/ssh/sshd_config && sed -i "s/UsePAM.*/UsePAM no/g" /etc/ssh/sshd_config && sed -i "s/PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_config && sed -i "s/#AuthorizedKeysFile/AuthorizedKeysFile/g" /etc/ssh/sshd_config
EXPOSE 22
EXPOSE 47761
EXPOSE 47762
#start sshd
CMD [“exec”,“/usr/sbin/sshd”,“-D”]
| null | bug fix |
364 | dc142718a7b8ee190e3bb4cfd302c0e127e55266 | fix adduser home directory configuration | fix adduser home directory configuration
| FROM ubuntu:trusty
MAINTAINER Jack Liu [email protected]
# setup environment
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list
# setup keys
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
# update the repository
RUN apt-get update
# install ros packages
ENV ROS_DISTRO indigo
RUN apt-get install -y ros-indigo-desktop-full=1.1.4-0*
# rosdep init
RUN rosdep init
# enables you to easily download many source trees for ROS packages with one command
RUN apt-get install -y python-rosinstall
# install additional system packages and ros packages
# update gazebo2.2 to gazebo2.2.5
RUN echo "deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main" > /etc/apt/sources.list.d/gazebo-latest.list
RUN curl http://packages.osrfoundation.org/gazebo.key |apt-key add -
RUN apt-get update && apt-get upgrade -y gazebo2
# install essential tools
RUN apt-get install -y bash-completion wget vim git terminator
# install additional build tool
RUN apt-get install -y build-essential gdb
# install IDE
RUN apt-get install -y mesa-common-dev libglu1-mesa-dev libfontconfig1
RUN apt-get install -y qt5-default qtcreator
# download gazebo models
RUN mkdir -p /ros-data/gazebo && cd /ros-data/gazebo
RUN hg clone https://bitbucket.org/osrf/gazebo_models
RUN chmod -R a+rwx /ros-data/gazebo && cd -
# link to root user home directory
RUN mkdir -p /root/.gazebo/ && ln -s /ros-data/gazebo/gazebo_models /root/.gazebo/models
# install ros related components
RUN apt-get install -y ros-indigo-moveit-full \
ros-indigo-gazebo-ros-control ros-indigo-effort-controllers \
ros-indigo-joint-state-controller ros-indigo-joint-trajectory-controller \
ros-indigo-ros-controllers ros-indigo-ur-description
# install ssh
RUN apt-get install -y supervisor openssh-server sudo
RUN mkdir -p /var/run/sshd
RUN echo "ForwardX11Trusted yes" >> /etc/ssh/ssh_config
# copy supervisord.conf file
COPY ./supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# copy entrypoint file
COPY ./ros_entrypoint.sh /
# apt-get autoclean
RUN apt-get autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# set user ros and sudo
RUN adduser --gecos "ROS User" -d /home/ros --disabled-password ros
RUN usermod -a -G dialout ros
RUN echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget
# use user ros
USER ros
# setup ros env
RUN export HOME=/home/ros && rosdep update
RUN echo "export QT_X11_NO_MITSHM=1" >> /home/ros/.bashrc
RUN echo "export HOME=/home/ros" >> /home/ros/.bashrc
RUN echo "source "/opt/ros/$ROS_DISTRO/setup.bash" >> /home/ros/.bashrc
# link to root user home directory
RUN mkdir -p /home/ros/.gazebo/ && sudo ln -s /ros-data/gazebo/gazebo_models /home/ros/.gazebo/models
RUN sudo chmod -R a+rwx /ros-data/gazebo/gazebo_models
CMD ["bash"]
ENTRYPOINT ["/ros_entrypoint.sh"]
| FROM ubuntu:trusty
MAINTAINER Jack Liu [email protected]
# setup environment
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list
# setup keys
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
# update the repository
RUN apt-get update
# install ros packages
ENV ROS_DISTRO indigo
RUN apt-get install -y ros-indigo-desktop-full=1.1.4-0*
# rosdep init
RUN rosdep init
# enables you to easily download many source trees for ROS packages with one command
RUN apt-get install -y python-rosinstall
# install additional system packages and ros packages
# update gazebo2.2 to gazebo2.2.5
RUN echo "deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main" > /etc/apt/sources.list.d/gazebo-latest.list
RUN curl http://packages.osrfoundation.org/gazebo.key |apt-key add -
RUN apt-get update && apt-get upgrade -y gazebo2
# install essential tools
RUN apt-get install -y bash-completion wget vim git terminator
# install additional build tool
RUN apt-get install -y build-essential gdb
# install IDE
RUN apt-get install -y mesa-common-dev libglu1-mesa-dev libfontconfig1
RUN apt-get install -y qt5-default qtcreator
# download gazebo models
RUN mkdir -p /ros-data/gazebo && cd /ros-data/gazebo
RUN hg clone https://bitbucket.org/osrf/gazebo_models
RUN chmod -R a+rwx /ros-data/gazebo && cd -
# link to root user home directory
RUN mkdir -p /root/.gazebo/ && ln -s /ros-data/gazebo/gazebo_models /root/.gazebo/models
# install ros related components
RUN apt-get install -y ros-indigo-moveit-full \
ros-indigo-gazebo-ros-control ros-indigo-effort-controllers \
ros-indigo-joint-state-controller ros-indigo-joint-trajectory-controller \
ros-indigo-ros-controllers ros-indigo-ur-description
# install ssh
RUN apt-get install -y supervisor openssh-server sudo
RUN mkdir -p /var/run/sshd
RUN echo "ForwardX11Trusted yes" >> /etc/ssh/ssh_config
# copy supervisord.conf file
COPY ./supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# copy entrypoint file
COPY ./ros_entrypoint.sh /
# apt-get autoclean
RUN apt-get autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# set user ros and sudo
RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros
RUN usermod -a -G dialout ros
RUN echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget
# use user ros
USER ros
# setup ros env
RUN export HOME=/home/ros && rosdep update
RUN echo "export QT_X11_NO_MITSHM=1" >> /home/ros/.bashrc
RUN echo "export HOME=/home/ros" >> /home/ros/.bashrc
RUN echo "source "/opt/ros/$ROS_DISTRO/setup.bash" >> /home/ros/.bashrc
# link to root user home directory
RUN mkdir -p /home/ros/.gazebo/ && sudo ln -s /ros-data/gazebo/gazebo_models /home/ros/.gazebo/models
RUN sudo chmod -R a+rwx /ros-data/gazebo/gazebo_models
CMD ["bash"]
ENTRYPOINT ["/ros_entrypoint.sh"]
| maintenance/other |
352 | 1e7b06065d00930a5a8ce6f8e8838429a34856c5 | Fix: Moved ubuntu:trusty image download to Jenkins config | Fix: Moved ubuntu:trusty image download to Jenkins config
| FROM cgeoffroy/dockernet
ENV SON_EMU_IN_DOCKER 1
# ensure that we have the latest dockernet code base!
WORKDIR /
RUN rm -rf dockernet
RUN git clone -b dockernet-sonata https://github.com/mpeuster/dockernet.git
WORKDIR /dockernet
RUN python setup.py develop
WORKDIR /son-emu
COPY . /son-emu/
# ensure that we have the right docker image for tests available
RUN docker run --rm ubuntu:trusty
RUN cd /son-emu/ansible \
&& ansible-playbook install.yml \
&& cd /son-emu \
&& python setup.py install \
&& echo 'Done'
ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"]
| FROM cgeoffroy/dockernet
ENV SON_EMU_IN_DOCKER 1
# ensure that we have the latest dockernet code base!
WORKDIR /
RUN rm -rf dockernet
RUN git clone -b dockernet-sonata https://github.com/mpeuster/dockernet.git
WORKDIR /dockernet
RUN python setup.py develop
WORKDIR /son-emu
COPY . /son-emu/
RUN cd /son-emu/ansible \
&& ansible-playbook install.yml \
&& cd /son-emu \
&& python setup.py install \
&& echo 'Done'
ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"]
| code refactoring |
271 | f37d0591f0ca7f72124dd4abb3814f1eb21e6360 | Bumped source to 20200218-9526737 | Bumped source to 20200218-9526737
| FROM docker.pkg.github.com/dock0/arch/arch:20200218-c0fa6f8
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20200218-9526737
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
287 | 3daed0466a092a5ce04924588b5ee976aebd175c | Bump alpine from 3.12.2 to 3.12.3 in /dockerfiles-builder | Bump alpine from 3.12.2 to 3.12.3 in /dockerfiles-builder
Bumps alpine from 3.12.2 to 3.12.3.
Signed-off-by: dependabot[bot] <[email protected]> | FROM hairyhenderson/gomplate:v3.8.0-slim AS gomplate
FROM hairyhenderson/bashbrew:latest AS bashbrew
FROM docker:20.10.1 AS docker
FROM mikefarah/yq:3.4.1 AS yq
FROM alpine:3.12.2 AS runtime
LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles
RUN apk add --no-cache make bash git curl ca-certificates
COPY --from=gomplate /gomplate /bin/gomplate
COPY --from=bashbrew /bin/bashbrew /bin/bashbrew
COPY --from=docker /usr/local/bin/docker /bin/docker
COPY --from=yq /usr/bin/yq /usr/bin/yq
RUN ln -fs /bin/bash /bin/sh
| FROM hairyhenderson/gomplate:v3.8.0-slim AS gomplate
FROM hairyhenderson/bashbrew:latest AS bashbrew
FROM docker:20.10.1 AS docker
FROM mikefarah/yq:3.4.1 AS yq
FROM alpine:3.12.3 AS runtime
LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles
RUN apk add --no-cache make bash git curl ca-certificates
COPY --from=gomplate /gomplate /bin/gomplate
COPY --from=bashbrew /bin/bashbrew /bin/bashbrew
COPY --from=docker /usr/local/bin/docker /bin/docker
COPY --from=yq /usr/bin/yq /usr/bin/yq
RUN ln -fs /bin/bash /bin/sh
| maintenance/other |
2323 | 7633546429f970d49c5925f1b048de48fb7bdff0 | Bumped source to 20210320-6411eab | Bumped source to 20210320-6411eab
| FROM docker.pkg.github.com/dock0/service/service:20210320-162d60a
MAINTAINER akerl <[email protected]>
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"
| null | maintenance/other |
263 | 9e569c83fd152656479790a1bc4a012091bb7549 | Bumped source to 20200930-c8ab90a | Bumped source to 20200930-c8ab90a
| FROM docker.pkg.github.com/dock0/arch/arch:20200930-68d49d0
MAINTAINER akerl <[email protected]>
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:20200930-c8ab90a
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| bug fix |
2083 | 139180814980d785bd9f297051e091f47bb1b67e | Bump Dockerfile to 0.6.2-375-0bd96df7 | Bump Dockerfile to 0.6.2-375-0bd96df7
| FROM stellar/base:latest
MAINTAINER Mat Schaffer <[email protected]>
ENV STELLAR_CORE_VERSION 0.6.2-374-c43ad535
EXPOSE 11625
EXPOSE 11626
VOLUME /data
VOLUME /postgresql-unix-sockets
VOLUME /heka
ADD install /
RUN /install
ADD heka /heka
ADD confd /etc/confd
ADD utils /utils
ADD start /
CMD ["/start"]
| null | maintenance/other |
122 | 742d2943c134cd2f7f2976a008c0d38eb213471b | [php5-fpm] Dockerfile CMD fix | [php5-fpm] Dockerfile CMD fix
| FROM cravler/php5-cli
MAINTAINER Sergei Vizel <http://github.com/cravler>
# Common environment variables
ENV CONF_DIR_PHP5_FPM /etc/php5/fpm
# All our dependencies, in alphabetical order (to ease maintenance)
RUN apt-get update && apt-get install -y --no-install-recommends \
php5-fpm && \
# Remove cache
apt-get clean && rm -rf /var/lib/apt/lists/* && \
# Find config files and edit
find "$CONF_DIR_PHP5_FPM" -type f -exec sed -ri ' \
s|(error_log\s+=).*|\1 /proc/self/fd/2|g; \
s|\S*(daemonize\s+=).*|\1 no|g; \
' '{}' ';'
ADD php5-fpm-set-env.sh /.cravler/php5-fpm-set-env.sh
ADD php5-fpm-config.sh /.cravler/php5-fpm-config.sh
ADD docker-entrypoint.sh /.cravler/entrypoint.sh
EXPOSE 9000
CMD php5-fpm -R | FROM cravler/php5-cli
MAINTAINER Sergei Vizel <http://github.com/cravler>
# Common environment variables
ENV CONF_DIR_PHP5_FPM /etc/php5/fpm
# All our dependencies, in alphabetical order (to ease maintenance)
RUN apt-get update && apt-get install -y --no-install-recommends \
php5-fpm && \
# Remove cache
apt-get clean && rm -rf /var/lib/apt/lists/* && \
# Find config files and edit
find "$CONF_DIR_PHP5_FPM" -type f -exec sed -ri ' \
s|(error_log\s+=).*|\1 /proc/self/fd/2|g; \
s|\S*(daemonize\s+=).*|\1 no|g; \
' '{}' ';'
ADD php5-fpm-set-env.sh /.cravler/php5-fpm-set-env.sh
ADD php5-fpm-config.sh /.cravler/php5-fpm-config.sh
ADD docker-entrypoint.sh /.cravler/entrypoint.sh
EXPOSE 9000
CMD ["php5-fpm", "-R"] | code refactoring |
37 | 622d4c7472b7e952af30b7bab15bed8971cd0c74 | Bumped source to 20200408-4392a9c | Bumped source to 20200408-4392a9c
| FROM docker.pkg.github.com/dock0/arch/arch:20200408-c9c0516
MAINTAINER akerl <[email protected]>
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:20200408-4392a9c
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| feature addition |
55 | 874e4ab883346e599e83e5b35679c8573cc614f0 | update gosu to version 1.10 | update gosu to version 1.10
| FROM datagovsg/python-spark:2.7-1.6
MAINTAINER Chris Sng <[email protected]>
# Setup airflow
RUN pip install --no-cache-dir airflow==1.8.0 psycopg2
ENV AIRFLOW_HOME /airflow
WORKDIR ${AIRFLOW_HOME}
# Setup airflow dags path
ENV AIRFLOW_DAG ${AIRFLOW_HOME}/dags
RUN mkdir -p ${AIRFLOW_DAG}
# Install gosu
ENV GOSU_VERSION 1.7
RUN set -x \
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu \
&& gosu nobody true \
&& apt-get -y autoremove
ENV USER afpuser
ENV GROUP hadoop
RUN groupadd -r "${GROUP}" && useradd -rmg "${GROUP}" "${USER}"
# Number of times the Airflow scheduler will run before it terminates (and restarts)
ENV SCHEDULER_RUNS=5
# parallelism = number of physical python processes the scheduler can run
ENV AIRFLOW_PARALLELISM=8
# dag_concurrency = the number of TIs to be allowed to run PER-dag at once
ENV AIRFLOW_DAG_CONCURRENCY=6
# Airflow uses postgres as its database, following are the examples env vars
ENV POSTGRES_HOST=localhost
ENV POSTGRES_PORT=5999
ENV POSTGRES_USER=fixme
ENV POSTGRES_PASSWORD=fixme
ENV POSTGRES_DB=airflow
# Example HDFS drop point which PySpark can use to access its datasets
ENV PIPELINE_DATA_PATH=hdfs://dsg-cluster-node01:8020/datasets/"${GROUP}"
WORKDIR ${AIRFLOW_HOME}
# Setup pipeline dependencies
COPY requirements.txt ${AIRFLOW_HOME}/requirements.txt
RUN pip install -r "${AIRFLOW_HOME}/requirements.txt"
VOLUME ${AIRFLOW_HOME}/logs
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
COPY hadoop/conf/ ${HADOOP_CONF_DIR}/
COPY dags/ ${AIRFLOW_DAG}
COPY setup_auth.py ${AIRFLOW_HOME}/setup_auth.py
COPY install_spark_packages.py ${AIRFLOW_HOME}/install_spark_packages.py
RUN gosu "${USER}" python install_spark_packages.py
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
| FROM datagovsg/python-spark:2.7-1.6
MAINTAINER Chris Sng <[email protected]>
# Setup airflow
RUN pip install --no-cache-dir airflow==1.8.0 psycopg2
ENV AIRFLOW_HOME /airflow
WORKDIR ${AIRFLOW_HOME}
# Setup airflow dags path
ENV AIRFLOW_DAG ${AIRFLOW_HOME}/dags
RUN mkdir -p ${AIRFLOW_DAG}
# Install gosu
ENV GOSU_VERSION 1.10
RUN set -x \
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu \
&& gosu nobody true \
&& apt-get -y autoremove
ENV USER afpuser
ENV GROUP hadoop
RUN groupadd -r "${GROUP}" && useradd -rmg "${GROUP}" "${USER}"
# Number of times the Airflow scheduler will run before it terminates (and restarts)
ENV SCHEDULER_RUNS=5
# parallelism = number of physical python processes the scheduler can run
ENV AIRFLOW_PARALLELISM=8
# dag_concurrency = the number of TIs to be allowed to run PER-dag at once
ENV AIRFLOW_DAG_CONCURRENCY=6
# Airflow uses postgres as its database, following are the examples env vars
ENV POSTGRES_HOST=localhost
ENV POSTGRES_PORT=5999
ENV POSTGRES_USER=fixme
ENV POSTGRES_PASSWORD=fixme
ENV POSTGRES_DB=airflow
# Example HDFS drop point which PySpark can use to access its datasets
ENV PIPELINE_DATA_PATH=hdfs://dsg-cluster-node01:8020/datasets/"${GROUP}"
WORKDIR ${AIRFLOW_HOME}
# Setup pipeline dependencies
COPY requirements.txt ${AIRFLOW_HOME}/requirements.txt
RUN pip install -r "${AIRFLOW_HOME}/requirements.txt"
VOLUME ${AIRFLOW_HOME}/logs
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
COPY hadoop/conf/ ${HADOOP_CONF_DIR}/
COPY dags/ ${AIRFLOW_DAG}
COPY setup_auth.py ${AIRFLOW_HOME}/setup_auth.py
COPY install_spark_packages.py ${AIRFLOW_HOME}/install_spark_packages.py
RUN gosu "${USER}" python install_spark_packages.py
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
| maintenance/other |
245 | 2cf48478174b138d18a44a9ec777173342c71528 | Add Docker File to include NodeJS | Add Docker File to include NodeJS
| FROM ubuntu
RUN apt-get update
RUN apt-get install -y build-essential python3 python3-pip haskell-platform curl
RUN curl -sSL https://get.haskellstack.org/ | sh
ENV PATH="/root/.local/bin:${PATH}"
RUN stack setup
RUN cabal update
WORKDIR /testenv
COPY . /testenv
CMD ["make", "script_test"]
| FROM ubuntu
RUN apt-get update
RUN apt-get install -y \
build-essential \
python3 \
python3-pip \
haskell-platform \
curl \
nodejs
RUN curl -sSL https://get.haskellstack.org/ | sh
ENV PATH="/root/.local/bin:${PATH}"
RUN stack setup
RUN cabal update
WORKDIR /testenv
COPY . /testenv
CMD ["make", "script_test"]
| code refactoring |
23 | 47b6dd1ec4fb18078f91bf36bbafc2bf55863fbc | Bumped source to 20201219-dae2feb | Bumped source to 20201219-dae2feb
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201219-b59f33b
MAINTAINER akerl <[email protected]>
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:20201219-dae2feb
MAINTAINER akerl <[email protected]>
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'
| code refactoring |
6 | 0239ef660c899e25bd2745fb887b82d8234dd043 | Update R version | Update R version
| FROM r-base:3.4.1
LABEL maintainer="[email protected]"
RUN \
Rscript -e "install.packages('ggplot2')" && \
Rscript -e "install.packages('randomForest')" && \
:
| FROM r-base:4.1.3
LABEL maintainer="[email protected]"
RUN \
Rscript -e "install.packages('ggplot2')" && \
Rscript -e "install.packages('randomForest')" && \
:
| feature addition |
107 | 8a9fdf43aef2224165fd5515ac13ea20a9b2fb23 | Change Dockerfile to install dependencies last. Part of fixing multiple plugins support. | Change Dockerfile to install dependencies last. Part of fixing multiple plugins support.
| FROM ramsproject/sideboard
MAINTAINER RAMS Project "[email protected]"
LABEL version.rams-core ="0.1"
# install the requirements specified.
# this will be a bit slow on first run but subsequently will be cached.
COPY bower.json ./
RUN bower install --config.interactive=false --allow-root
COPY requirements.txt ./
RUN pip install -r requirements.txt
# add our code - do this last, since it changes the most often
COPY . plugins/uber/
| FROM ramsproject/sideboard
MAINTAINER RAMS Project "[email protected]"
LABEL version.rams-core ="0.1"
# add our code
COPY . plugins/uber/
# go ahead and install base dependencies
RUN paver install_deps
| code refactoring, feature addition |
121 | b221aa7b1344abf043a7d8e79defb08d27b4a421 | Added docker support for running worker or Web process by environment | Added docker support for running worker or Web process by environment
| FROM ubuntu:trusty
MAINTAINER ODL DevOps <[email protected]>
# Add package files
ADD requirements.txt /tmp/requirements.txt
ADD test_requirements.txt /tmp/test_requirements.txt
ADD doc_requirements.txt /tmp/doc_requirements.txt
ADD apt.txt /tmp/apt.txt
WORKDIR /tmp
# Install base packages
RUN apt-get update
RUN apt-get install -y $(grep -vE "^\s*#" apt.txt | tr "\n" " ")
RUN pip install pip --upgrade
# Install project packages
RUN pip install -r requirements.txt
RUN pip install -r test_requirements.txt
RUN pip install -r doc_requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -r test_requirements.txt
# Add, and run as, non-root user.
RUN adduser --disabled-password --gecos "" mitodl
# Add project
ADD . /src
WORKDIR /src
RUN chown -R mitodl:mitodl /src
# Link nodejs to node since npm expects node
RUN ln -s /usr/bin/nodejs /usr/bin/node
# Install development packages globally for things like
# bower.
RUN mkdir /node
ADD package.json /node/package.json
RUN cd /node && npm install
# Install productions deps for runtime items like jsx
RUN npm install --production
ENV PATH /src/node_modules/.bin:/node/node_modules/.bin:$PATH
# Set pip cache folder, as it is breaking pip when it is on a shared volume
ENV XDG_CACHE_HOME /tmp/.cache
EXPOSE 8070
USER mitodl
CMD uwsgi uwsgi.ini
| FROM ubuntu:trusty
MAINTAINER ODL DevOps <[email protected]>
# Add package files
ADD requirements.txt /tmp/requirements.txt
ADD test_requirements.txt /tmp/test_requirements.txt
ADD doc_requirements.txt /tmp/doc_requirements.txt
ADD apt.txt /tmp/apt.txt
WORKDIR /tmp
# Install base packages
RUN apt-get update
RUN apt-get install -y $(grep -vE "^\s*#" apt.txt | tr "\n" " ")
RUN pip install pip --upgrade
# Install project packages
RUN pip install -r requirements.txt
RUN pip install -r test_requirements.txt
RUN pip install -r doc_requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -r test_requirements.txt
# Add, and run as, non-root user.
RUN adduser --disabled-password --gecos "" mitodl
# Add project
ADD . /src
WORKDIR /src
RUN chown -R mitodl:mitodl /src
# Link nodejs to node since npm expects node
RUN ln -s /usr/bin/nodejs /usr/bin/node
# Install development packages globally for things like
# bower.
RUN mkdir /node
ADD package.json /node/package.json
RUN cd /node && npm install
# Install productions deps for runtime items like jsx
RUN npm install --production
ENV PATH /src/node_modules/.bin:/node/node_modules/.bin:$PATH
# Set pip cache folder, as it is breaking pip when it is on a shared volume
ENV XDG_CACHE_HOME /tmp/.cache
# Gather static
RUN ./manage.py collectstatic --noinput
USER mitodl
# Set and expose port for uwsgi config
EXPOSE 8070
ENV PORT 8070
CMD if [ -n "$WORKER" ]; then celery -A lore worker; else uwsgi uwsgi.ini; fi
| feature addition |
2235 | b4a25a3630c6201d320b87c33fa2e3cbabf4a33a | Update Dockerfile | Update Dockerfile
adding missing cryptography and requests modules required for testing | FROM ubuntu:20.04
# Supresses unwanted user interaction (like "Please select the geographic area" when installing tzdata)
ENV DEBIAN_FRONTEND=noninteractive
ADD ./ /ccxt
WORKDIR /ccxt
# Update packages (use us.archive.ubuntu.com instead of archive.ubuntu.com — solves the painfully slow apt-get update)
RUN sed -i 's/archive\.ubuntu\.com/us\.archive\.ubuntu\.com/' /etc/apt/sources.list
# Miscellaneous deps
RUN apt-get update && apt-get install -y --no-install-recommends curl gnupg git ca-certificates
# PHP
RUN apt-get update && apt-get install -y --no-install-recommends php php-curl php-iconv php-mbstring php-bcmath php-gmp
# Node
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get update && apt-get install -y nodejs
# Python 3
RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip
RUN pip3 install 'idna==2.9' --force-reinstall
RUN pip3 install --upgrade setuptools
RUN pip3 install tox
RUN pip3 install aiohttp
# Installs as a local Node & Python module, so that `require ('ccxt')` and `import ccxt` should work after that
RUN npm install
RUN ln -s /ccxt /usr/lib/node_modules/
RUN echo "export NODE_PATH=/usr/lib/node_modules" >> $HOME/.bashrc
RUN cd python \
&& python3 setup.py develop \
&& cd ..
## Install composer and everything else that it needs and manages
RUN /ccxt/composer-install.sh
RUN apt-get update && apt-get install -y --no-install-recommends zip unzip php-zip
RUN mv /ccxt/composer.phar /usr/local/bin/composer
RUN composer install
## Remove apt sources
RUN apt-get -y autoremove && apt-get clean && apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
| null | feature addition |
2280 | 925122b51a89b1c581929a31b4378178c136fb56 | Add the Azure CLI (#4816) | Add the Azure CLI (#4816)
| # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
ARG BASE_IMAGE=tensorflow/tensorflow:1.13.2-py3-jupyter
FROM $BASE_IMAGE
ARG TF_SERVING_VERSION=0.0.0
ARG NB_USER=jovyan
# TODO: User should be refactored instead of hard coded jovyan
USER root
ENV DEBIAN_FRONTEND noninteractive
ENV NB_USER $NB_USER
ENV NB_UID 1000
ENV HOME /home/$NB_USER
ENV NB_PREFIX /
# Use bash instead of sh
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -yq --no-install-recommends \
apt-transport-https \
build-essential \
bzip2 \
ca-certificates \
curl \
g++ \
git \
gnupg \
graphviz \
locales \
lsb-release \
openssh-client \
sudo \
unzip \
vim \
wget \
zip \
emacs \
python3-pip \
python3-dev \
python3-setuptools \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install Nodejs for jupyterlab-manager
RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
RUN apt-get update && apt-get install -yq --no-install-recommends \
nodejs \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENV DOCKER_CREDENTIAL_GCR_VERSION=1.4.3
RUN curl -LO https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v${DOCKER_CREDENTIAL_GCR_VERSION}/docker-credential-gcr_linux_amd64-${DOCKER_CREDENTIAL_GCR_VERSION}.tar.gz && \
tar -zxvf docker-credential-gcr_linux_amd64-${DOCKER_CREDENTIAL_GCR_VERSION}.tar.gz && \
mv docker-credential-gcr /usr/local/bin/docker-credential-gcr && \
rm docker-credential-gcr_linux_amd64-${DOCKER_CREDENTIAL_GCR_VERSION}.tar.gz && \
chmod +x /usr/local/bin/docker-credential-gcr
# Install AWS CLI
RUN curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "/tmp/awscli-bundle.zip" && \
unzip /tmp/awscli-bundle.zip && ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
rm -rf ./awscli-bundle
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Create NB_USER user with UID=1000 and in the 'users' group
# but allow for non-initial launches of the notebook to have
# $HOME provided by the contents of a PV
RUN useradd -M -s /bin/bash -N -u $NB_UID $NB_USER && \
chown -R ${NB_USER}:users /usr/local/bin && \
mkdir -p $HOME
RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
apt-get update && \
apt-get install -y google-cloud-sdk kubectl
# Install Tini - used as entrypoint for container
RUN cd /tmp && \
wget --quiet https://github.com/krallin/tini/releases/download/v0.18.0/tini && \
echo "12d20136605531b09a2c2dac02ccee85e1b874eb322ef6baf7561cd93f93c855 *tini" | sha256sum -c - && \
mv tini /usr/local/bin/tini && \
chmod +x /usr/local/bin/tini
# NOTE: Beyond this point be careful of breaking out
# or otherwise adding new layers with RUN, chown, etc.
# The image size can grow significantly.
# Install base python3 packages
RUN pip3 --no-cache-dir install \
jupyter-console==6.0.0 \
jupyterlab \
xgboost \
kubeflow-fairing==0.7.1
COPY --chown=jovyan:users requirements.txt /tmp
RUN docker-credential-gcr configure-docker && chown ${NB_USER}:users $HOME/.docker/config.json
# Configure container startup
EXPOSE 8888
USER jovyan
ENTRYPOINT ["tini", "--"]
CMD ["sh","-c", "jupyter notebook --notebook-dir=/home/${NB_USER} --ip=0.0.0.0 --no-browser --allow-root --port=8888 --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.allow_origin='*' --NotebookApp.base_url=${NB_PREFIX}"]
| null | maintenance/other |
162 | 770c08a2cb4ff8833a2d08df500100e5ad68cdb7 | add expose port | add expose port
| FROM java:8
VOLUME /tmp
ADD ulock-server-0.0.1-SNAPSHOT.war app.war
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.war"]
| FROM java:8
VOLUME /tmp
EXPOSE 8080
ADD ulock-server-0.0.1-SNAPSHOT.war app.war
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.war"]
| code refactoring |
399 | 59d72ea8e4fe4070d31a6de7457d96d3616f30fc | Bumped source to 20200618-45a041c | Bumped source to 20200618-45a041c
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200618-e717779
MAINTAINER akerl <[email protected]>
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:20200618-45a041c
MAINTAINER akerl <[email protected]>
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'
| bug fix |
2318 | c8fac762f4544ae3b2167100ca212acd0887535a | Upgrade PG base dockerfile to 9.5 (#9) | Upgrade PG base dockerfile to 9.5 (#9) | FROM ubuntu:15.10
# This is a common docker file for flow that is used to create
# containers running specific versions of an applications schema. This
# container will be running postgresql with the application's schema
# applied.
# We make an assumption that there is a file named 'install.sh' in the
# same directory as this Dockerfile that contains the instructions for
# creating the application database, user, etc.
# Each schema is intended to be in its own git repository so that we
# can link that repository to docker hub to automatically build the
# docker images following a tag of the repository.
# Example from command line:
#
# docker build -t flowcommerce/splashpage-postgresql:0.1.2 .
#
# docker run -d -p 5100:5432 flowcommerce/splashpage-postgresql:0.1.2
#
# psql -U api -h 192.168.99.100 -p 5100 splashpagedb
#
MAINTAINER [email protected]
RUN apt-get update
RUN apt-get install -y --no-install-recommends ca-certificates postgresql-9.4
RUN apt-get install -y --no-install-recommends ca-certificates git
RUN apt-get install -y --no-install-recommends ca-certificates ruby
WORKDIR /opt
RUN git clone git://github.com/mbryzek/schema-evolution-manager.git
WORKDIR /opt/schema-evolution-manager
RUN ls
RUN git checkout 0.9.24
RUN ruby ./configure.rb --prefix /usr/local
RUN ./install.rb
RUN sed -i 's/peer/trust/' /etc/postgresql/9.4/main/pg_hba.conf
RUN sed -i 's/md5/trust/' /etc/postgresql/9.4/main/pg_hba.conf
RUN sed -i 's/127.0.0.1\/32/0.0.0.0\/0/' /etc/postgresql/9.4/main/pg_hba.conf
RUN cat /etc/postgresql/9.4/main/pg_hba.conf
RUN cat "/etc/init.d/postgresql"
RUN mkdir -p /var/run/postgresql && chown -R postgres /var/run/postgresql
WORKDIR /var/lib/postgresql/9.4/main
RUN ln -s /etc/postgresql/9.4/main/postgresql.conf
VOLUME /var/lib/postgresql/9.4/base
EXPOSE 5432
| null | feature addition |
2287 | 4e2b6a8209626ccdd506cee2b897ff97ee9397a6 | reverted, unexpected error on docker hub | reverted, unexpected error on docker hub
| FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
# install dependencies
RUN apt-get update && \
apt-get install -y sudo wget unzip openjdk-8-jdk git maven ecryptfs-utils mhddfs samba samba-common-bin && \
apt-get clean
# install chrome
RUN wget https://dl.google.com/linux/linux_signing_key.pub
RUN apt-key add linux_signing_key.pub
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
RUN apt-get update && \
apt-get install -y google-chrome-stable && \
apt-get clean
# setup permissions
RUN echo "root ALL=(ALL) NOPASSWD:/usr/bin/sudo,/usr/sbin/adduser,/usr/sbin/useradd,/usr/sbin/deluser,/usr/sbin/addgroup,/usr/sbin/delgroup,/bin/chown,/usr/bin/passwd,/bin/mount,/bin/umount,/usr/bin/mhddfs,/etc/init.d/samba" >> /etc/sudoers.d/urchin
# Get project
RUN mkdir /workspace && \
git clone https://github.com/anhem/urchin /workspace
# install
WORKDIR /workspace
RUN mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8080
| null | feature addition |
2143 | 65e12bf9cddaa54f7a8fde8e3710cf5c2b1ee5b4 | Added screen utility to the base image. | Added screen utility to the base image.
| # jobber service base image
FROM debian:wheezy
MAINTAINER Mark Betz <[email protected]>
# disable annoying warnings from installers
ENV DEBIAN_FRONTEND noninteractive
# install prerequisites and utils
RUN apt-get update &&\
apt-get install -y\
build-essential\
checkinstall\
rsyslog\
curl\
wget\
git\
nano\
vim\
python-dev\
python-pip
# install and configure redis
RUN cd /home &&\
wget -q http://download.redis.io/redis-stable.tar.gz &&\
tar xvzf redis-stable.tar.gz &&\
cd redis-stable &&\
make &&\
cp src/redis-server /usr/local/bin/ &&\
cp src/redis-cli /usr/local/bin/ &&\
cp src/redis-benchmark /usr/local/bin/ &&\
cp src/redis-check-aof /usr/local/bin/ &&\
cp src/redis-check-dump /usr/local/bin/ &&\
cd .. &&\
rm -rf redis-stable &&\
rm redis-stable.tar.gz &&\
mkdir /etc/redis &&\
mkdir -p /var/redis/6379
ADD 6379.conf /etc/redis/6379.conf
ADD rsyslog.conf /etc/rsyslog.conf
ADD 50-default.conf /etc/rsyslog.d/50-default.conf
RUN chmod 644 /etc/rsyslog.conf &&\
chmod 644 /etc/rsyslog.d/50-default.conf &&\
pip install supervisor
| null | maintenance/other |
2136 | f9ff4dda7c1730109c7fb2bdc51c0d1f2108205e | Version 4.4.13.1 added | Version 4.4.13.1 added
| FROM dnhsoft/phpmyadmin-base:4.x
ENV PMA_VERSION "4.4.13"
RUN /install-pma.sh
| null | maintenance/other |
Subsets and Splits