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 |
---|---|---|---|---|---|---|
2061 | 46982085e43b97b114f9345bb6e9d48c2ad849af | Bumped source to 20200606-cb2d0e8 | Bumped source to 20200606-cb2d0e8
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200606-d6a57a1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | null |
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 <karimboumedhel@gmail.com>
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 <karimboumedhel@gmail.com>
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"]
| null |
2162 | adfb715575c4f3c6b75e3cc0d7484af8e4220f15 | Bumped source to 20210403-4680f5e | Bumped source to 20210403-4680f5e
| FROM docker.pkg.github.com/dock0/service/service:20210403-6c16aa2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | null |
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 <shouse.patrick@gmail.com>
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 <shouse.patrick@gmail.com>
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"]
| null |
39 | 151d21c3937c7400b853e3e156444fc5e5166a42 | Bumped source to 20210326-18e993d | Bumped source to 20210326-18e993d
| FROM docker.pkg.github.com/dock0/arch/arch:20210326-9a3ae13
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210326-18e993d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
46 | 013ceb661772825cbca1b1dbfe6ea8bf75a6f836 | fix | fix
Signed-off-by: Jess Frazelle <e0d1a862d8f31af605ecef8c92857b8938ba622e@microsoft.com>
| 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"]
| null |
2245 | 83f06999768fd33189b074f69cecb71ec73b5a30 | Bumped source to 20220714-249350b | Bumped source to 20220714-249350b
| FROM ghcr.io/dock0/arch:20220714-c994ea3
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | null |
264 | c3a166534289b96c410a0cafcf261e4a9860284c | Bumped source to 20200413-8442c8f | Bumped source to 20200413-8442c8f
| FROM docker.pkg.github.com/dock0/service/service:20200413-d96418c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200413-8442c8f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
2112 | e06be915973de2c27445baaf1ac116be4a251a26 | Bumped source to 20201016-2a8b256 | Bumped source to 20201016-2a8b256
| FROM docker.pkg.github.com/dock0/arch/arch:20201016-5c009b1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | null |
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"]
| null |
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 <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null | null |
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" <bmxamin@gmail.com>
# 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 | null |
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 <tobias@suckow.biz>"
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 | null |
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
| null |
346 | fb638b550c71ea7324ad9235854803f3e78c1b71 | fixed bugs in docker image | fixed bugs in docker image
| FROM dit4c/dit4c-container-fsl
MAINTAINER Greg Kiar <gkiar@jhu.edu>
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 <gkiar@jhu.edu>
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"]
| null |
2309 | afe6aa074757a4fd2e6f92ce74568919f6d0ce9c | Upgraded Kibana to 4.6.1 | Upgraded Kibana to 4.6.1
| FROM kibana:4.5.4
MAINTAINER PubNative Team <team@pubnative.net>
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 | null |
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 <g.boeing@northeastern.edu>"
# 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 | null |
232 | 351cd31bc83f065906f9ce09984a4a33921720a7 | Bumped source to 20200326-23b5da1 | Bumped source to 20200326-23b5da1
| FROM docker.pkg.github.com/dock0/service/service:20200326-212bc2c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200326-23b5da1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
206 | 44f00564355f8bd755b94d6db99f1c2e27492fe4 | Bumped source to 20210416-b4928ed | Bumped source to 20210416-b4928ed
| FROM docker.pkg.github.com/dock0/arch/arch:20210416-72a4d31
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20210416-b4928ed
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
2101 | 26df24a1be125e5f72218531fb39d09c00afaa97 | Bumped source to 20210624-c4872e7 | Bumped source to 20210624-c4872e7
| FROM docker.pkg.github.com/dock0/arch/arch:20210624-76084af
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | null |
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"]
| null |
126 | ec12146e323a9016c42e456af1a2ef7eb4e22dca | Forgot to add the double ampersand. | Forgot to add the double ampersand.
| FROM ubuntu:14.04
MAINTAINER P. Barrett Little <barrett@barrettlittle.com>
# 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 <barrett@barrettlittle.com>
# 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"]
| null |
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
| null |
339 | 870671a1e02317f56e77896219e2afbb3515ae9a | Bumped source to 20220522-8d540ef | Bumped source to 20220522-8d540ef
| FROM ghcr.io/dock0/arch:20220522-3509354
MAINTAINER akerl <me@lesaker.org>
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 <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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 <mykola.rybak@gmail.com>
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 | null |
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
| null |
282 | cec4e42fef93acb83a1970346197057bdeafee49 | Update Dockerfile | Update Dockerfile | FROM soiff/jdk:8u111
MAINTAINER 张仪 <wittcnezh@foxmail.com>
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 张仪 <wittcnezh@foxmail.com>
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"]
| null |
25 | 0fd4ead5023133b7780d9b791744135550aa4053 | Bumped source to 20220409-3359f1c | Bumped source to 20220409-3359f1c
| FROM ghcr.io/dock0/arch:20220409-4ea1148
MAINTAINER akerl <me@lesaker.org>
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 <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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 (venkata@ebi.ac.uk / mailcs76@gmail.com)
# 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 (venkata@ebi.ac.uk / mailcs76@gmail.com)
# 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"] | null |
417 | b9785d75827e4ac2f4ab449fe349a94fee52eb28 | Bumped source to 20210715-7d5e992 | Bumped source to 20210715-7d5e992
| FROM docker.pkg.github.com/dock0/arch/arch:20210714-8fd413d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210715-7d5e992
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
84 | b74952d55e76095f95649f95a52bed7e177731fd | Bumped source to 20200915-8578a2f | Bumped source to 20200915-8578a2f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200915-9a62de6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200915-8578a2f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null |
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"]
| null |
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 | null |
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] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | 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"]
| null |
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] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>
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;'"]
| null |
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
| null |
2126 | 6a234fe96b6036328394f2807b45c47ab44bc69d | Bumped source to 20211110-3230f12 | Bumped source to 20211110-3230f12
| FROM docker.pkg.github.com/dock0/arch/arch:20211110-18d16b7
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | null |
2147 | 51c25414844a05d4650703ff31eec55b15ec26c3 | version 66.0.3346.8 | version 66.0.3346.8 | FROM ubuntu:14.04
LABEL maintainer "Alpeware <info@alpeware.com>"
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 | null |
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"]
| null |
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 mattias.wadman@gmail.com"
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 mattias.wadman@gmail.com"
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"]
| null |
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 | null |
2144 | f219b6d4d9b4a1601bed2b85608afd8ad2cea1f2 | Add app user to docker group | Add app user to docker group
| FROM remind101/go:1.4
MAINTAINER Eric Holmes <eric@remind101.com>
ENTRYPOINT ["/go/bin/empire"]
CMD ["server"]
EXPOSE 8080
| null | null |
2210 | 10c91223f684951ce390b2b776557d862576de09 | debugging | debugging
| FROM ubuntu:14.04
MAINTAINER Mark Hummel <mdh@raquette.com>
#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 | null |
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 <wywincl@126.com>
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 | null |
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 | null |
180 | 982bbb0d767fca8a632c42bc6e67792a2084bfc8 | Bumped source to 20220517-6d76d5b | Bumped source to 20220517-6d76d5b
| FROM ghcr.io/dock0/arch:20220517-0fd01f7
MAINTAINER akerl <me@lesaker.org>
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 <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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 | null |
173 | 92b65e2462958ca7e184988255033873c670cfd9 | fix slack | fix slack
Signed-off-by: Jessica Frazelle <e0d1a862d8f31af605ecef8c92857b8938ba622e@docker.com>
| # 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 <jess@linux.com>
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 <jess@linux.com>
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"]
| null |
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 | null |
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 <dieter.provoost@marlon.be>
# 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 <dieter.provoost@marlon.be>
# 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
| null |
2219 | 0248a6d38985b3648d9add34190d66c9f1071032 | Bumped source to 20201026-7fc9518 | Bumped source to 20201026-7fc9518
| FROM docker.pkg.github.com/dock0/arch/arch:20201026-758e489
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | null |
2244 | 4ef6f70df85a1d477f0a2031d19587d3ed90b9da | Bumped source to 20200429-324843c | Bumped source to 20200429-324843c
| FROM docker.pkg.github.com/dock0/arch/arch:20200429-730c977
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | null |
2213 | 7272571e69f7cdbe4d775856736c4e3acad9ae8e | Bumped source to 20201228-749f4f7 | Bumped source to 20201228-749f4f7
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201228-772318f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | null |
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 "andrey.petrov@shazow.net"
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 "andrey.petrov@shazow.net"
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;"]
| null |
2311 | ffafb7c25b749b72940469b9be8ad3737ff34399 | Update Dockerfile | Update Dockerfile
removed an update too much | FROM ubuntu
# Bro 2.4beta
MAINTAINER Daniel Guerra <daniel.guerra69@gmail.com>
#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 | null |
364 | dc142718a7b8ee190e3bb4cfd302c0e127e55266 | fix adduser home directory configuration | fix adduser home directory configuration
| FROM ubuntu:trusty
MAINTAINER Jack Liu jackliu.lab@gmail.com
# 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 jackliu.lab@gmail.com
# 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"]
| null |
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"]
| null |
271 | f37d0591f0ca7f72124dd4abb3814f1eb21e6360 | Bumped source to 20200218-9526737 | Bumped source to 20200218-9526737
| FROM docker.pkg.github.com/dock0/arch/arch:20200218-c0fa6f8
MAINTAINER akerl <me@lesaker.org>
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 <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com> | 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
| null |
2323 | 7633546429f970d49c5925f1b048de48fb7bdff0 | Bumped source to 20210320-6411eab | Bumped source to 20210320-6411eab
| FROM docker.pkg.github.com/dock0/service/service:20210320-162d60a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | null |
263 | 9e569c83fd152656479790a1bc4a012091bb7549 | Bumped source to 20200930-c8ab90a | Bumped source to 20200930-c8ab90a
| FROM docker.pkg.github.com/dock0/arch/arch:20200930-68d49d0
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20200930-c8ab90a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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 <mat@stellar.org>
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 | null |
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"] | null |
37 | 622d4c7472b7e952af30b7bab15bed8971cd0c74 | Bumped source to 20200408-4392a9c | Bumped source to 20200408-4392a9c
| FROM docker.pkg.github.com/dock0/arch/arch:20200408-c9c0516
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20200408-4392a9c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
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 <chris@data.gov.sg>
# 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 <chris@data.gov.sg>
# 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"]
| null |
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"]
| null |
23 | 47b6dd1ec4fb18078f91bf36bbafc2bf55863fbc | Bumped source to 20201219-dae2feb | Bumped source to 20201219-dae2feb
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201219-b59f33b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201219-dae2feb
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null |
6 | 0239ef660c899e25bd2745fb887b82d8234dd043 | Update R version | Update R version
| FROM r-base:3.4.1
LABEL maintainer="joelnbarnham@gmail.com"
RUN \
Rscript -e "install.packages('ggplot2')" && \
Rscript -e "install.packages('randomForest')" && \
:
| FROM r-base:4.1.3
LABEL maintainer="joelnbarnham@gmail.com"
RUN \
Rscript -e "install.packages('ggplot2')" && \
Rscript -e "install.packages('randomForest')" && \
:
| null |
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 "code@magfest.org"
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 "code@magfest.org"
LABEL version.rams-core ="0.1"
# add our code
COPY . plugins/uber/
# go ahead and install base dependencies
RUN paver install_deps
| null |
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 <mitx-devops@mit.edu>
# 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 <mitx-devops@mit.edu>
# 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
| null |
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 | null |
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 | null |
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"]
| null |
399 | 59d72ea8e4fe4070d31a6de7457d96d3616f30fc | Bumped source to 20200618-45a041c | Bumped source to 20200618-45a041c
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200618-e717779
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200618-45a041c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null |
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 tech@flow.io
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 | null |
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 | null |
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 <betz.mark@gmail.com>
# 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 | null |
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 | null |
377 | f7686f581ba49536f247c87e3bed67eed6959186 | Bumped source to 20200704-4564ae1 | Bumped source to 20200704-4564ae1
| FROM docker.pkg.github.com/dock0/arch/arch:20200704-9afb8c6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200704-4564ae1
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
168 | 470fd4cd049744614ac31ede7531d94a0db8e63b | Bumped source to 20211103-04550ce | Bumped source to 20211103-04550ce
| FROM docker.pkg.github.com/dock0/arch/arch:20211103-74d018e
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20211103-04550ce
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
2298 | 6d6524eae9219d832d27dc79ee043baec9422d9a | Added gsutil | Added gsutil
| FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
MAINTAINER nejumi <dr_jingles@mac.com>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:git-core/ppa && \
apt-get update && \
apt-get install -y git build-essential cmake && \
git --version
RUN apt-get update && \
apt-get install -y \
curl \
wget \
bzip2 \
ca-certificates \
libglib2.0-0 \
libxext6 \
libsm6 \
libxrender1 \
git \
vim \
mercurial \
subversion \
cmake \
libboost-dev \
libboost-system-dev \
libboost-filesystem-dev \
gcc \
g++
# Add OpenCL ICD files for LightGBM
RUN mkdir -p /etc/OpenCL/vendors && \
echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
##############################################################################
# TINI
##############################################################################
# Install tini
ENV TINI_VERSION v0.14.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
##############################################################################
# Miniconda python
##############################################################################
RUN apt-get update && \
apt-get install -y wget bzip2 ca-certificates && \
rm -rf /var/lib/apt/lists/*
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-Linux-x86_64.sh && \
/bin/bash Miniconda3-py37_4.8.3-Linux-x86_64.sh -b -p /opt/conda && \
rm Miniconda3-py37_4.8.3-Linux-x86_64.sh
ENV PATH /opt/conda/bin:$PATH
RUN pip install --upgrade pip
RUN apt-get update && \
# Miniconda's build of gcc is way out of date; monkey-patch some linking problems that affect
# packages like xgboost and Shapely
rm /opt/conda/lib/libstdc++* && rm /opt/conda/lib/libgomp.* && \
ln -s /usr/lib/x86_64-linux-gnu/libgomp.so.1 /opt/conda/lib/libgomp.so.1 && \
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/conda/lib/libstdc++.so.6
RUN cd /usr/local/src && pip install scikit-learn tables
RUN cd /usr/local/src && conda install lxml h5py hdf5 html5lib beautifulsoup4
##############################################################################
# LightGBM-GPU
##############################################################################
RUN cd /usr/local/src && mkdir lightgbm && cd lightgbm && \
git clone -b v2.3.1 https://github.com/microsoft/LightGBM && \
cd LightGBM && mkdir build && cd build && \
cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda/include/ .. && \
make OPENCL_HEADERS=/usr/local/cuda/targets/x86_64-linux/include LIBOPENCL=/usr/local/cuda/targets/x86_64-linux/lib
ENV PATH /usr/local/src/lightgbm/LightGBM:${PATH}
RUN /bin/bash -c "cd /usr/local/src/lightgbm/LightGBM/python-package && python setup.py install --precompile"
##############################################################################
# XGBoost-GPU
##############################################################################
RUN cd /usr/local/src && pip install xgboost
##############################################################################
# tensorflow
##############################################################################
RUN cd /usr/local/src && pip --no-cache-dir install -I -U tensorflow==2.2.0
RUN cd /usr/local/src && pip install keras
##############################################################################
# rapidsai
##############################################################################
RUN cd /usr/local/src && conda install -c rapidsai -c nvidia -c conda-forge -c defaults rapids=0.14 python=3.7 cudatoolkit=10.1
RUN conda install -y -c conda-forge ipywidgets && jupyter nbextension enable --py widgetsnbextension
##############################################################################
# xfeat
##############################################################################
RUN cd /usr/local/src && git clone --recursive https://github.com/pfnet-research/xfeat && \
cd xfeat && python setup.py install
##############################################################################
# other libraries
##############################################################################
RUN cd /usr/local/src && pip install albumentations seaborn pyarrow fastparquet catboost kaggle \
category_encoders optuna opencv-python image-classifiers tsfresh librosa
RUN cd /usr/local/src && conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
RUN cd /usr/local/src && pip install git+https://github.com/hyperopt/hyperopt.git
| null | null |
5 | c708551d2329b5cfc37a6b10455c168e1f3e50db | fix dirs | fix dirs
| FROM ubuntu
LABEL maintainer="sboulema@gmail.com"
ENV PHP_VERSION=8.0
ENV DEBIAN_FRONTEND=noninteractive
RUN useradd ttrss
# add PHP repository
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php
# install PHP and extensions
RUN apt-get update && apt-get install -y \
git nginx supervisor php${PHP_VERSION}-fpm php${PHP_VERSION}-cli php${PHP_VERSION}-curl php${PHP_VERSION}-gd \
php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-mbstring php${PHP_VERSION}-xml php${PHP_VERSION}-intl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/php
# enable mbstring modules
RUN phpenmod -v ${PHP_VERSION} mbstring && phpenmod -v ${PHP_VERSION} xml
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss
RUN sed -i "s/PHP_VERSION/${PHP_VERSION}/" /etc/nginx/sites-available/ttrss
RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss
WORKDIR /var/www
RUN rm -rf *
RUN git clone https://git.tt-rss.org/fox/tt-rss.git .
# expose only nginx HTTP port
EXPOSE 80
# set configuration to look at Docker ENV variables
ADD config.docker.php config.php
# set default settings
ENV TTRSS_SELF_URL_PATH http://localhost
ENV TTRSS_DB_NAME ttrss
ENV TTRSS_DB_USER ttrss
ENV TTRSS_DB_PASS ttrss
ENV TTRSS_SESSION_COOKIE_LIFETIME 86400000
ENV TTRSS_ICONS_DIR feed-icons
ENV TTRSS_LOCK_DIRECTORY lock
ENV TTRSS_PLUGINS auth_internal
ENV TTRSS_CONFIG_VERSION 26
# set permissions on directories
RUN chown www-data:www-data -R /var/www && \
chmod -R 777 images && \
chmod -R 777 upload && \
chmod -R 777 export && \
chmod -R 777 feed-icons && \
chmod -R 777 lock
# always re-configure database with current ENV when RUNning container, then monitor all services
ADD configure-db.php /configure-db.php
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN sed -i "s/PHP_VERSION/${PHP_VERSION}/" /etc/supervisor/conf.d/supervisord.conf
CMD php /configure-db.php && supervisord -c /etc/supervisor/conf.d/supervisord.conf
| FROM ubuntu
LABEL maintainer="sboulema@gmail.com"
ENV PHP_VERSION=8.0
ENV DEBIAN_FRONTEND=noninteractive
RUN useradd ttrss
# add PHP repository
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php
# install PHP and extensions
RUN apt-get update && apt-get install -y \
git nginx supervisor php${PHP_VERSION}-fpm php${PHP_VERSION}-cli php${PHP_VERSION}-curl php${PHP_VERSION}-gd \
php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-mbstring php${PHP_VERSION}-xml php${PHP_VERSION}-intl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/php
# enable mbstring modules
RUN phpenmod -v ${PHP_VERSION} mbstring && phpenmod -v ${PHP_VERSION} xml
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss
RUN sed -i "s/PHP_VERSION/${PHP_VERSION}/" /etc/nginx/sites-available/ttrss
RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss
WORKDIR /var/www
RUN rm -rf *
RUN git clone https://git.tt-rss.org/fox/tt-rss.git .
# expose only nginx HTTP port
EXPOSE 80
# set configuration to look at Docker ENV variables
ADD config.docker.php config.php
# set default settings
ENV TTRSS_SELF_URL_PATH http://localhost
ENV TTRSS_DB_NAME ttrss
ENV TTRSS_DB_USER ttrss
ENV TTRSS_DB_PASS ttrss
ENV TTRSS_SESSION_COOKIE_LIFETIME 86400000
ENV TTRSS_CACHE_DIR cache
ENV TTRSS_ICONS_DIR feed-icons
ENV TTRSS_LOCK_DIRECTORY lock
ENV TTRSS_PLUGINS auth_internal
ENV TTRSS_CONFIG_VERSION 26
# set permissions on directories
RUN chown www-data:www-data -R /var/www && \
chmod -R 777 ${TTRSS_CACHE_DIR}/images && \
chmod -R 777 ${TTRSS_CACHE_DIR}/upload && \
chmod -R 777 ${TTRSS_CACHE_DIR}/export && \
chmod -R 777 feed-icons && \
chmod -R 777 lock
# always re-configure database with current ENV when RUNning container, then monitor all services
ADD configure-db.php /configure-db.php
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN sed -i "s/PHP_VERSION/${PHP_VERSION}/" /etc/supervisor/conf.d/supervisord.conf
CMD php /configure-db.php && supervisord -c /etc/supervisor/conf.d/supervisord.conf
| null |
353 | e9cf413cb44d32b1934826c194d597f02075d48a | Updated Dockerfile. Try to fix error by adding key --unsafe-perm when npm install work. | Updated Dockerfile. Try to fix error by adding key --unsafe-perm when npm install work.
| # Create image based on the official Node 6 image from dockerhub
FROM ubuntu:14.04
# Create a directory where our app will be placed
RUN mkdir -p /usr/src/app/docker
# Change directory so that our commands run inside this new directory
WORKDIR /usr/src/app
# Copy dependency definitions
COPY package.json /usr/src/app
COPY docker/bootstrap.sh /usr/src/app/docker
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y nano
RUN apt-get install -y nodejs
RUN apt-get install -y npm
RUN apt-get install -y git
RUN apt-get install -y g++
RUN apt-get install -y libkrb5-dev
RUN apt-get install -y dos2unix
RUN apt-get install -y nginx
# Install dependecies & nginx
RUN /bin/bash -c "dos2unix ./docker/bootstrap.sh"
RUN /bin/bash -c "source ./docker/bootstrap.sh"
# Get all the code needed to run the app
COPY . /usr/src/app
# Install dependecies
RUN npm install
RUN gulp
# Serve the app
ENTRYPOINT service nginx start && /bin/bash | # Create image based on the official Node 6 image from dockerhub
FROM ubuntu:14.04
# Create a directory where our app will be placed
RUN mkdir -p /usr/src/app/docker
# Change directory so that our commands run inside this new directory
WORKDIR /usr/src/app
# Copy dependency definitions
COPY package.json /usr/src/app
COPY docker/bootstrap.sh /usr/src/app/docker
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y nano
RUN apt-get install -y nodejs
RUN apt-get install -y npm
RUN apt-get install -y git
RUN apt-get install -y g++
RUN apt-get install -y libkrb5-dev
RUN apt-get install -y dos2unix
RUN apt-get install -y nginx
# Install dependecies & nginx
RUN /bin/bash -c "dos2unix ./docker/bootstrap.sh"
RUN /bin/bash -c "source ./docker/bootstrap.sh"
# Get all the code needed to run the app
COPY . /usr/src/app
# Install dependecies
RUN npm install --unsafe-perm
RUN gulp
# Serve the app
ENTRYPOINT service nginx start && /bin/bash | null |
110 | 98773482dcedb2aefca60cb0bac01a8c01f2f028 | Fix syntax error with single quote | Fix syntax error with single quote
| FROM ubuntu:latest
MAINTAINER Oleg Khryptul <okreptul@yahoo.com>
RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y vim git python-pip wget openjdk-7-jre
RUN pip install flake8
RUN useradd dev
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
RUN dpkg-reconfigure locales
RUN locale-gen en_US.UTF-8
RUN /usr/sbin/update-locale LANG=en_US.UTF-8
WORKDIR /home/dev
ENV HOME /home/dev
ENV LC_ALL en_US.UTF-8
RUN chown -R dev:dev $HOME/
USER dev
# setup pathogen vim plugin manager
RUN mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle
RUN wget -P $HOME/.vim/autoload https://tpo.pe/pathogen.vim
RUN echo 'execute pathogen#infect()' >> $HOME/.vimrc && \
echo 'syntax on' >> $HOME/.vimrc && \
echo 'filetype plugin indent on' >> $HOME/.vimrc
# Powerline fonts
RUN mkdir -p $HOME/.fonts $HOME/.config/fontconfig/conf.d
RUN wget -P $HOME/.fonts https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
RUN wget -P $HOME/.config/fontconfig/conf.d/ https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf
RUN fc-cache -vf $HOME/.fonts/
# Vim plugins
# Sensible
RUN git clone git://github.com/tpope/vim-sensible.git $HOME/.vim/bundle
# Dockerfile syntax & snippet plugin
RUN git clone https://github.com/ekalinin/Dockerfile.vim.git $HOME/.vim/bundle/Dockerfile
# Vim airline
RUN git clone https://github.com/bling/vim-airline $HOME/.vim/bundle/vim-airline
RUN echo 'set laststatus=2' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#enabled = 1' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#left_sep = \' \'' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#left_alt_sep = \'|\' >> $HOME/.vimrc
# CtrlP
RUN git clone https://github.com/kien/ctrlp.vim.git $HOME/.vim/bundle/ctrlp.vim
#RUN vim -u $HOME/.vim/bundles.vim +PluginInstall +qall
ENTRYPOINT ["vim"]
| FROM ubuntu:latest
MAINTAINER Oleg Khryptul <okreptul@yahoo.com>
RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y vim git python-pip wget openjdk-7-jre
RUN pip install flake8
RUN useradd dev
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
RUN dpkg-reconfigure locales
RUN locale-gen en_US.UTF-8
RUN /usr/sbin/update-locale LANG=en_US.UTF-8
WORKDIR /home/dev
ENV HOME /home/dev
ENV LC_ALL en_US.UTF-8
RUN chown -R dev:dev $HOME/
USER dev
# setup pathogen vim plugin manager
RUN mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle
RUN wget -P $HOME/.vim/autoload https://tpo.pe/pathogen.vim
RUN echo 'execute pathogen#infect()' >> $HOME/.vimrc && \
echo 'syntax on' >> $HOME/.vimrc && \
echo 'filetype plugin indent on' >> $HOME/.vimrc
# Powerline fonts
RUN mkdir -p $HOME/.fonts $HOME/.config/fontconfig/conf.d
RUN wget -P $HOME/.fonts https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
RUN wget -P $HOME/.config/fontconfig/conf.d/ https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf
RUN fc-cache -vf $HOME/.fonts/
# Vim plugins
# Sensible
RUN git clone git://github.com/tpope/vim-sensible.git $HOME/.vim/bundle
# Dockerfile syntax & snippet plugin
RUN git clone https://github.com/ekalinin/Dockerfile.vim.git $HOME/.vim/bundle/Dockerfile
# Vim airline
RUN git clone https://github.com/bling/vim-airline $HOME/.vim/bundle/vim-airline
RUN echo 'set laststatus=2' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#enabled = 1' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#left_sep = \' \'' >> $HOME/.vimrc && \
echo 'let g:airline#extensions#tabline#left_alt_sep = \'|\'' >> $HOME/.vimrc
# CtrlP
RUN git clone https://github.com/kien/ctrlp.vim.git $HOME/.vim/bundle/ctrlp.vim
#RUN vim -u $HOME/.vim/bundles.vim +PluginInstall +qall
ENTRYPOINT ["vim"]
| null |
2155 | 0f3f46a355170ee64bdba76fcb5fd422afc5ea2d | update to crystal 0.23.1 | update to crystal 0.23.1
| FROM drujensen/crystal:0.23.0
WORKDIR /app/user
ADD . /app/user
RUN crystal deps
CMD ["crystal", "spec"]
| null | null |
314 | 85fd660f031ee1021845bb419fa1a41359d6b984 | Update Dockerfile for launch.sh script | Update Dockerfile for launch.sh script
| FROM gliderlabs/alpine
MAINTAINER Steven Borrelli <steve@aster.is>
ENV CONSUL_TEMPLATE_VERSION=0.7.0
RUN apk-install haproxy
ADD https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz /
RUN tar zxvf consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
mv consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64/consul-template /usr/local/bin/consul-template && \
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64
RUN mkdir -p /haproxy /consul-template/config.d /consul-template/template.d
ADD config/ /consul-template/config.d/
ADD template/ /consul-template/template.d/
CMD ["/usr/local/bin/consul-template", "-config", "/consul-template/config.d"]
| FROM gliderlabs/alpine
MAINTAINER Steven Borrelli <steve@aster.is>
ENV CONSUL_TEMPLATE_VERSION=0.7.0
RUN apk-install bash haproxy
ADD https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz /
RUN tar zxvf consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
mv consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64/consul-template /usr/local/bin/consul-template && \
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
rm -rf /consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64
RUN mkdir -p /haproxy /consul-template/config.d /consul-template/template.d
ADD config/ /consul-template/config.d/
ADD template/ /consul-template/template.d/
ADD launch.sh /launch.sh
CMD ["/launch.sh"]
| null |
239 | b055f7b72c69b37e7f5fe29d58b18406f3f9531f | bug: missing ping | bug: missing ping
added to enable icmp checks | # Cabot Dockerfile
#
# https://github.com/shoonoise/cabot-docker
#
# VERSION 1.0
FROM ubuntu:14.04
MAINTAINER Alexander Kushnarev <avkushnarev@gmail.com>
# Prepare
RUN apt-get update
RUN apt-get install -y build-essential nodejs libpq-dev python-dev npm nginx git curl libldap2-dev libsasl2-dev
RUN curl -OL https://raw.github.com/pypa/pip/master/contrib/get-pip.py
RUN python get-pip.py
# Deploy cabot
RUN git clone https://github.com/arachnys/cabot.git /cabot
ADD fixture.json /cabot/
ADD run.sh /cabot/
ADD nginx.conf /etc/nginx/nginx.conf
ADD migrate.sh /cabot/
# Install dependencies
RUN pip install -e /cabot/
RUN npm install --no-color -g coffee-script less@1.3 --registry http://registry.npmjs.org/
# Set env var
ENV PATH $PATH:/cabot/
ENV PYTHONPATH $PYTHONPATH:/cabot/
# Cabot settings
ENV DJANGO_SETTINGS_MODULE cabot.settings
ENV HIPCHAT_URL https://api.hipchat.com/v1/rooms/message
ENV LOG_FILE /var/log/cabot
ENV PORT 5000
ENV ADMIN_EMAIL you@example.com
ENV CABOT_FROM_EMAIL noreply@example.com
ENV DEBUG t
# URL of calendar to synchronise rota with
ENV CALENDAR_ICAL_URL http://www.google.com/calendar/ical/example.ics
ENV DJANGO_SECRET_KEY 2FL6ORhHwr5eX34pP9mMugnIOd3jzVuT45f7w430Mt5PnEwbcJgma0q8zUXNZ68A
# Hostname of your Graphite server instance
ENV GRAPHITE_API http://graphite.example.com/
ENV GRAPHITE_USER username
ENV GRAPHITE_PASS password
# Hipchat integration
ENV HIPCHAT_ALERT_ROOM 48052
ENV HIPCHAT_API_KEY your_hipchat_api_key
# Jenkins integration
ENV JENKINS_API https://jenkins.example.com/
ENV JENKINS_USER username
ENV JENKINS_PASS password
# SMTP settings
ENV SES_HOST email-smtp.us-east-1.amazonaws.com
ENV SES_USER username
ENV SES_PASS password
ENV SES_PORT 465
# Twilio integration for SMS and telephone alerts
ENV TWILIO_ACCOUNT_SID your_account_sid
ENV TWILIO_AUTH_TOKEN your_auth_token
ENV TWILIO_OUTGOING_NUMBER +14155551234
# Used for pointing links back in alerts etc.
ENV WWW_HTTP_HOST cabot.example.com
ENV WWW_SCHEME http
RUN ["ln","-s","/usr/bin/nodejs","/usr/bin/node"]
WORKDIR /cabot/
CMD . /cabot/migrate.sh && /cabot/run.sh
| # Cabot Dockerfile
#
# https://github.com/shoonoise/cabot-docker
#
# VERSION 1.0
FROM ubuntu:14.04
MAINTAINER Alexander Kushnarev <avkushnarev@gmail.com>
# Prepare
RUN apt-get update
RUN apt-get install -y build-essential nodejs libpq-dev python-dev npm nginx git curl libldap2-dev libsasl2-dev iputils-ping
RUN curl -OL https://raw.github.com/pypa/pip/master/contrib/get-pip.py
RUN python get-pip.py
# Deploy cabot
RUN git clone https://github.com/arachnys/cabot.git /cabot
ADD fixture.json /cabot/
ADD run.sh /cabot/
ADD nginx.conf /etc/nginx/nginx.conf
ADD migrate.sh /cabot/
# Install dependencies
RUN pip install -e /cabot/
RUN npm install --no-color -g coffee-script less@1.3 --registry http://registry.npmjs.org/
# Set env var
ENV PATH $PATH:/cabot/
ENV PYTHONPATH $PYTHONPATH:/cabot/
# Cabot settings
ENV DJANGO_SETTINGS_MODULE cabot.settings
ENV HIPCHAT_URL https://api.hipchat.com/v1/rooms/message
ENV LOG_FILE /var/log/cabot
ENV PORT 5000
ENV ADMIN_EMAIL you@example.com
ENV CABOT_FROM_EMAIL noreply@example.com
ENV DEBUG t
# URL of calendar to synchronise rota with
ENV CALENDAR_ICAL_URL http://www.google.com/calendar/ical/example.ics
ENV DJANGO_SECRET_KEY 2FL6ORhHwr5eX34pP9mMugnIOd3jzVuT45f7w430Mt5PnEwbcJgma0q8zUXNZ68A
# Hostname of your Graphite server instance
ENV GRAPHITE_API http://graphite.example.com/
ENV GRAPHITE_USER username
ENV GRAPHITE_PASS password
# Hipchat integration
ENV HIPCHAT_ALERT_ROOM 48052
ENV HIPCHAT_API_KEY your_hipchat_api_key
# Jenkins integration
ENV JENKINS_API https://jenkins.example.com/
ENV JENKINS_USER username
ENV JENKINS_PASS password
# SMTP settings
ENV SES_HOST email-smtp.us-east-1.amazonaws.com
ENV SES_USER username
ENV SES_PASS password
ENV SES_PORT 465
# Twilio integration for SMS and telephone alerts
ENV TWILIO_ACCOUNT_SID your_account_sid
ENV TWILIO_AUTH_TOKEN your_auth_token
ENV TWILIO_OUTGOING_NUMBER +14155551234
# Used for pointing links back in alerts etc.
ENV WWW_HTTP_HOST cabot.example.com
ENV WWW_SCHEME http
RUN ["ln","-s","/usr/bin/nodejs","/usr/bin/node"]
WORKDIR /cabot/
CMD . /cabot/migrate.sh && /cabot/run.sh
| null |
2111 | 565c12a49385e7a2780acb0226b2d06719ed940e | Update certbot and lexicon | Update certbot and lexicon
| FROM python:alpine3.8
LABEL maintainer="Adrien Ferrand <ferrand.ad@gmail.com>"
# Scripts in /scripts are required to be in the PATH to run properly as certbot's hooks
ENV PATH /scripts:$PATH
# Versioning
ENV LEXICON_VERSION 3.0.8
ENV CERTBOT_VERSION 0.30.0
# Let's Encrypt configuration
ENV LETSENCRYPT_STAGING false
ENV LETSENCRYPT_USER_MAIL noreply@example.com
ENV LETSENCRYPT_ACME_V1 false
# Lexicon configuration
ENV LEXICON_OPTIONS ""
ENV LEXICON_PROVIDER cloudflare
ENV LEXICON_PROVIDER_OPTIONS ""
# Container specific configuration
ENV PFX_EXPORT false
ENV PFX_EXPORT_PASSPHRASE ""
ENV CERTS_DIRS_MODE 0750
ENV CERTS_FILES_MODE 0640
ENV CERTS_USER_OWNER root
ENV CERTS_GROUP_OWNER root
# Install dependencies, certbot, lexicon, prepare for first start and clean
RUN apk --no-cache --update add rsyslog git libffi libxml2 libxslt libstdc++ openssl docker ethtool \
&& apk --no-cache --update --virtual build-dependencies add libffi-dev libxml2-dev libxslt-dev openssl-dev build-base linux-headers \
&& pip install "certbot==$CERTBOT_VERSION" \
&& pip install "dns-lexicon==$LEXICON_VERSION" \
&& pip install "dns-lexicon[namecheap]==$LEXICON_VERSION" \
&& pip install "dns-lexicon[route53]==$LEXICON_VERSION" \
&& pip install "dns-lexicon[softlayer]==$LEXICON_VERSION" \
&& pip install "dns-lexicon[subreg]==$LEXICON_VERSION" \
&& pip install "dns-lexicon[transip]==$LEXICON_VERSION" \
&& pip install circus \
&& mkdir -p /var/lib/letsencrypt/hooks \
&& mkdir -p /etc/circus.d \
&& apk del build-dependencies
# Copy configuration files
COPY files/run.sh /scripts/run.sh
COPY files/watch-domains.sh /scripts/watch-domains.sh
COPY files/autorestart-containers.sh /scripts/autorestart-containers.sh
COPY files/autocmd-containers.sh /scripts/autocmd-containers.sh
COPY files/crontab /etc/crontab
COPY files/circus.ini /etc/circus.ini
COPY files/letsencrypt-dns.ini /etc/circus.d/letsencrypt-dns.ini
COPY files/authenticator.sh /var/lib/letsencrypt/hooks/authenticator.sh
COPY files/cleanup.sh /var/lib/letsencrypt/hooks/cleanup.sh
COPY files/deploy-hook.sh /scripts/deploy-hook.sh
COPY files/renew.sh /scripts/renew.sh
RUN chmod +x /scripts/*
VOLUME ["/etc/letsencrypt"]
CMD ["/scripts/run.sh"]
| null | null |
2120 | 1542e5110d1c5e27cecc5e5e8522a69690978d08 | Bumped source to 20210810-8833a2b | Bumped source to 20210810-8833a2b
| FROM docker.pkg.github.com/dock0/service/service:20210810-9bb62fc
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | null |
14 | 633ebc58e10cb19dcb4bb2d4f9235c68a9eaa750 | Adding RSYNC user. Adding no-install-recommends... | Adding RSYNC user. Adding no-install-recommends...
to apt-get, and moved things around. | FROM phusion/baseimage:0.9.10
MAINTAINER github.com/jasonswindle
# https://github.com/dotcloud/docker/issues/4846 and move SSH to a different port
RUN sed -i 's/session required pam_loginuid.so/#session required pam_loginuid.so/' /etc/pam.d/sshd
# Set root's password
RUN echo "root:changeme" | chpasswd
# Set correct environment variables.
ENV HOME /root
# Update apt's cache
RUN apt-get update
## Install what we need
RUN apt-get install -y \
python-pip \
man \
wget \
sudo \
software-properties-common \
locales \
ntp
# Ensure UTF-8
RUN locale-gen en_US.UTF-8 && update-locale
# Install Salt Master (of Masters)
RUN add-apt-repository ppa:saltstack/salt
# Update the apt database
RUN apt-get update
# Install Salt Master
RUN apt-get install -y salt-master
# Make this Salt Master, Master of Masters
RUN echo "order_masters: True" > /etc/salt/master.d/syndic.conf
# Set the timezone
RUN echo "US/Central" > /etc/timezone; dpkg-reconfigure tzdata
# Add runit scripts
ADD ./files/runit/ /etc/service/
# Correct the perms, so RUNIT can run...
RUN chmod 0755 -Rv /etc/service/
# SSH Config
ADD ./files/ssh/sshd_config /etc/ssh/sshd_config
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
| FROM phusion/baseimage:0.9.10
MAINTAINER github.com/jasonswindle
# Set correct environment variables.
ENV HOME /root
# Set root's password
RUN echo "root:changeme" | chpasswd
# Add the user rsync, touch the authorized_keys file, chown
RUN useradd rsync_user --create-home
RUN touch /home/rsync_user/.ssh/authorized_keys
RUN chown rsync_user:rsync_user -R /home/rsync_user/.ssh \
&& chmod 0700 /home/rsync_user/.ssh \
&& chmod 0644 /home/rsync_user/.ssh/authorized_keys
# Update apt's cache
RUN apt-get update
## Install what we need
RUN apt-get install -y -q --no-install-recommends \
python-pip \
man \
wget \
sudo \
software-properties-common \
locales \
ca-certificates \
ntp
# Ensure UTF-8
RUN locale-gen en_US.UTF-8 && update-locale
# Set the timezone
RUN echo "US/Central" > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
# Install Salt Master (of Masters)
RUN add-apt-repository ppa:saltstack/salt
# Update the apt database
RUN apt-get update
# Install Salt Master
RUN apt-get install -y -q --no-install-recommends \
salt-master
# Make this Salt Master, Master of Masters
RUN echo "order_masters: True" > /etc/salt/master.d/syndic.conf
# Add runit scripts
ADD ./files/runit/ /etc/service/
# Correct the perms, so RUNIT can run...
RUN chmod 0755 -Rv /etc/service/
# SSH Config
ADD ./files/ssh/sshd_config /etc/ssh/
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
| null |
226 | 11781f913e26cae0eb4f714731cc7fed333bdbcb | fix paths | fix paths
| # Use an official Python runtime as a parent image
FROM python:3.6-slim
ENV PYTHONUNBUFFERED 1
ENV NODE_ENV production
# add our user and group first to make sure their IDs get assigned consistently
RUN groupadd -r zeus && useradd -r -m -g zeus zeus
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN set -x \
&& apt-get -qy update \
&& apt-get -qy install -y --no-install-recommends \
gcc git python3-all python3-all-dev python3-pip \
libxml2-dev libxslt1-dev libpq-dev libffi-dev
# grab gosu for easy step-down from root
RUN set -x \
&& export GOSU_VERSION=1.10 \
&& apt-get update && apt-get install -y --no-install-recommends 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 purge -y --auto-remove wget
# grab tini for signal processing and zombie killing
RUN set -x \
&& export TINI_VERSION=0.14.0 \
&& apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
&& wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini" \
&& wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini.asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5 \
&& gpg --batch --verify /usr/local/bin/tini.asc /usr/local/bin/tini \
&& rm -r "$GNUPGHOME" /usr/local/bin/tini.asc \
&& chmod +x /usr/local/bin/tini \
&& tini -h \
&& apt-get purge -y --auto-remove wget
RUN set -x \
&& export NODE_VERSION=8.1.4 \
&& export GNUPGHOME="$(mktemp -d)" \
# gpg keys listed at https://github.com/nodejs/node
&& for key in \
9554F04D7259F04124DE6B476D5A82AC7E37093B \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
B9AE9905FFD7803F25714661B63B535A4C206CA9 \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \
&& apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
&& wget "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& wget "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
&& gpg --verify SHASUMS256.txt.asc \
&& grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm -r "$GNUPGHOME" "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
&& apt-get purge -y --auto-remove wget
RUN npm install -g yarn
COPY yarn.lock /usr/src/app/
COPY package.json /usr/src/app/
RUN yarn install
COPY requirements-base.txt /usr/src/app/
RUN pip install -r requirements-base.txt
COPY requirements-dev.txt /usr/src/app/
RUN pip install -r requirements-dev.txt
COPY requirements-test.txt /usr/src/app/
RUN pip install -r requirements-test.txt
COPY . /usr/src/app
RUN pip install -e .
RUN node_modules/.bin/webpack --config=config/webpack.config.dev.js
ENV REPO_ROOT /workspace/repos
RUN mkdir -p $REPO_ROOT
ENV PATH /usr/src/app/bin:$PATH
# Make port 8080 available to the world outside this container
EXPOSE 5000
VOLUME /workspace
ENTRYPOINT ["/usr/src/app/bin/docker-entrypoint"]
# Run Zeus
CMD ["run", "-p 5000"]
| # Use an official Python runtime as a parent image
FROM python:3.6-slim
ENV PYTHONUNBUFFERED 1
ENV NODE_ENV production
# add our user and group first to make sure their IDs get assigned consistently
RUN groupadd -r zeus && useradd -r -m -g zeus zeus
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN set -x \
&& apt-get -qy update \
&& apt-get -qy install -y --no-install-recommends \
gcc git python3-all python3-all-dev python3-pip \
libxml2-dev libxslt1-dev libpq-dev libffi-dev
# grab gosu for easy step-down from root
RUN set -x \
&& export GOSU_VERSION=1.10 \
&& apt-get update && apt-get install -y --no-install-recommends 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 purge -y --auto-remove wget
# grab tini for signal processing and zombie killing
RUN set -x \
&& export TINI_VERSION=0.14.0 \
&& apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
&& wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini" \
&& wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini.asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 6380DC428747F6C393FEACA59A84159D7001A4E5 \
&& gpg --batch --verify /usr/local/bin/tini.asc /usr/local/bin/tini \
&& rm -r "$GNUPGHOME" /usr/local/bin/tini.asc \
&& chmod +x /usr/local/bin/tini \
&& tini -h \
&& apt-get purge -y --auto-remove wget
RUN set -x \
&& export NODE_VERSION=8.1.4 \
&& export GNUPGHOME="$(mktemp -d)" \
# gpg keys listed at https://github.com/nodejs/node
&& for key in \
9554F04D7259F04124DE6B476D5A82AC7E37093B \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
B9AE9905FFD7803F25714661B63B535A4C206CA9 \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \
&& apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
&& wget "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& wget "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
&& gpg --verify SHASUMS256.txt.asc \
&& grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm -r "$GNUPGHOME" "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
&& apt-get purge -y --auto-remove wget
RUN npm install -g yarn
COPY yarn.lock /usr/src/app/
COPY package.json /usr/src/app/
RUN yarn install
COPY requirements-base.txt /usr/src/app/
RUN pip install -r requirements-base.txt
COPY requirements-dev.txt /usr/src/app/
RUN pip install -r requirements-dev.txt
COPY requirements-test.txt /usr/src/app/
RUN pip install -r requirements-test.txt
COPY . /usr/src/app
RUN pip install -e .
RUN node_modules/.bin/webpack --config=config/webpack.config.dev.js
ENV REPO_ROOT /workspace/repos
RUN mkdir -p $REPO_ROOT
ENV PATH /usr/src/app/bin:$PATH
# Make port 8080 available to the world outside this container
EXPOSE 5000
VOLUME /workspace
ENTRYPOINT ["/usr/src/app/bin/docker-entrypoint"]
# Run Zeus
CMD ["zeus", "run", "-p 5000"]
| null |
2124 | 29adf4b74b1dd6194a49756b70ce860bd294c9b2 | [Wen Hao] - update dockerfile. | [Wen Hao] - update dockerfile.
| FROM centos:centos7
MAINTAINER Wen Hao (https://github.com/wenhao)
# Jenkins LTS packages from
# https://pkg.jenkins.io/redhat-stable/
LABEL version=v1.0.0 \
k8s.io.description="Jenkins is a continuous integration server" \
k8s.io.display-name="Jenkins 2.60.2" \
openshift.io.expose-services="8080:http" \
openshift.io.tags="jenkins,jenkins2,ci"
# install java 8
RUN yum install -y git wget zip unzip
ENV JAVA_VERSION=8u144 \
BUILD_VERSION=b01
RUN wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/090f390dda5b47b9b721c7dfaa008135/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm && \
yum -y install /tmp/jdk-8-linux-x64.rpm && \
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000 && \
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000 && \
alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 20000 && \
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
ENV JAVA_HOME /usr/java/latest
# install jenkins
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ARG http_port=8080
ARG agent_port=50000
ARG JENKINS_VERSION=2.60.2
ENV HOME=/var/jenkins_home \
JENKINS_HOME=/var/jenkins_home \
JENKINS_ADMIN_USERNAME=admin \
JENKINS_ADMIN_PASSWORD=admin \
JENKINS_SLAVE_AGENT_PORT=${agent_port} \
JENKINS_VERSION=${JENKINS_VERSION:-2.60.2}
# Jenkins is run with user `jenkins`, uid = 1000
# If you bind mount a volume from the host or a data container,
# ensure you use the same uid
RUN groupadd -g ${gid} ${group} \
&& useradd -d "$JENKINS_HOME" -u ${uid} -g ${gid} -m -s /bin/bash ${user}
# Jenkins home directory is a volume, so configuration and build history
# can be persisted and survive image upgrades
VOLUME /var/jenkins_home
# `/usr/share/jenkins/ref/` contains all reference configuration we want
# to set on a fresh new installation. Use it to bundle additional plugins
# or config file with your custom jenkins Docker image.
RUN mkdir -p /usr/share/jenkins/ref/init.groovy.d
ENV TINI_VERSION v0.14.0
ENV TINI_SHA 6c41ec7d33e857d4779f14d9c74924cab0c7973485d2972419a3b7c7620ff5fd
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-amd64 -o /bin/tini && chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha256sum -c -
COPY ./scripts/init.groovy /usr/share/jenkins/ref/init.groovy.d/init.groovy
# jenkins.war checksum, download will be validated using it
ARG JENKINS_SHA=14d0788d89be82958a46965de039a55813f9727bd4d0592dc77905976483ba95
# Can be used to customize where jenkins.war get downloaded from
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum
# see https://github.com/docker/docker/issues/8331
RUN curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war \
&& echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha256sum -c -
ENV JENKINS_UC http://archives.jenkins-ci.org
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental
# for main web interface:
EXPOSE ${http_port}
# will be used by attached slave agents:
EXPOSE ${agent_port}
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log
COPY ./scripts/jenkins-support /usr/local/bin/jenkins-support
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
COPY ./scripts/install-plugins.sh /usr/local/bin/install-plugins.sh
# curl -sSL "http://username:password@myhost.com:port/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
COPY ./scripts/plugins.txt /usr/share/jenkins/ref/plugins.txt
# avoid banner
RUN echo -n ${JENKINS_VERSION:-2.60.2} > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state && \
echo -n ${JENKINS_VERSION:-2.60.2} > /usr/share/jenkins/ref/jenkins.install.InstallUtil.lastExecVersion
COPY ./scripts/jenkins.sh /usr/local/bin/jenkins.sh
RUN chmod +x /usr/local/bin/install-plugins.sh /usr/local/bin/jenkins.sh && \
/usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt && \
chown -R ${user} $JENKINS_HOME /usr/share/jenkins/ref /usr/local/bin && \
touch "${COPY_REFERENCE_FILE_LOG}"
# install docker
RUN yum install -y yum-utils device-mapper-persistent-data lvm2 && \
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \
yum makecache fast && \
yum install -y docker-ce && \
systemctl start docker
USER ${user}
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
| null | null |
79 | 5451996d9263390cbf34ada2c22252d9a0b15594 | Bumped source to 20201201-cae139e | Bumped source to 20201201-cae139e
| FROM docker.pkg.github.com/dock0/arch/arch:20201201-b0a7036
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20201201-cae139e
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
105 | e28a824971ee6773d4f9f85a41d0f13e0351e648 | Update Node.js to v18 (#7643) | Update Node.js to v18 (#7643)
Co-authored-by: Renovate Bot <c71e7261d37a4f6ae4cfb0cbd79081310a237e67@renovateapp.com> | FROM node:14
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y xorg xvfb libxss-dev libgtk-3-0 gconf2 libnss3 libasound2 libsecret-1-0
ENV CXX="g++-4.9"
ENV CC="gcc-4.9"
ENV DISPLAY=:99.0
WORKDIR /app
ENTRYPOINT ["sh", "-c", "(Xvfb $DISPLAY -screen 0 1024x768x16 &) && npm run test"]
| FROM node:18
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y xorg xvfb libxss-dev libgtk-3-0 gconf2 libnss3 libasound2 libsecret-1-0
ENV CXX="g++-4.9"
ENV CC="gcc-4.9"
ENV DISPLAY=:99.0
WORKDIR /app
ENTRYPOINT ["sh", "-c", "(Xvfb $DISPLAY -screen 0 1024x768x16 &) && npm run test"]
| null |
2276 | 272513f0e73daa13231b4b35b1fc270788c2b427 | Update Dockerfile | Update Dockerfile | FROM postgres:11-alpine
RUN apk add --no-cache curl jq
ENV DB_NAME=""
ENV DB_SCHEMA=""
ENV DB_CRUD_USER=""
ENV DB_CRUD_PASS=""
ENV DB_R_USER=""
ENV DB_R_PASS=""
COPY ./users.sql /docker-entrypoint-initdb.d/01.sql
COPY ./database.sql /docker-entrypoint-initdb.d/02.sql
COPY ./functions/row_inserted.sql /docker-entrypoint-initdb.d/03.sql
COPY ./functions/row_updated.sql /docker-entrypoint-initdb.d/04.sql
COPY ./tables/api.taxonomy.sql /docker-entrypoint-initdb.d/05.sql
COPY ./tables/api.statuses.sql /docker-entrypoint-initdb.d/06.sql
COPY ./tables/api.scopes.sql /docker-entrypoint-initdb.d/07.sql
COPY ./tables/api.components.sql /docker-entrypoint-initdb.d/08.sql
COPY ./tables/api.comments.sql /docker-entrypoint-initdb.d/09.sql
COPY ./tables/api.links.sql /docker-entrypoint-initdb.d/10.sql
COPY ./tables/api.usecases.sql /docker-entrypoint-initdb.d/11.sql
COPY ./tables/api.component_taxonomy.sql /docker-entrypoint-initdb.d/12.sql
COPY ./views/api.w_usecases.sql /docker-entrypoint-initdb.d/13.sql
COPY ./views/api.w_components.sql /docker-entrypoint-initdb.d/14.sql
COPY ./views/api.w_taxonomy.sql /docker-entrypoint-initdb.d/15.sql
ENTRYPOINT ["entrypoint.sh"]
| null | null |
407 | 833ac22b7a805cee6e4e11c15a7a61201c26e118 | Bumped source to 20220514-b2fe335 | Bumped source to 20220514-b2fe335
| FROM ghcr.io/dock0/arch:20220514-1763649
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20220514-b2fe335
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
268 | 9ca96efee277bfc1148f512dcc087636f7cf8ec1 | Debugging. | Debugging.
| # DOCKER-VERSION 0.3.4
# image olafradicke/fedora20-icinga2-check_km
# Install based on Doku http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started
FROM fedora:20
MAINTAINER Olaf Raicke <olaf@atix.de>
ENV ICINGA2_USER icinga
ENV ICINGA2_GROUP icingacmd
ENV ICINGA2_CONFIG_FILE /etc/icinga2/icinga.cfg
ENV ICINGA2_ERROR_LOG /var/log/icinga2/error.log
ENV BUILD_DIR /tmp
RUN yum -y update
RUN yum -y --setopt=tsflags=nodocs install wget
#tar gzip cmake make bison flex gcc-c++ boost-devel
RUN yum -y --setopt=tsflags=nodocs install httpd gcc glibc glibc-common gd gd-devel
RUN yum -y --setopt=tsflags=nodocs install libjpeg libjpeg-devel libpng libpng-devel
RUN yum -y --setopt=tsflags=nodocs install net-snmp net-snmp-devel net-snmp-utils
RUN yum clean all
RUN wget http://packages.icinga.org/fedora/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
RUN yum makecache
RUN yum -y --setopt=tsflags=nodocs install icinga2 nagios-plugins-all
RUN echo "/usr/sbin/icinga2 -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP $ICINGA2_CONFIG_FILE && echo icinga is started... > /tmp/icinga.out" > /opt/icinga2_start.sh
# /usr/sbin/icinga2 -d /usr/local/icinga/etc/icinga.cfg
RUN chmod 770 /opt/icinga2_start.sh
RUN mkdir /var/run/icinga2/
RUN chown $ICINGA2_USER.$ICINGA2_GROUP /var/run/icinga2/
#############################
# check_mk
RUN yum -y install --nogpgcheck https://mathias-kettner.de/download/check_mk-agent-1.2.4p5-1.noarch.rpm
###################################################
# for password less logins
VOLUME ["/root/.ssh:/var/docker-container/root-ssh"]
EXPOSE 22
############################################
# ENTRYPOINT ["/opt/icinga2_start.sh"]
ENTRYPOINT ["/usr/sbin/icinga2"]
CMD ["--daemonize","--errorlog","/var/log/icinga2/error.log","--user","icinga","--group","icingacmd","/etc/icinga2/icinga.cfg","&"]
| # DOCKER-VERSION 0.3.4
# image olafradicke/fedora20-icinga2-check_km
# Install based on Doku http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started
FROM fedora:20
MAINTAINER Olaf Raicke <olaf@atix.de>
ENV ICINGA2_USER icinga
ENV ICINGA2_GROUP icingacmd
ENV ICINGA2_CONFIG_FILE /etc/icinga2/icinga.cfg
ENV ICINGA2_ERROR_LOG /var/log/icinga2/error.log
ENV BUILD_DIR /tmp
RUN yum -y update
RUN yum -y --setopt=tsflags=nodocs install wget
#tar gzip cmake make bison flex gcc-c++ boost-devel
RUN yum -y --setopt=tsflags=nodocs install httpd gcc glibc glibc-common gd gd-devel
RUN yum -y --setopt=tsflags=nodocs install libjpeg libjpeg-devel libpng libpng-devel
RUN yum -y --setopt=tsflags=nodocs install net-snmp net-snmp-devel net-snmp-utils
RUN yum clean all
RUN wget http://packages.icinga.org/fedora/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
RUN yum makecache
RUN yum -y --setopt=tsflags=nodocs install icinga2 nagios-plugins-all
RUN echo "/usr/sbin/icinga2 -d -e $ICINGA2_ERROR_LOG -u $ICINGA2_USER -g $ICINGA2_GROUP $ICINGA2_CONFIG_FILE && echo icinga is started... > /tmp/icinga.out" > /opt/icinga2_start.sh
# /usr/sbin/icinga2 -d /usr/local/icinga/etc/icinga.cfg
RUN chmod 770 /opt/icinga2_start.sh
RUN mkdir /var/run/icinga2/
RUN chown $ICINGA2_USER.$ICINGA2_GROUP /var/run/icinga2/
#############################
# check_mk
RUN yum -y install --nogpgcheck https://mathias-kettner.de/download/check_mk-agent-1.2.4p5-1.noarch.rpm
###################################################
# for password less logins
VOLUME ["/root/.ssh:/var/docker-container/root-ssh"]
EXPOSE 22
############################################
# ENTRYPOINT ["/opt/icinga2_start.sh"]
ENTRYPOINT ["/usr/sbin/icinga2"]
CMD ["--daemonize","--errorlog","/var/log/icinga2/error.log","--user","icinga","--group","icingacmd","/etc/icinga2/icinga.cfg"]
| null |
67 | 47ef33928f5b668a93061406e4d400d6e75f16e6 | Bumped source to 20200328-c42f720 | Bumped source to 20200328-c42f720
| FROM docker.pkg.github.com/dock0/service/service:20200328-ecbb6dc
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200328-c42f720
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
27 | 8d47ced7d134f032c395c67a61351ba07c999b24 | fix bug in Dockerfile | fix bug in Dockerfile
| # to build the image
#
# sudo docker build -t simonsdave/cloudfeaster .
#
# for testing/debugging
#
# sudo docker run -i -t simonsdave/cloudfeaster /bin/bash
#
# to push to dockerhub
#
# sudo docker push simonsdave/cloudfeaster
#
FROM ubuntu:14.04
MAINTAINER Dave Simons
RUN apt-get update -y
# was getting "chfn: PAM: System error" messages during install
# and advice from following page was to do the "ln -s"
# http://stackoverflow.com/questions/25193161/chfn-pam-system-error-intermittently-in-docker-hub-builds/25267015#25267015
RUN ln -s -f /bin/true /usr/bin/chfn
RUN apt-get install -y curl
RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -y google-chrome-stable
RUN apt-get install -y xvfb
RUN apt-get install -y unzip
RUN curl -s --output chromedriver.zip http://chromedriver.storage.googleapis.com/2.19/chromedriver_linux64.zip
RUN unzip chromedriver.zip
RUN rm chromedriver.zip
RUN mv chromedriver /usr/bin/.
RUN chown root.root /usr/bin/chromedriver
RUN chmod a+wrx /usr/bin/chromedriver
RUN apt-get install -y python
RUN apt-get install -y python-pip
RUN pip install pip==1.5.6
RUN mkdir /tmp/clf
ADD bin /tmp/clf/bin
ADD cloudfeaster /tmp/clf/cloudfeaster
COPY setup.py /tmp/clf/setup.py
COPY MANIFEST.in /tmp/clf/MANIFEST.in
RUN cd /tmp/clf; python setup.py sdist --formats=gztar
RUN pip install --process-dependency-links /tmp/clf/dist/cloudfeaster-*.*.*.tar.gz
RUN rm -rf /tmp/clf
| # to build the image
#
# sudo docker build -t simonsdave/cloudfeaster .
#
# for testing/debugging
#
# sudo docker run -i -t simonsdave/cloudfeaster /bin/bash
#
# to push to dockerhub
#
# sudo docker push simonsdave/cloudfeaster
#
FROM ubuntu:14.04
MAINTAINER Dave Simons
RUN apt-get update -y
# was getting "chfn: PAM: System error" messages during install
# and advice from following page was to do the "ln -s"
# http://stackoverflow.com/questions/25193161/chfn-pam-system-error-intermittently-in-docker-hub-builds/25267015#25267015
RUN ln -s -f /bin/true /usr/bin/chfn
RUN apt-get install -y curl
RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -y google-chrome-stable
RUN apt-get install -y xvfb
RUN apt-get install -y unzip
RUN curl -s --output chromedriver.zip http://chromedriver.storage.googleapis.com/2.19/chromedriver_linux64.zip
RUN unzip chromedriver.zip
RUN rm chromedriver.zip
RUN mv chromedriver /usr/bin/.
RUN chown root.root /usr/bin/chromedriver
RUN chmod a+wrx /usr/bin/chromedriver
RUN apt-get install -y python
RUN apt-get install -y python-pip
RUN pip install pip==1.5.6
COPY cloudfeaster.tar.gz /tmp/cloudfeaster.tar.gz
RUN pip install --process-dependency-links /tmp/cloudfeaster.tar.gz
RUN rm -rf /tmp/cloudfeaster.tar.gz
| null |
64 | 74065d913dec2ed7603f87e440a05bc207ec2551 | Bump ruby version to 2.2.3 | Bump ruby version to 2.2.3
| FROM ruby:2.2.2-onbuild
MAINTAINER Issei Naruta <mimitako@gmail.com>
ENV LANG C.UTF-8
ENTRYPOINT ["fav2reblog"]
CMD ["-c", "fav2reblog.yml", "-i", "60"]
| FROM ruby:2.2.3-onbuild
MAINTAINER Issei Naruta <mimitako@gmail.com>
ENV LANG C.UTF-8
ENTRYPOINT ["fav2reblog"]
CMD ["-c", "fav2reblog.yml", "-i", "60"]
| null |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.