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 |
---|---|---|---|---|---|---|
2326 | 0d2419701d3deb4b687fbe9c7a13dfe4070224d1 | Bumped source to 20210111-c24513c | Bumped source to 20210111-c24513c
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210111-32c6242
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | bug fix |
2140 | 9acad0781665dc190144ca0964b0393115e645fd | Bumped source to 20220511-e49da8f | Bumped source to 20220511-e49da8f
| FROM ghcr.io/dock0/arch:20220511-55c4c7a
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
255 | 99114cd9be9ae10b26c39413cb19c5f112fea8c2 | openshift: fixed typo | openshift: fixed typo
| FROM python:2
MAINTAINER Yuri Konotopov <[email protected]>
ENV PYTHONUNBUFFERED=1 \
XAPIAN_VERSION=1.4.9 \
GPG_KEY=08E2400FF7FE8FEDE3ACB52818147B073BAD2B07
RUN set -ex \
&& pip install Sphinx \
&& wget -O xapian-core.tar.xz "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-core-$XAPIAN_VERSION.tar.xz" \
&& wget -O xapian-core.tar.xz.asc "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-core-$XAPIAN_VERSION.tar.xz.asc" \
&& wget -O xapian-bindings.tar.xz "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-bindings-$XAPIAN_VERSION.tar.xz" \
&& wget -O xapian-bindings.tar.xz.asc "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-bindings-$XAPIAN_VERSION.tar.xz.asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& \
found=''; \
for server in \
ha.pool.sks-keyservers.net \
hkp://keyserver.ubuntu.com:80 \
hkp://p80.pool.sks-keyservers.net:80 \
pgp.mit.edu \
; do \
echo "Fetching GPG key $GPG_KEY from $server"; \
gpg --batch --keyserver $server --recv-keys "$GPG_KEY" && found=yes && break; \
done; \
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEY" && exit 1; \
gpg --batch --verify xapian-core.tar.xz.asc xapian-core.tar.xz \
&& gpg --batch --verify xapian-bindings.tar.xz.asc xapian-bindings.tar.xz \
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
&& rm -r "$GNUPGHOME" xapian-core.tar.xz.asc xapian-bindings.tar.xz.asc \
&& mkdir -p /usr/src/xapian-core \
&& mkdir -p /usr/src/xapian-bindings \
&& tar -xJC /usr/src/xapian-core --strip-components=1 -f xapian-core.tar.xz \
&& rm xapian-core.tar.xz \
&& tar -xJC /usr/src/xapian-bindings --strip-components=1 -f xapian-bindings.tar.xz \
&& rm xapian-bindings.tar.xz \
&& cd /usr/src/xapian-core \
&& ./configure \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
&& rm -r /usr/src/xapian-core \
&& cd /usr/src/xapian-bindings \
&& ./configure \
--with-python \
&& make -j "$(nproc)" \
&& make install \
&& find /usr/local -depth \
\( \
\( -type d -a \( -name test -o -name tests \) \) \
-o \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -r '{}' + \
&& rm -r /usr/src/xapian-bindings
RUN set -ex \
&& mkdir -p /extensions-web/app \
&& mkdir -p /extensions-web/data \
&& mkdir -p /extensions-web/www \
&& chmod g+rwX -R /extensions-web/data \
&& chmod g+rwX -R /extensions-web/www
WORKDIR /extensions-web/app
COPY . /extensions-web/app
COPY openshift/docker/wsgi.ini /extensions-web
RUN set -ex \
&& chown www-data:root -R /extensions-web/app \
&& chown www-data:root /extensions-web/wsgi.ini \
&& pip install -r requirements.txt \
&& pip install mysql-python \
&& pip install uWSGI
ENTRYPOINT["bash"]
| FROM python:2
MAINTAINER Yuri Konotopov <[email protected]>
ENV PYTHONUNBUFFERED=1 \
XAPIAN_VERSION=1.4.9 \
GPG_KEY=08E2400FF7FE8FEDE3ACB52818147B073BAD2B07
RUN set -ex \
&& pip install Sphinx \
&& wget -O xapian-core.tar.xz "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-core-$XAPIAN_VERSION.tar.xz" \
&& wget -O xapian-core.tar.xz.asc "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-core-$XAPIAN_VERSION.tar.xz.asc" \
&& wget -O xapian-bindings.tar.xz "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-bindings-$XAPIAN_VERSION.tar.xz" \
&& wget -O xapian-bindings.tar.xz.asc "https://oligarchy.co.uk/xapian/$XAPIAN_VERSION/xapian-bindings-$XAPIAN_VERSION.tar.xz.asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& \
found=''; \
for server in \
ha.pool.sks-keyservers.net \
hkp://keyserver.ubuntu.com:80 \
hkp://p80.pool.sks-keyservers.net:80 \
pgp.mit.edu \
; do \
echo "Fetching GPG key $GPG_KEY from $server"; \
gpg --batch --keyserver $server --recv-keys "$GPG_KEY" && found=yes && break; \
done; \
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEY" && exit 1; \
gpg --batch --verify xapian-core.tar.xz.asc xapian-core.tar.xz \
&& gpg --batch --verify xapian-bindings.tar.xz.asc xapian-bindings.tar.xz \
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
&& rm -r "$GNUPGHOME" xapian-core.tar.xz.asc xapian-bindings.tar.xz.asc \
&& mkdir -p /usr/src/xapian-core \
&& mkdir -p /usr/src/xapian-bindings \
&& tar -xJC /usr/src/xapian-core --strip-components=1 -f xapian-core.tar.xz \
&& rm xapian-core.tar.xz \
&& tar -xJC /usr/src/xapian-bindings --strip-components=1 -f xapian-bindings.tar.xz \
&& rm xapian-bindings.tar.xz \
&& cd /usr/src/xapian-core \
&& ./configure \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
&& rm -r /usr/src/xapian-core \
&& cd /usr/src/xapian-bindings \
&& ./configure \
--with-python \
&& make -j "$(nproc)" \
&& make install \
&& find /usr/local -depth \
\( \
\( -type d -a \( -name test -o -name tests \) \) \
-o \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -r '{}' + \
&& rm -r /usr/src/xapian-bindings
RUN set -ex \
&& mkdir -p /extensions-web/app \
&& mkdir -p /extensions-web/data \
&& mkdir -p /extensions-web/www \
&& chmod g+rwX -R /extensions-web/data \
&& chmod g+rwX -R /extensions-web/www
WORKDIR /extensions-web/app
COPY . /extensions-web/app
COPY openshift/docker/wsgi.ini /extensions-web
RUN set -ex \
&& chown www-data:root -R /extensions-web/app \
&& chown www-data:root /extensions-web/wsgi.ini \
&& pip install -r requirements.txt \
&& pip install mysql-python \
&& pip install uWSGI
ENTRYPOINT ["bash"]
| feature addition, code refactoring |
2285 | 8bcc0bb51b38e6a349f979ad484796da260e6707 | Bumped source to 20200821-ae1010d | Bumped source to 20200821-ae1010d
| FROM docker.pkg.github.com/dock0/service/service:20200821-e00efce
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | maintenance/other |
333 | 6db97f0fcca19853d56afe3898fe1a0576cc49aa | simplifying command, adding docs | simplifying command, adding docs
| # http://phusion.github.io/baseimage-docker/
FROM phusion/baseimage
# Herc's default port
EXPOSE 4372
# This is so some tools don't crash (namely htop)
ENV TERM=xterm-256color
# Use baseimage's init system.
CMD ["/sbin/my_init"]
# Install Herc.
ADD . /herc
RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse" && \
apt-get update && \
apt-get install wget && \
# Note that the next two commands is here to fix Ubuntu's broken Python 3 installation.
# for some crazy reason, the 'ensurepip' module in missingPython's default installation location.
# This causes pyvenv-3.4 to fail. This hack downloads the module and installs it to the right
# place in /usr/lib/python3.4.
#
# (see: https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847)
wget http://d.pr/f/YqS5+ -O /usr/lib/python3.4/ensurepip.tar.gz && \
tar -xvzf /usr/lib/python3.4/ensurepip.tar.gz && \
# Clean up intermediate files to keep the docker images small
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/lib/python3.4/ensurepip.tar.gz
RUN pyvenv-3.4 /herc_venv
RUN ["/bin/bash", "-c", "/herc/docker/install.sh /herc /herc_venv"]
# Add Herc as a service (it will start when the container starts)
RUN mkdir /etc/service/herc
ADD docker/run.sh /etc/service/herc/run
# These next 4 commands are for enabling SSH to the container.
# id_rsa.pub is referenced below, but this should be any public key
# that you want to be added to authorized_keys for the root user.
# Copy the public key into this directory because ADD cannot reference
# Files outside of this directory
#EXPOSE 22
#RUN rm -f /etc/service/sshd/down
#ADD id_rsa.pub /tmp/id_rsa.pub
#RUN cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys
| # http://phusion.github.io/baseimage-docker/
FROM phusion/baseimage
# Herc's default port
EXPOSE 4372
# This is so some tools don't crash (namely htop)
ENV TERM=xterm-256color
# Use baseimage's init system.
CMD ["/sbin/my_init"]
# Install Herc.
ADD . /herc
RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse" && \
apt-get update && \
apt-get install wget && \
# Note that the next command is here to fix Ubuntu's broken Python 3 installation.
# For some crazy reason, the 'ensurepip' module in missing in Python's default installation
# location. This causes pyvenv-3.4 to fail. This hack downloads the module and installs
# it to the right place in /usr/lib/python3.4.
#
# (see: https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847)
curl -L http://d.pr/f/YqS5+ | tar xvz -C /usr/lib/python3.4
# Clean up intermediate files to keep the docker images small
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/lib/python3.4/ensurepip.tar.gz
RUN pyvenv-3.4 /herc_venv
RUN ["/bin/bash", "-c", "/herc/docker/install.sh /herc /herc_venv"]
# Add Herc as a service (it will start when the container starts)
RUN mkdir /etc/service/herc
ADD docker/run.sh /etc/service/herc/run
# These next 4 commands are for enabling SSH to the container.
# id_rsa.pub is referenced below, but this should be any public key
# that you want to be added to authorized_keys for the root user.
# Copy the public key into this directory because ADD cannot reference
# Files outside of this directory
#EXPOSE 22
#RUN rm -f /etc/service/sshd/down
#ADD id_rsa.pub /tmp/id_rsa.pub
#RUN cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys
| maintenance/other |
259 | 5fa7fb1b78126d4ad5bd60c523a97ec786d3dc48 | Bumped source to 20201018-f4a020c | Bumped source to 20201018-f4a020c
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201018-e11ca83
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201018-f4a020c
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| maintenance/other |
408 | 5de83f482bac82ea2997df9e291e6cde8cc55088 | Bump minor version for new kernel | Bump minor version for new kernel
| FROM alpine:3.5
MAINTAINER [email protected]
########################################################################
# Set up OS
########################################################################
EXPOSE 80 443
WORKDIR /root
ENV CPPFLAGS=-s \
SHELL=/bin/bash
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["jupyter-notebook-secure"]
COPY util/* /usr/local/bin/
COPY config/bashrc /root/.bashrc
COPY patches /root/.patches
COPY config/repositories /etc/apk/repositories
COPY config/*.rsa.pub /etc/apk/keys/
RUN \
min-apk -u zlib && \
min-apk \
bash \
bzip2 \
curl \
file \
gcc \
g++ \
git \
libressl \
libsodium-dev \
make \
openssh-client \
patch \
readline-dev \
tar \
tini && \
echo "### Install specific version of zeromq from source" && \
min-package https://archive.org/download/zeromq_4.0.4/zeromq-4.0.4.tar.gz && \
ln -s /usr/local/lib/libzmq.so.3 /usr/local/lib/libzmq.so.4 && \
strip --strip-unneeded --strip-debug /usr/local/bin/curve_keygen && \
echo "### Alpine compatibility patch for various packages" && \
if [ ! -f /usr/include/xlocale.h ]; then echo '#include <locale.h>' > /usr/include/xlocale.h; fi && \
echo "### Cleanup unneeded files" && \
clean-terminfo && \
rm /bin/bashbug && \
rm /usr/local/share/man/*/zmq* && \
rm -rf /usr/include/c++/*/java && \
rm -rf /usr/include/c++/*/javax && \
rm -rf /usr/include/c++/*/gnu/awt && \
rm -rf /usr/include/c++/*/gnu/classpath && \
rm -rf /usr/include/c++/*/gnu/gcj && \
rm -rf /usr/include/c++/*/gnu/java && \
rm -rf /usr/include/c++/*/gnu/javax && \
rm /usr/libexec/gcc/x86_64-alpine-linux-musl/*/cc1obj && \
rm /usr/bin/gcov* && \
rm /usr/bin/gprof && \
rm /usr/bin/*gcj
########################################################################
# Install Python2 & Jupyter
########################################################################
COPY config/jupyter /root/.jupyter/
RUN \
min-apk \
libffi-dev \
py2-pygments \
py2-cffi \
py2-cryptography \
py2-decorator \
py2-jinja2 \
py2-openssl \
py2-pexpect \
py2-pip \
py2-tornado \
python \
python-dev && \
pip install --no-cache-dir --upgrade setuptools pip && \
mkdir -p `python -m site --user-site` && \
min-pip jupyter ipywidgets jupyterlab jupyter_dashboards && \
jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
pip install http://github.com/nbgallery/nbgallery-extensions/tarball/master#egg=jupyter_nbgallery && \
jupyter serverextension enable --py jupyter_nbgallery && \
jupyter nbextension install --py jupyter_nbgallery && \
jupyter nbextension enable jupyter_nbgallery --py && \
jupyter serverextension enable --py jupyterlab --sys-prefix && \
jupyter dashboards quick-setup --sys-prefix && \
echo "### Cleanup unneeded files" && \
rm -rf /usr/lib/python2*/*/tests && \
rm -rf /usr/lib/python2*/ensurepip && \
rm -rf /usr/lib/python2*/idlelib && \
rm /usr/lib/python2*/distutils/command/*exe && \
rm -rf /usr/share/man/* && \
clean-pyc-files /usr/lib/python2* && \
echo "### Apply patches" && \
cd / && \
sed -i 's/_max_upload_size_mb = [0-9][0-9]/_max_upload_size_mb = 50/g' \
/usr/lib/python2*/site-packages/notebook/static/tree/js/notebooklist.js \
/usr/lib/python2*/site-packages/notebook/static/tree/js/main.min.js \
/usr/lib/python2*/site-packages/notebook/static/tree/js/main.min.js.map && \
patch -p0 < /root/.patches/ipykernel_displayhook && \
patch -p0 < /root/.patches/websocket_keepalive && \
patch --no-backup-if-mismatch -p0 < /root/.patches/notebook_pr2061 && \
/root/.patches/sed_for_pr2061
########################################################################
# Install ipydeps
########################################################################
RUN \
pip install http://github.com/nbgallery/pypki2/tarball/master#egg=pypki2 && \
pip install http://github.com/nbgallery/ipydeps/tarball/master#egg=ipydeps && \
clean-pyc-files /usr/lib/python2* && \
echo "### TODO: applying workaround for https://github.com/nbgallery/ipydeps/issues/7" && \
sed -i 's/packages = set(packages)/#packages = set(packages)/' /usr/lib/python2*/site-packages/ipydeps/__init__.py
########################################################################
# Add dynamic kernels
########################################################################
ADD kernels /usr/share/jupyter/kernels/
ENV JAVA_HOME=/usr/lib/jvm/default-jvm \
SPARK_HOME=/usr/spark \
GOPATH=/go
ENV PATH=$PATH:$JAVA_HOME/bin:$SPARK_HOME/bin:$GOPATH/bin:/usr/share/jupyter/kernels/installers \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/amd64/server
########################################################################
# Add Bash kernel
########################################################################
RUN \
min-pip bash_kernel && \
python -m bash_kernel.install && \
clean-pyc-files /usr/lib/python2*
########################################################################
# Metadata
########################################################################
ENV NBGALLERY_CLIENT_VERSION=5.5.5
LABEL gallery.nb.version=$NBGALLERY_CLIENT_VERSION \
gallery.nb.description="Minimal alpine-based Jupyter notebook server" \
gallery.nb.URL="https://github.com/nbgallery"
| FROM alpine:3.5
MAINTAINER [email protected]
########################################################################
# Set up OS
########################################################################
EXPOSE 80 443
WORKDIR /root
ENV CPPFLAGS=-s \
SHELL=/bin/bash
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["jupyter-notebook-secure"]
COPY util/* /usr/local/bin/
COPY config/bashrc /root/.bashrc
COPY patches /root/.patches
COPY config/repositories /etc/apk/repositories
COPY config/*.rsa.pub /etc/apk/keys/
RUN \
min-apk -u zlib && \
min-apk \
bash \
bzip2 \
curl \
file \
gcc \
g++ \
git \
libressl \
libsodium-dev \
make \
openssh-client \
patch \
readline-dev \
tar \
tini && \
echo "### Install specific version of zeromq from source" && \
min-package https://archive.org/download/zeromq_4.0.4/zeromq-4.0.4.tar.gz && \
ln -s /usr/local/lib/libzmq.so.3 /usr/local/lib/libzmq.so.4 && \
strip --strip-unneeded --strip-debug /usr/local/bin/curve_keygen && \
echo "### Alpine compatibility patch for various packages" && \
if [ ! -f /usr/include/xlocale.h ]; then echo '#include <locale.h>' > /usr/include/xlocale.h; fi && \
echo "### Cleanup unneeded files" && \
clean-terminfo && \
rm /bin/bashbug && \
rm /usr/local/share/man/*/zmq* && \
rm -rf /usr/include/c++/*/java && \
rm -rf /usr/include/c++/*/javax && \
rm -rf /usr/include/c++/*/gnu/awt && \
rm -rf /usr/include/c++/*/gnu/classpath && \
rm -rf /usr/include/c++/*/gnu/gcj && \
rm -rf /usr/include/c++/*/gnu/java && \
rm -rf /usr/include/c++/*/gnu/javax && \
rm /usr/libexec/gcc/x86_64-alpine-linux-musl/*/cc1obj && \
rm /usr/bin/gcov* && \
rm /usr/bin/gprof && \
rm /usr/bin/*gcj
########################################################################
# Install Python2 & Jupyter
########################################################################
COPY config/jupyter /root/.jupyter/
RUN \
min-apk \
libffi-dev \
py2-pygments \
py2-cffi \
py2-cryptography \
py2-decorator \
py2-jinja2 \
py2-openssl \
py2-pexpect \
py2-pip \
py2-tornado \
python \
python-dev && \
pip install --no-cache-dir --upgrade setuptools pip && \
mkdir -p `python -m site --user-site` && \
min-pip jupyter ipywidgets jupyterlab jupyter_dashboards && \
jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
pip install http://github.com/nbgallery/nbgallery-extensions/tarball/master#egg=jupyter_nbgallery && \
jupyter serverextension enable --py jupyter_nbgallery && \
jupyter nbextension install --py jupyter_nbgallery && \
jupyter nbextension enable jupyter_nbgallery --py && \
jupyter serverextension enable --py jupyterlab --sys-prefix && \
jupyter dashboards quick-setup --sys-prefix && \
echo "### Cleanup unneeded files" && \
rm -rf /usr/lib/python2*/*/tests && \
rm -rf /usr/lib/python2*/ensurepip && \
rm -rf /usr/lib/python2*/idlelib && \
rm /usr/lib/python2*/distutils/command/*exe && \
rm -rf /usr/share/man/* && \
clean-pyc-files /usr/lib/python2* && \
echo "### Apply patches" && \
cd / && \
sed -i 's/_max_upload_size_mb = [0-9][0-9]/_max_upload_size_mb = 50/g' \
/usr/lib/python2*/site-packages/notebook/static/tree/js/notebooklist.js \
/usr/lib/python2*/site-packages/notebook/static/tree/js/main.min.js \
/usr/lib/python2*/site-packages/notebook/static/tree/js/main.min.js.map && \
patch -p0 < /root/.patches/ipykernel_displayhook && \
patch -p0 < /root/.patches/websocket_keepalive && \
patch --no-backup-if-mismatch -p0 < /root/.patches/notebook_pr2061 && \
/root/.patches/sed_for_pr2061
########################################################################
# Install ipydeps
########################################################################
RUN \
pip install http://github.com/nbgallery/pypki2/tarball/master#egg=pypki2 && \
pip install http://github.com/nbgallery/ipydeps/tarball/master#egg=ipydeps && \
clean-pyc-files /usr/lib/python2* && \
echo "### TODO: applying workaround for https://github.com/nbgallery/ipydeps/issues/7" && \
sed -i 's/packages = set(packages)/#packages = set(packages)/' /usr/lib/python2*/site-packages/ipydeps/__init__.py
########################################################################
# Add dynamic kernels
########################################################################
ADD kernels /usr/share/jupyter/kernels/
ENV JAVA_HOME=/usr/lib/jvm/default-jvm \
SPARK_HOME=/usr/spark \
GOPATH=/go
ENV PATH=$PATH:$JAVA_HOME/bin:$SPARK_HOME/bin:$GOPATH/bin:/usr/share/jupyter/kernels/installers \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/amd64/server
########################################################################
# Add Bash kernel
########################################################################
RUN \
min-pip bash_kernel && \
python -m bash_kernel.install && \
clean-pyc-files /usr/lib/python2*
########################################################################
# Metadata
########################################################################
ENV NBGALLERY_CLIENT_VERSION=5.6.0
LABEL gallery.nb.version=$NBGALLERY_CLIENT_VERSION \
gallery.nb.description="Minimal alpine-based Jupyter notebook server" \
gallery.nb.URL="https://github.com/nbgallery"
| Not enough inforamtion |
2204 | f6079760103713461fe88ef9329b70e54b5968a2 | Bumped source to 20221031-03ebe17 | Bumped source to 20221031-03ebe17
| FROM ghcr.io/dock0/arch:20221031-a8e8ec9
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | feature addition |
202 | 34a383097d12f4e5f0b9a34a6f37adea9aceb844 | update dockerfile | update dockerfile
| # Base Image to use
FROM alpine:3.3
# File Author / Maintainer
MAINTAINER Devonte Emokpae
# Install dependencies
RUN apk update && apk upgrade && \
apk add curl wget bash tree && \
rm -rf /var/cache/apk/*
RUN curl -sSL https://releases.hashicorp.com/consul-template/0.14.0/consul-template_0.14.0_linux_amd64.zip > /tmp/consul.zip && \
unzip /tmp/consul.zip -d /tmp && \
mv /tmp/consul-template /usr/bin/consul-template && \
rm -f /tmp/consul.zip
ENTRYPOINT ["/usr/bin/consul-template"]
| # Base Image to use
FROM alpine:3.4
# File Author / Maintainer
MAINTAINER Devonte Emokpae
# Install dependencies
RUN apk update && apk upgrade && \
apk add curl wget bash tree && \
rm -rf /var/cache/apk/*
RUN curl -sSL https://releases.hashicorp.com/consul-template/0.15.0/consul-template_0.15.0_linux_amd64.zip > /tmp/consul.zip && \
unzip /tmp/consul.zip -d /tmp && \
mv /tmp/consul-template /usr/bin/consul-template && \
rm -f /tmp/consul.zip
ENTRYPOINT ["/usr/bin/consul-template"]
| maintenance/other |
2171 | e52fc40350aa0fa05d712f1c1abf0766f1e20162 | Adds dumb-init to avoid any PID 1 issue. | Adds dumb-init to avoid any PID 1 issue.
| FROM debian:jessie
# Default configuration
COPY mopidy.conf /var/lib/mopidy/.config/mopidy/mopidy.conf
# Start helper script
COPY entrypoint.sh /entrypoint.sh
# Official Mopidy install for Debian/Ubuntu along with some extensions
# (see https://docs.mopidy.com/en/latest/installation/debian/ )
RUN set -ex \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
gcc \
gstreamer0.10-alsa \
python-crypto \
&& curl -L https://apt.mopidy.com/mopidy.gpg -o /tmp/mopidy.gpg \
&& curl -L https://apt.mopidy.com/mopidy.list -o /etc/apt/sources.list.d/mopidy.list \
&& apt-key add /tmp/mopidy.gpg \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
mopidy \
mopidy-soundcloud \
mopidy-spotify \
&& curl -L https://bootstrap.pypa.io/get-pip.py | python - \
&& pip install -U six \
&& pip install \
Mopidy-Moped \
Mopidy-GMusic \
Mopidy-YouTube \
pyasn1==0.1.8 \
&& apt-get purge --auto-remove -y \
curl \
gcc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache \
&& chown mopidy:audio -R /var/lib/mopidy/.config \
&& chown mopidy:audio /entrypoint.sh
# Run as mopidy user
USER mopidy
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media"]
EXPOSE 6600 6680
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]
| null | maintenance/other |
2233 | a39bcda1b19d8ee860def9266a918ee245bcd9ac | Bumped source to 20200427-ce4260d | Bumped source to 20200427-ce4260d
| FROM docker.pkg.github.com/dock0/service/service:20200427-5d81f7f
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | bug fix |
312 | aa4e5f91ece84029868b5413d4cdd3397cd17d7d | Bumped source to 20210319-ad9d19c | Bumped source to 20210319-ad9d19c
| FROM docker.pkg.github.com/dock0/service/service:20210319-58a4d70
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20210319-ad9d19c
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| code refactoring |
406 | 6228db12baed915f3589a4374efe710a2b986763 | fixing docker test run failure by adding missing tests c_api_posit4 | fixing docker test run failure by adding missing tests c_api_posit4
| #
# multi-stage build
# docker build --target builder -t stillwater/universal:builder will just build a builder container
# docker build --target release -t stillwater/universal:release will just build a release container
# BUILDER stage
FROM gcc:7 as builder
MAINTAINER Theodore Omtzigt
# create a cmake build environment
RUN apt-get update && apt-get install -y build-essential apt-utils cmake \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# make certain you have a good .dockerignore file installed so that this layer isn't ginormous
COPY . /usr/src/universal
# print contextual information of the container at this state for validation the process is solid
RUN ls -la /usr/src/universal && cmake -version
# set up the cmake/make environment to issue the build commands
RUN mkdir build
WORKDIR /usr/src/universal/build
RUN cmake -DBUILD_CI_CHECK=ON .. && make
# actual command 'make test' is run as part of the test pipeline
# add a command that when you run the container without a command, it produces something meaningful
CMD ["echo", "Universal Numbers Library Version 2.0.0"]
# RELEASE stage
#FROM alpine:latest as release # hitting a segfault during startup of some playground programs
FROM debian:latest as release
MAINTAINER Theodore Omtzigt
#RUN apk add --no-cache libc6-compat libstdc++ make cmake bash gawk sed grep bc coreutils
RUN apt-get update && apt-get install -y make cmake
# after building, the test executables are organized in the build directory under root
# ctest gets its configuration for CTestTestfile.cmake files. There is one at the root of the build tree
# and one for each directory that contains test executables.
COPY --from=builder /usr/src/universal/build/tools/cmd/cmd_* /usr/src/universal/build/tools/cmd/
COPY --from=builder /usr/src/universal/build/tools/cmd/*.cmake /usr/src/universal/build/tools/cmd/
COPY --from=builder /usr/src/universal/build/tests/posit/posit_* /usr/src/universal/build/tests/posit/
COPY --from=builder /usr/src/universal/build/tests/posit/*.cmake /usr/src/universal/build/tests/posit/
COPY --from=builder /usr/src/universal/build/perf/perf_* /usr/src/universal/build/perf/
COPY --from=builder /usr/src/universal/build/perf/*.cmake /usr/src/universal/build/perf/
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit8 /usr/src/universal/build/c_api/test/posit/c_api_posit8
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit16 /usr/src/universal/build/c_api/test/posit/c_api_posit16
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit32 /usr/src/universal/build/c_api/test/posit/c_api_posit32
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit64 /usr/src/universal/build/c_api/test/posit/c_api_posit64
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit128 /usr/src/universal/build/c_api/test/posit/c_api_posit128
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit256 /usr/src/universal/build/c_api/test/posit/c_api_posit256
COPY --from=builder /usr/src/universal/build/c_api/test/posit/*.cmake /usr/src/universal/build/c_api/test/posit/
COPY --from=builder /usr/src/universal/build/examples/blas/blas_* /usr/src/universal/build/examples/blas/
COPY --from=builder /usr/src/universal/build/examples/blas/*.cmake /usr/src/universal/build/examples/blas/
COPY --from=builder /usr/src/universal/build/examples/dsp/dsp_* /usr/src/universal/build/examples/dsp/
COPY --from=builder /usr/src/universal/build/examples/dsp/*.cmake /usr/src/universal/build/examples/dsp/
COPY --from=builder /usr/src/universal/build/education/posit/edu_* /usr/src/universal/build/education/posit/
COPY --from=builder /usr/src/universal/build/education/posit/*.cmake /usr/src/universal/build/education/posit/
COPY --from=builder /usr/src/universal/build/examples/playground/playgr* /usr/src/universal/build/examples/playground/
COPY --from=builder /usr/src/universal/build/examples/playground/*.cmake /usr/src/universal/build/examples/playground/
# the ctest configuration root and Makefile so we can execute _make test_ in the test stage of the CI/CD pipeline
COPY --from=builder /usr/src/universal/build/Makefile /usr/src/universal/build/
COPY --from=builder /usr/src/universal/build/CTestTestfile.cmake /usr/src/universal/build/
WORKDIR /usr/src/universal/build
# double check we have all the executables of interest
RUN find .
#CMD ["/usr/src/universal/tools/cmd/cmd_numeric_limits"]
CMD ["echo", "Universal Numbers Library Version 2.0.0"]
| #
# multi-stage build
# docker build --target builder -t stillwater/universal:builder will just build a builder container
# docker build --target release -t stillwater/universal:release will just build a release container
# BUILDER stage
FROM gcc:7 as builder
MAINTAINER Theodore Omtzigt
# create a cmake build environment
RUN apt-get update && apt-get install -y build-essential apt-utils cmake \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# make certain you have a good .dockerignore file installed so that this layer isn't ginormous
COPY . /usr/src/universal
# print contextual information of the container at this state for validation the process is solid
RUN ls -la /usr/src/universal && cmake -version
# set up the cmake/make environment to issue the build commands
RUN mkdir build
WORKDIR /usr/src/universal/build
RUN cmake -DBUILD_CI_CHECK=ON .. && make
# actual command 'make test' is run as part of the test pipeline
# add a command that when you run the container without a command, it produces something meaningful
CMD ["echo", "Universal Numbers Library Version 2.0.0"]
# RELEASE stage
#FROM alpine:latest as release # hitting a segfault during startup of some playground programs
FROM debian:latest as release
MAINTAINER Theodore Omtzigt
#RUN apk add --no-cache libc6-compat libstdc++ make cmake bash gawk sed grep bc coreutils
RUN apt-get update && apt-get install -y make cmake
# after building, the test executables are organized in the build directory under root
# ctest gets its configuration for CTestTestfile.cmake files. There is one at the root of the build tree
# and one for each directory that contains test executables.
COPY --from=builder /usr/src/universal/build/tools/cmd/cmd_* /usr/src/universal/build/tools/cmd/
COPY --from=builder /usr/src/universal/build/tools/cmd/*.cmake /usr/src/universal/build/tools/cmd/
COPY --from=builder /usr/src/universal/build/tests/posit/posit_* /usr/src/universal/build/tests/posit/
COPY --from=builder /usr/src/universal/build/tests/posit/*.cmake /usr/src/universal/build/tests/posit/
COPY --from=builder /usr/src/universal/build/perf/perf_* /usr/src/universal/build/perf/
COPY --from=builder /usr/src/universal/build/perf/*.cmake /usr/src/universal/build/perf/
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit4 /usr/src/universal/build/c_api/test/posit/c_api_posit4
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit8 /usr/src/universal/build/c_api/test/posit/c_api_posit8
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit16 /usr/src/universal/build/c_api/test/posit/c_api_posit16
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit32 /usr/src/universal/build/c_api/test/posit/c_api_posit32
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit64 /usr/src/universal/build/c_api/test/posit/c_api_posit64
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit128 /usr/src/universal/build/c_api/test/posit/c_api_posit128
COPY --from=builder /usr/src/universal/build/c_api/test/posit/c_api_posit256 /usr/src/universal/build/c_api/test/posit/c_api_posit256
COPY --from=builder /usr/src/universal/build/c_api/test/posit/*.cmake /usr/src/universal/build/c_api/test/posit/
COPY --from=builder /usr/src/universal/build/examples/blas/blas_* /usr/src/universal/build/examples/blas/
COPY --from=builder /usr/src/universal/build/examples/blas/*.cmake /usr/src/universal/build/examples/blas/
COPY --from=builder /usr/src/universal/build/examples/dsp/dsp_* /usr/src/universal/build/examples/dsp/
COPY --from=builder /usr/src/universal/build/examples/dsp/*.cmake /usr/src/universal/build/examples/dsp/
COPY --from=builder /usr/src/universal/build/education/posit/edu_* /usr/src/universal/build/education/posit/
COPY --from=builder /usr/src/universal/build/education/posit/*.cmake /usr/src/universal/build/education/posit/
COPY --from=builder /usr/src/universal/build/examples/playground/playgr* /usr/src/universal/build/examples/playground/
COPY --from=builder /usr/src/universal/build/examples/playground/*.cmake /usr/src/universal/build/examples/playground/
# the ctest configuration root and Makefile so we can execute _make test_ in the test stage of the CI/CD pipeline
COPY --from=builder /usr/src/universal/build/Makefile /usr/src/universal/build/
COPY --from=builder /usr/src/universal/build/CTestTestfile.cmake /usr/src/universal/build/
WORKDIR /usr/src/universal/build
# double check we have all the executables of interest
RUN find .
#CMD ["/usr/src/universal/tools/cmd/cmd_numeric_limits"]
CMD ["echo", "Universal Numbers Library Version 2.0.0"]
| code refactoring |
334 | 465ccaa70f35f8d9cd0012e35add4f735e98b3b3 | feat(atlassian-confluence): update to 7.1.2 | feat(atlassian-confluence): update to 7.1.2
update to 7.1.2
Signed-off-by: mritd <[email protected]>
| FROM atlassian/confluence-server:7.0.4
LABEL maintainer="mritd <[email protected]>"
ARG TZ="Asia/Shanghai"
ENV TZ ${TZ}
ENV AGENT_PATH /opt/atlassian-agent.jar
COPY atlassian-agent.jar ${AGENT_PATH}
COPY hijack.sh /hijack.sh
RUN set -x \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt update \
&& apt upgrade -y \
&& apt install tzdata -y \
&& chown ${RUN_USER}:${RUN_GROUP} ${AGENT_PATH} \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt autoremove -y \
&& apt autoclean -y
CMD ["/hijack.sh"]
| FROM atlassian/confluence-server:7.1.2
LABEL maintainer="mritd <[email protected]>"
ARG TZ="Asia/Shanghai"
ENV TZ ${TZ}
ENV AGENT_PATH /opt/atlassian-agent.jar
COPY atlassian-agent.jar ${AGENT_PATH}
COPY hijack.sh /hijack.sh
RUN set -x \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt update \
&& apt upgrade -y \
&& apt install tzdata -y \
&& chown ${RUN_USER}:${RUN_GROUP} ${AGENT_PATH} \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt autoremove -y \
&& apt autoclean -y
CMD ["/hijack.sh"]
| maintenance/other |
2115 | 22e0f9040b3973120fd257433eddcd05e601e5b8 | Update build environment with new toolchain. | Update build environment with new toolchain.
| null | null | maintenance/other |
2131 | 6c2b0578c66944a4efa46b2b7e4e7c499b98711a | Bumped source to 20211113-3747862 | Bumped source to 20211113-3747862
| FROM docker.pkg.github.com/dock0/arch/arch:20211112-fc8e3f8
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | maintenance/other |
2173 | 623e37ca77526cdb3d65b23900549e6f170d64fc | version 81.0.4021.2 | version 81.0.4021.2 | FROM ubuntu:14.04
LABEL maintainer "Alpeware <[email protected]>"
EXPOSE 9222
RUN apt-get update -qqy \
&& apt-get -qqy install libnss3 libnss3-tools libfontconfig1 wget ca-certificates apt-transport-https inotify-tools \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
ENV CHROME_VERSION=81.0.4000.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 | code refactoring |
2169 | 285ff0a8be491e4e42fab75eaf5113af45c10b99 | version 4.6.6 | version 4.6.6 | FROM marvambass/nginx-ssl-php
MAINTAINER MarvAmBass
ENV DH_SIZE 1024
RUN apt-get -q -y update && \
apt-get -q -y install mysql-client \
php5-mysql \
php5-gd \
php5-mcrypt \
wget \
unzip && \
apt-get -q -y clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*;
RUN php5enmod mcrypt; \
sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 2000M/g' \
/etc/php5/fpm/php.ini; \
\
echo "clean http directory"; \
rm -rf /usr/share/nginx/html/*; \
\
wget "https://files.phpmyadmin.net/phpMyAdmin/4.6.5.2/phpMyAdmin-4.6.5.2-all-languages.zip" -O phpMyAdmin.zip && \
unzip phpMyAdmin.zip && \
rm phpMyAdmin.zip; \
mv phpMyAdmin-*-languages /phpmyadmin; \
\
echo "delete phpmyadmin config folder"; \
rm -rf /phpmyadmin/config;
# install nginx phpmyadmin config
ADD nginx-phpmyadmin.conf /etc/nginx/conf.d/nginx-phpmyadmin.conf
# install personal phpmyadmin config
ADD config.inc.php /phpmyadmin/config.inc.php
# add startup.sh
ADD startup-phpmyadmin.sh /opt/startup-phpmyadmin.sh
COPY docker-healthcheck /usr/local/bin/
HEALTHCHECK CMD ["docker-healthcheck"]
# add '/opt/startup-phpmyadmin.sh' to entrypoint.sh
RUN sed -i 's/#!\/bin\/bash/#!\/bin\/bash\n\/opt\/startup-phpmyadmin.sh/g' /opt/entrypoint.sh
| null | bug fix |
2164 | 0c813a8cffc596896bf8fa59f1cec33f655ee916 | Update to Trusty | Update to Trusty | null | null | code refactoring |
2196 | f4e6919b45d9b48641cfc324f7e2367b9f6b116d | docker file fix | docker file fix
| FROM node:latest
COPY . /repo
#COPY dist/ /usr/share/nginx/html
WORKDIR /repo
RUN npm install --unsafe-perm
RUN npm run build:prod
WORKDIR /dist
COPY ./repo/dist .
| null | code refactoring |
2072 | 590faeb3eb60a6094d9eb24b754ec6e63d33fcea | update rundeck-ec2-nodes-plugin | update rundeck-ec2-nodes-plugin
| FROM java:8
RUN apt-get update \
&& apt-get install -y uuid-runtime
# install rundeck
ENV RUNDECK_VERSION=2.6.3-1-GA
RUN wget "http://dl.bintray.com/rundeck/rundeck-deb/rundeck-${RUNDECK_VERSION}.deb" &&\
dpkg -i rundeck-${RUNDECK_VERSION}.deb &&\
rm -f rundeck-${RUNDECK_VERSION}.deb &&\
ln -sf /dev/null /var/log/rundeck/rundeck.access.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.api.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.audit.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.executions.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.jobs.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.options.log &&\
ln -sf /dev/null /var/log/rundeck/rundeck.storage.log
# install rundeck plugins
WORKDIR /var/lib/rundeck/libext
RUN wget "https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/releases/download/v1.5.1/rundeck-ec2-nodes-plugin-1.5.1.jar" &&\
wget "https://github.com/rundeck-plugins/rundeck-s3-log-plugin/releases/download/v1.0.0/rundeck-s3-log-plugin-1.0.0.jar" &&\
wget "https://github.com/higanworks/rundeck-slack-incoming-webhook-plugin/releases/download/v0.5.dev/rundeck-slack-incoming-webhook-plugin-0.5.jar"
WORKDIR /var/lib/rundeck
COPY profile.sh /etc/rundeck/profile
ENV TZ=Asia/Tokyo \
RUNDECK_PORT=4440 \
RUNDECK_MYSQL_DATABASE=rundeck \
RUNDECK_MYSQL_USERNAME=rundeck \
RUNDECK_MYSQL_PASSWORD=rundeck \
RUNDECK_S3_REGION=ap-northeast-1
CMD . /etc/rundeck/profile &&\
java ${RDECK_JVM} -cp ${BOOTSTRAP_CP} com.dtolabs.rundeck.RunServer /var/lib/rundeck ${RUNDECK_PORT} | null | code refactoring |
199 | 757e4a73421996d76425ee4dbe836440adc3da6e | Updated to Slurm 17.11.3 | Updated to Slurm 17.11.3
| FROM centos:7
LABEL org.label-schema.vcs-url="https://github.com/giovtorres/docker-centos7-slurm" \
org.label-schema.docker.cmd="docker run -it -h ernie giovtorres/docker-centos7-slurm:latest" \
org.label-schema.name="docker-centos7-slurm" \
org.label-schema.description="Slurm All-in-one Docker container on CentOS 7" \
maintainer="Giovanni Torres"
ARG SLURM_VERSION=17.11.2
ARG SLURM_DOWNLOAD_MD5=9c8dcc1737a36ab859612d64ec389847
ARG SLURM_DOWNLOAD_URL=https://download.schedmd.com/slurm/slurm-"$SLURM_VERSION".tar.bz2
RUN yum makecache fast \
&& yum -y install epel-release \
&& yum -y install \
wget \
bzip2 \
perl \
gcc \
gcc-c++\
vim-enhanced \
git \
make \
munge \
munge-devel \
supervisor \
python-devel \
python-pip \
python34 \
python34-devel \
python34-pip \
mariadb-server \
mariadb-devel \
psmisc \
bash-completion \
&& yum clean all \
&& rm -rf /var/cache/yum
RUN pip install Cython nose \
&& pip3 install Cython nose
RUN groupadd -r slurm && useradd -r -g slurm slurm
RUN set -x \
&& wget -O slurm.tar.bz2 "$SLURM_DOWNLOAD_URL" \
&& echo "$SLURM_DOWNLOAD_MD5" slurm.tar.bz2 | md5sum -c - \
&& mkdir /usr/local/src/slurm \
&& tar jxf slurm.tar.bz2 -C /usr/local/src/slurm --strip-components=1 \
&& rm slurm.tar.bz2 \
&& cd /usr/local/src/slurm \
&& ./configure --enable-debug --enable-front-end --prefix=/usr \
--sysconfdir=/etc/slurm --with-mysql_config=/usr/bin \
--libdir=/usr/lib64 \
&& make install \
&& install -D -m644 etc/cgroup.conf.example /etc/slurm/cgroup.conf.example \
&& install -D -m644 etc/slurm.conf.example /etc/slurm/slurm.conf.example \
&& install -D -m644 etc/slurm.epilog.clean /etc/slurm/slurm.epilog.clean \
&& install -D -m644 etc/slurmdbd.conf.example /etc/slurm/slurmdbd.conf.example \
&& install -D -m644 contribs/slurm_completion_help/slurm_completion.sh /etc/profile.d/slurm_completion.sh \
&& cd \
&& rm -rf /usr/local/src/slurm \
&& mkdir /etc/sysconfig/slurm \
/var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& /sbin/create-munge-key
COPY slurm.conf /etc/slurm/slurm.conf
COPY slurmdbd.conf /etc/slurm/slurmdbd.conf
COPY supervisord.conf /etc/
VOLUME ["/var/lib/mysql", "/var/lib/slurmd", "/var/spool/slurmd", "/var/log/slurm"]
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["/bin/bash"]
| FROM centos:7
LABEL org.label-schema.vcs-url="https://github.com/giovtorres/docker-centos7-slurm" \
org.label-schema.docker.cmd="docker run -it -h ernie giovtorres/docker-centos7-slurm:latest" \
org.label-schema.name="docker-centos7-slurm" \
org.label-schema.description="Slurm All-in-one Docker container on CentOS 7" \
maintainer="Giovanni Torres"
ARG SLURM_VERSION=17.11.3
ARG SLURM_DOWNLOAD_MD5=30cb15ae222a142107919383387abbeb
ARG SLURM_DOWNLOAD_URL=https://download.schedmd.com/slurm/slurm-"$SLURM_VERSION".tar.bz2
RUN yum makecache fast \
&& yum -y install epel-release \
&& yum -y install \
wget \
bzip2 \
perl \
gcc \
gcc-c++\
vim-enhanced \
git \
make \
munge \
munge-devel \
supervisor \
python-devel \
python-pip \
python34 \
python34-devel \
python34-pip \
mariadb-server \
mariadb-devel \
psmisc \
bash-completion \
&& yum clean all \
&& rm -rf /var/cache/yum
RUN pip install Cython nose \
&& pip3 install Cython nose
RUN groupadd -r slurm && useradd -r -g slurm slurm
RUN set -x \
&& wget -O slurm.tar.bz2 "$SLURM_DOWNLOAD_URL" \
&& echo "$SLURM_DOWNLOAD_MD5" slurm.tar.bz2 | md5sum -c - \
&& mkdir /usr/local/src/slurm \
&& tar jxf slurm.tar.bz2 -C /usr/local/src/slurm --strip-components=1 \
&& rm slurm.tar.bz2 \
&& cd /usr/local/src/slurm \
&& ./configure --enable-debug --enable-front-end --prefix=/usr \
--sysconfdir=/etc/slurm --with-mysql_config=/usr/bin \
--libdir=/usr/lib64 \
&& make install \
&& install -D -m644 etc/cgroup.conf.example /etc/slurm/cgroup.conf.example \
&& install -D -m644 etc/slurm.conf.example /etc/slurm/slurm.conf.example \
&& install -D -m644 etc/slurm.epilog.clean /etc/slurm/slurm.epilog.clean \
&& install -D -m644 etc/slurmdbd.conf.example /etc/slurm/slurmdbd.conf.example \
&& install -D -m644 contribs/slurm_completion_help/slurm_completion.sh /etc/profile.d/slurm_completion.sh \
&& cd \
&& rm -rf /usr/local/src/slurm \
&& mkdir /etc/sysconfig/slurm \
/var/spool/slurmd \
/var/run/slurmd \
/var/lib/slurmd \
/var/log/slurm \
&& /sbin/create-munge-key
COPY slurm.conf /etc/slurm/slurm.conf
COPY slurmdbd.conf /etc/slurm/slurmdbd.conf
COPY supervisord.conf /etc/
VOLUME ["/var/lib/mysql", "/var/lib/slurmd", "/var/spool/slurmd", "/var/log/slurm"]
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["/bin/bash"]
| maintenance/other |
2239 | fce5eea42a59e4adf5af00645c8f9f461dbaf9e5 | Upgrade to current application | Upgrade to current application
| FROM kurron/docker-newrelic-jvm-8-agent:latest
MAINTAINER Ron Kurr <[email protected]>
ADD https://bintray.com/artifact/download/kurron/maven/org/kurron/example/monitor-mysql/1.1.0.RELEASE/monitor-mysql-1.1.0.RELEASE.jar /opt/example/application.jar
EXPOSE 8300
ENTRYPOINT ["java", "-server", "-javaagent:/opt/example/newrelic/newrelic.jar", "-Xmx512m", "-Dsun.net.inetaddr.ttl=60", "-jar", "/opt/example/application.jar"]
| null | code refactoring |
10 | e51e0bb534194cf804d975d81c3a1a0762db5fc6 | specify pip and setuptool version | specify pip and setuptool version
| FROM ubuntu:18.04
LABEL maintainer="stevenmi - Steven Mi <[email protected]>"
# POSTGRES need to be injected
ARG POSTGRES_USER
ARG POSTGRES_PASS
ARG POSTGRES_IP
# Python
ARG PYTHON_VERSION=3.6
# TFX Version
ARG TENSORFLOW_VERSION=1.15.0
ARG TFX_VERSION=0.15.0
# NewsCrawler version
ARG NEWSCRAWLER_VERSION=0.1.9
# Airflow
ARG AIRFLOW_HOME=/airflow
ARG AIRFLOW_VERSION=1.10.12
ARG AIRFLOW_PORT=8080
# Set enviroment variables
ENV AIRFLOW_HOME=${AIRFLOW_HOME}
ENV LANG=C.UTF-8
ENV POSTGRES_USER=${POSTGRES_USER}
ENV POSTGRES_PASS=${POSTGRES_PASS}
ENV POSTGRES_IP=${POSTGRES_IP}
# Install python and pip
RUN apt-get update \
&& apt-get install -y \
git \
nano \
python${PYTHON_VERSION} \
python3-pip \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install python packages
RUN pip3 install --upgrade pip \
&& pip install --upgrade setuptools \
&& pip install apache-airflow==${AIRFLOW_VERSION} \
&& pip install NewsCrawler3==${NEWSCRAWLER_VERSION} \
&& pip install tensorflow==${TENSORFLOW_VERSION} \
&& pip install tensorflow-serving-api==${TENSORFLOW_VERSION} \
&& pip install tfx==${TFX_VERSION} \
&& pip install SQLAlchemy==1.3.15 \
&& pip install --upgrade six==1.13.0 \
&& pip install flask-bcrypt \
&& pip install psycopg2-binary \
&& pip install pyarrow==0.14.0
# Setup Airflow
RUN airflow initdb
# Change default settings
#RUN sed -i'.orig' 's/dag_dir_list_interval = 300/dag_dir_list_interval = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/job_heartbeat_sec = 5/job_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/scheduler_heartbeat_sec = 5/scheduler_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dag_default_view = tree/dag_default_view = graph/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/parallelism = 32/parallelism = 2/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_active_runs_per_dag = 16/max_active_runs_per_dag = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dagbag_import_timeout = 30/dagbag_import_timeout = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_threads = 2/max_threads = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/authenticate = False/authenticate = True\nauth_backend = airflow.contrib.auth.backends.password_auth/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' "s|sql_alchemy_conn = sqlite:////airflow/airflow.db|sql_alchemy_conn = postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASS}@${POSTGRES_IP}:5432/airflow|g" ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/executor = SequentialExecutor/executor = LocalExecutor/g' ${AIRFLOW_HOME}/airflow.cfg
#RUN cat /airflow/airflow.cfg | grep sql_alchemy_conn
# Start inside airflow folder
WORKDIR ${AIRFLOW_HOME}
# Copy scripts into container
COPY scripts /scripts
# Start Airflow and Scheduler
RUN chmod u+x /scripts/startup.sh
CMD /scripts/startup.sh
| FROM ubuntu:18.04
LABEL maintainer="stevenmi - Steven Mi <[email protected]>"
# POSTGRES need to be injected
ARG POSTGRES_USER
ARG POSTGRES_PASS
ARG POSTGRES_IP
# Python
ARG PYTHON_VERSION=3.6
# TFX Version
ARG TENSORFLOW_VERSION=1.15.0
ARG TFX_VERSION=0.15.0
# NewsCrawler version
ARG NEWSCRAWLER_VERSION=0.1.9
# Airflow
ARG AIRFLOW_HOME=/airflow
ARG AIRFLOW_VERSION=1.10.12
ARG AIRFLOW_PORT=8080
# Set enviroment variables
ENV AIRFLOW_HOME=${AIRFLOW_HOME}
ENV LANG=C.UTF-8
ENV POSTGRES_USER=${POSTGRES_USER}
ENV POSTGRES_PASS=${POSTGRES_PASS}
ENV POSTGRES_IP=${POSTGRES_IP}
# Install python and pip
RUN apt-get update \
&& apt-get install -y \
git \
nano \
python${PYTHON_VERSION} \
python3-pip \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install python packages
RUN pip3 install --upgrade pip==19.3.1 \
&& pip install --upgrade setuptools==50.3.2 \
&& pip install apache-airflow==${AIRFLOW_VERSION} \
&& pip install NewsCrawler3==${NEWSCRAWLER_VERSION} \
&& pip install tensorflow==${TENSORFLOW_VERSION} \
&& pip install tensorflow-serving-api==${TENSORFLOW_VERSION} \
&& pip install tfx==${TFX_VERSION} \
&& pip install SQLAlchemy==1.3.15 \
&& pip install --upgrade six==1.13.0 \
&& pip install flask-bcrypt \
&& pip install psycopg2-binary \
&& pip install pyarrow==0.14.0
# Setup Airflow
RUN airflow initdb
# Change default settings
#RUN sed -i'.orig' 's/dag_dir_list_interval = 300/dag_dir_list_interval = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/job_heartbeat_sec = 5/job_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/scheduler_heartbeat_sec = 5/scheduler_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dag_default_view = tree/dag_default_view = graph/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/parallelism = 32/parallelism = 2/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_active_runs_per_dag = 16/max_active_runs_per_dag = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dagbag_import_timeout = 30/dagbag_import_timeout = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_threads = 2/max_threads = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/authenticate = False/authenticate = True\nauth_backend = airflow.contrib.auth.backends.password_auth/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' "s|sql_alchemy_conn = sqlite:////airflow/airflow.db|sql_alchemy_conn = postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASS}@${POSTGRES_IP}:5432/airflow|g" ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/executor = SequentialExecutor/executor = LocalExecutor/g' ${AIRFLOW_HOME}/airflow.cfg
#RUN cat /airflow/airflow.cfg | grep sql_alchemy_conn
# Start inside airflow folder
WORKDIR ${AIRFLOW_HOME}
# Copy scripts into container
COPY scripts /scripts
# Start Airflow and Scheduler
RUN chmod u+x /scripts/startup.sh
CMD /scripts/startup.sh
| maintenance/other |
2145 | 514e289c5c6e969d74dc91cadb80df1005a8f899 | updated Centos image | updated Centos image | FROM centos7:latest
ENV MAVEN_VERSION 3.3.3
RUN yum install -y \
tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel openssl wget curl && \
yum clean all -y && \
(curl -0 http://www.eu.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | \
tar -zx -C /usr/local) && \
mv /usr/local/apache-maven-$MAVEN_VERSION /usr/local/maven && \
ln -sf /usr/local/maven/bin/mvn /usr/local/bin/mvn && \
mkdir -p /opt/openshift && \
mkdir -p /opt/app-root/source && chmod -R a+rwX /opt/app-root/source && \
mkdir -p /opt/s2i/destination && chmod -R a+rwX /opt/s2i/destination && \
mkdir -p /opt/app-root/src && chmod -R a+rwX /opt/app-root/src
ENV PATH=/opt/maven/bin/:$PATH
ENV JAVA_HOME=/etc/alternatives/java_sdk_openjdk/
ENV BUILDER_VERSION 1.0
LABEL io.k8s.description="Platform for building Spring Boot applications, layer contains java8 maven"
LABEL io.openshift.s2i.scripts-url=image:///usr/local/sti
COPY ./.sti/bin/ /usr/local/sti
RUN chmod -R a+x /usr/local/sti/*
#COPY settings.xml /usr/local/maven/conf/
RUN chown -R 1001:1001 /opt/openshift
CMD ["usage"]
| null | maintenance/other |
354 | 9d112a2bff077221af4884cffe90aa5b6dc0ee7d | Bumped source to 20220710-236e6af | Bumped source to 20220710-236e6af
| FROM ghcr.io/dock0/arch:20220710-86469a7
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20220710-236e6af
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| Not enough inforamtion |
383 | 65445f3c4962c96b8eeb1d00d5b333e6e00e47f4 | Bumped source to 20210921-fa0fd96 | Bumped source to 20210921-fa0fd96
| FROM docker.pkg.github.com/dock0/arch/arch:20210921-1f208e2
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210921-fa0fd96
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| maintenance/other |
31 | e59ba565ad61b5e9d3fd9aedb4c8efd56f92da9f | update | update
| #
# Dockerfile for jenkins
#
FROM alpine
MAINTAINER kev <[email protected]>
ENV JENKINS_HOME /var/jenkins_home
RUN set -xe \
&& apk add -U curl openjdk8 ttf-dejavu \
&& adduser -h $JENKINS_HOME -u 1000 -s /bin/sh -D jenkins \
&& mkdir -p /usr/share/jenkins \
&& curl -fL http://mirrors.jenkins-ci.org/war/latest/jenkins.war -o /usr/share/jenkins/jenkins.war \
&& rm -rf /var/cache/apk/*
VOLUME $JENKINS_HOME
WORKDIR $JENKINS_HOME
USER jenkins
EXPOSE 8080
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]
| #
# Dockerfile for jenkins
#
FROM alpine
MAINTAINER kev <[email protected]>
ENV JENKINS_HOME /var/jenkins_home
RUN set -xe \
&& apk add -U curl \
openjdk8 \
openssh-client \
ttf-dejavu \
&& adduser -h $JENKINS_HOME -u 1000 -s /bin/sh -D jenkins \
&& mkdir -p /usr/share/jenkins \
&& cd /usr/share/jenkins \
&& wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war \
&& rm -rf /var/cache/apk/*
VOLUME $JENKINS_HOME
WORKDIR $JENKINS_HOME
USER jenkins
EXPOSE 8080
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]
| code refactoring |
2142 | c2515b343597ac40e6f79d991f951bb30a7e04a8 | Bumped source to 20201225-2501b05 | Bumped source to 20201225-2501b05
| FROM docker.pkg.github.com/dock0/arch/arch:20201225-5ccf536
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | code refactoring, feature addition |
242 | 18d0b2ec7d5a9089d09c752f4ae8fb75115214bc | Updates Alpine to 3.8 | Updates Alpine to 3.8
| FROM python:alpine3.7
MAINTAINER Frank Sachsenheim <[email protected]>
ARG VERSION
ARG SOURCE_COMMIT
ARG BUILD_DATE
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.description="Job scheduler for Docker containers, configured via labels." \
org.label-schema.name="deck-chores" \
org.label-schema.version=$VERSION \
org.label-schema.usage="/src/docs/usage.rst" \
org.label-schema.url="http://deck-chores.rtfd.io" \
org.label-schema.docker.cmd="docker run --rm -d -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.docker.cmd.debug="docker run --rm -d -e DEBUG=on -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.vcs-url="https://github.com/funkyfuture/deck-chores" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$SOURCE_COMMIT
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["deck-chores"]
COPY . /src
RUN apk upgrade --no-cache \
&& apk add --no-cache --virtual .build-deps ca-certificates \
&& apk add --no-cache tini tzdata \
&& /src/setup.py install \
&& rm -Rf /root/.cache \
&& apk del .build-deps
| FROM python:alpine3.8
MAINTAINER Frank Sachsenheim <[email protected]>
ARG VERSION
ARG SOURCE_COMMIT
ARG BUILD_DATE
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.description="Job scheduler for Docker containers, configured via labels." \
org.label-schema.name="deck-chores" \
org.label-schema.version=$VERSION \
org.label-schema.usage="/src/docs/usage.rst" \
org.label-schema.url="http://deck-chores.rtfd.io" \
org.label-schema.docker.cmd="docker run --rm -d -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.docker.cmd.debug="docker run --rm -d -e DEBUG=on -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.vcs-url="https://github.com/funkyfuture/deck-chores" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$SOURCE_COMMIT
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["deck-chores"]
COPY . /src
RUN apk upgrade --no-cache \
&& apk add --no-cache --virtual .build-deps ca-certificates \
&& apk add --no-cache tini tzdata \
&& /src/setup.py install \
&& rm -Rf /root/.cache \
&& apk del .build-deps
| maintenance/other |
281 | 6ce0caf269b70eb65566914ecb0c7eeac0a11b29 | update Dockerfile with metadata labels and additional build arguments | update Dockerfile with metadata labels and additional build arguments
Signed-off-by: Daniel Nurmi <[email protected]>
| FROM ubuntu:18.04 as wheelbuilder
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV GOPATH=/go
ENV SKOPEO_VERSION=v0.1.32
RUN set -ex && \
mkdir -p /go && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install vim curl psmisc git rpm python3 python3-pip golang btrfs-tools git-core libdevmapper-dev libgpgme11-dev go-md2man libglib2.0-dev libostree-dev libssl-dev && \
git clone --branch "$SKOPEO_VERSION" https://github.com/containers/skopeo ${GOPATH}/src/github.com/containers/skopeo && \
cd ${GOPATH}/src/github.com/containers/skopeo && \
make binary-local && \
make install
COPY ./requirements.txt /requirements.txt
# Build the wheels from the requirements
RUN pip3 wheel --wheel-dir=/wheels -r /requirements.txt
# Do the final build
FROM ubuntu:18.04
ARG CLI_COMMIT
ARG ANCHORE_COMMIT
LABEL anchore_cli_commit=$CLI_COMMIT
LABEL anchore_commit=$ANCHORE_COMMIT
ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8
#VOLUME /analysis_scratch
# Default values overrideable at runtime of the container
ENV ANCHORE_CONFIG_DIR=/config \
ANCHORE_SERVICE_DIR=/anchore_service \
ANCHORE_LOG_LEVEL=INFO \
ANCHORE_ENABLE_METRICS=false \
ANCHORE_INTERNAL_SSL_VERIFY=false \
ANCHORE_WEBHOOK_DESTINATION_URL=null \
ANCHORE_FEEDS_ENABLED=true \
ANCHORE_FEEDS_SELECTIVE_ENABLED=true \
ANCHORE_FEEDS_SSL_VERIFY=true \
ANCHORE_ENDPOINT_HOSTNAME=localhost \
ANCHORE_EVENTS_NOTIFICATIONS_ENABLED=false \
ANCHORE_FEED_SYNC_INTERVAL_SEC=21600 \
ANCHORE_EXTERNAL_PORT=null \
ANCHORE_EXTERNAL_TLS=false \
ANCHORE_AUTHZ_HANDLER=native \
ANCHORE_EXTERNAL_AUTHZ_ENDPOINT=null \
ANCHORE_ADMIN_PASSWORD=foobar \
ANCHORE_ADMIN_EMAIL=admin@myanchore \
ANCHORE_HOST_ID="anchore-quickstart" \
ANCHORE_DB_PORT=5432 \
ANCHORE_DB_NAME=postgres \
ANCHORE_DB_USER=postgres \
SET_HOSTID_TO_HOSTNAME=false \
ANCHORE_CLI_USER=admin \
ANCHORE_CLI_PASS=foobar \
ANCHORE_SERVICE_PORT=8228 \
ANCHORE_CLI_URL="http://localhost:8228" \
ANCHORE_FEEDS_URL="https://ancho.re/v1/service/feeds" \
ANCHORE_FEEDS_CLIENT_URL="https://ancho.re/v1/account/users" \
ANCHORE_FEEDS_TOKEN_URL="https://ancho.re/oauth/token"
EXPOSE ${ANCHORE_SERVICE_PORT}
RUN set -ex && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install git curl psmisc rpm python3-minimal python3-pip libgpgme11 libdevmapper1.02.1 libostree-1-1 && \
pip3 install -e git+git://github.com/anchore/anchore-cli.git@$CLI_COMMIT\#egg=anchorecli && \
apt-get -y remove git && \
apt-get clean && \
apt-get -y autoremove
# Skopeo stuff
COPY --from=wheelbuilder /usr/bin/skopeo /usr/bin/skopeo
COPY --from=wheelbuilder /etc/containers/policy.json /etc/containers/policy.json
# Anchore Stuff
COPY --from=wheelbuilder /wheels /wheels
COPY . /anchore-engine
WORKDIR /anchore-engine
RUN set -ex && \
mkdir ${ANCHORE_SERVICE_DIR} && \
mkdir /config && \
cp conf/default_config.yaml /config/config.yaml && \
md5sum /config/config.yaml > /config/build_installed && \
cp docker-compose.yaml /docker-compose.yaml && \
cp docker-compose-dev.yaml /docker-compose-dev.yaml && \
cp docker-entrypoint.sh /docker-entrypoint.sh && \
chmod +x /docker-entrypoint.sh
RUN set -ex && \
pip3 install --no-index --find-links=/wheels -r requirements.txt && \
pip3 install . && \
rm -rf /anchore-engine /root/.cache /wheels
RUN set -ex && \
groupadd --gid 1000 anchore && \
useradd --uid 1000 --gid anchore --shell /bin/bash --create-home anchore && \
mkdir -p /var/log/anchore && chown -R anchore:anchore /var/log/anchore && \
mkdir -p /var/run/anchore && chown -R anchore:anchore /var/run/anchore && \
mkdir -p /analysis_scratch && chown -R anchore:anchore /analysis_scratch && \
mkdir -p ${ANCHORE_SERVICE_DIR} && chown -R anchore:anchore /anchore_service
HEALTHCHECK --start-period=20s \
CMD curl -f http://localhost:8228/health || exit 1
USER anchore:anchore
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["anchore-manager", "service", "start", "--all"]
| FROM ubuntu:18.04 as wheelbuilder
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV GOPATH=/go
ENV SKOPEO_VERSION=v0.1.32
RUN set -ex && \
mkdir -p /go && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install vim curl psmisc git rpm python3 python3-pip golang btrfs-tools git-core libdevmapper-dev libgpgme11-dev go-md2man libglib2.0-dev libostree-dev libssl-dev && \
git clone --branch "$SKOPEO_VERSION" https://github.com/containers/skopeo ${GOPATH}/src/github.com/containers/skopeo && \
cd ${GOPATH}/src/github.com/containers/skopeo && \
make binary-local && \
make install
COPY ./requirements.txt /requirements.txt
# Build the wheels from the requirements
RUN pip3 wheel --wheel-dir=/wheels -r /requirements.txt
# Do the final build
FROM ubuntu:18.04
ARG CLI_COMMIT
ARG ANCHORE_COMMIT
ARG ANCHORE_ENGINE_VERSION="0.4.0"
ARG ANCHORE_ENGINE_RELEASE="dev"
# Container metadata section
MAINTAINER [email protected]
LABEL anchore_cli_commit=$CLI_COMMIT \
anchore_commit=$ANCHORE_COMMIT \
name="anchore-engine" \
maintainer="[email protected]" \
vendor="Anchore Inc." \
version=$ANCHORE_ENGINE_VERSION \
release=$ANCHORE_ENGINE_RELEASE \
summary="Anchore Engine - container image scanning service for policy-based security, best-practice and compliance enforcement." \
description="Anchore is an open platform for container security and compliance that allows developers, operations, and security teams to discover, analyze, and certify container images on-premises or in the cloud. Anchore Engine is the on-prem, OSS, API accessible service that allows ops and developers to perform detailed analysis, run queries, produce reports and define policies on container images that can be used in CI/CD pipelines to ensure that only containers that meet your organization’s requirements are deployed into production."
# Environment variables to be present in running environment
ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8
# Default values overrideable at runtime of the container
ENV ANCHORE_CONFIG_DIR=/config \
ANCHORE_SERVICE_DIR=/anchore_service \
ANCHORE_LOG_LEVEL=INFO \
ANCHORE_ENABLE_METRICS=false \
ANCHORE_INTERNAL_SSL_VERIFY=false \
ANCHORE_WEBHOOK_DESTINATION_URL=null \
ANCHORE_FEEDS_ENABLED=true \
ANCHORE_FEEDS_SELECTIVE_ENABLED=true \
ANCHORE_FEEDS_SSL_VERIFY=true \
ANCHORE_ENDPOINT_HOSTNAME=localhost \
ANCHORE_EVENTS_NOTIFICATIONS_ENABLED=false \
ANCHORE_FEED_SYNC_INTERVAL_SEC=21600 \
ANCHORE_EXTERNAL_PORT=null \
ANCHORE_EXTERNAL_TLS=false \
ANCHORE_AUTHZ_HANDLER=native \
ANCHORE_EXTERNAL_AUTHZ_ENDPOINT=null \
ANCHORE_ADMIN_PASSWORD=foobar \
ANCHORE_ADMIN_EMAIL=admin@myanchore \
ANCHORE_HOST_ID="anchore-quickstart" \
ANCHORE_DB_PORT=5432 \
ANCHORE_DB_NAME=postgres \
ANCHORE_DB_USER=postgres \
SET_HOSTID_TO_HOSTNAME=false \
ANCHORE_CLI_USER=admin \
ANCHORE_CLI_PASS=foobar \
ANCHORE_SERVICE_PORT=8228 \
ANCHORE_CLI_URL="http://localhost:8228" \
ANCHORE_FEEDS_URL="https://ancho.re/v1/service/feeds" \
ANCHORE_FEEDS_CLIENT_URL="https://ancho.re/v1/account/users" \
ANCHORE_FEEDS_TOKEN_URL="https://ancho.re/oauth/token"
# Container run environment settings
#VOLUME /analysis_scratch
EXPOSE ${ANCHORE_SERVICE_PORT}
# Build dependencies
RUN set -ex && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install git curl psmisc rpm python3-minimal python3-pip libgpgme11 libdevmapper1.02.1 libostree-1-1 && \
pip3 install -e git+git://github.com/anchore/anchore-cli.git@$CLI_COMMIT\#egg=anchorecli && \
apt-get -y remove git && \
apt-get clean && \
apt-get -y autoremove
# Copy skopeo artifacts from build step
COPY --from=wheelbuilder /usr/bin/skopeo /usr/bin/skopeo
COPY --from=wheelbuilder /etc/containers/policy.json /etc/containers/policy.json
# Copy python artifacts from build step
COPY --from=wheelbuilder /wheels /wheels
COPY . /anchore-engine
# Setup container default configs and directories
WORKDIR /anchore-engine
RUN set -ex && \
mkdir ${ANCHORE_SERVICE_DIR} && \
mkdir /config && \
mkdir /licenses && \
cp LICENSE /licenses/ && \
cp conf/default_config.yaml /config/config.yaml && \
md5sum /config/config.yaml > /config/build_installed && \
cp docker-compose.yaml /docker-compose.yaml && \
cp docker-compose-dev.yaml /docker-compose-dev.yaml && \
cp docker-entrypoint.sh /docker-entrypoint.sh && \
chmod +x /docker-entrypoint.sh
# Perform the anchore-engine build and install
RUN set -ex && \
pip3 install --no-index --find-links=/wheels -r requirements.txt && \
pip3 install . && \
rm -rf /anchore-engine /root/.cache /wheels
# Setup anchore user and permissions
RUN set -ex && \
groupadd --gid 1000 anchore && \
useradd --uid 1000 --gid anchore --shell /bin/bash --create-home anchore && \
mkdir -p /var/log/anchore && chown -R anchore:anchore /var/log/anchore && \
mkdir -p /var/run/anchore && chown -R anchore:anchore /var/run/anchore && \
mkdir -p /analysis_scratch && chown -R anchore:anchore /analysis_scratch && \
mkdir -p /workspace && chown -R anchore:anchore /workspace && \
mkdir -p ${ANCHORE_SERVICE_DIR} && chown -R anchore:anchore /anchore_service
# Container runtime instructions
HEALTHCHECK --start-period=20s \
CMD curl -f http://localhost:8228/health || exit 1
USER anchore:anchore
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["anchore-manager", "service", "start", "--all"]
| code refactoring |
296 | 4be1f3b57c9c407fe69e513821215695997859a8 | Bumped source to 20210416-840ef00 | Bumped source to 20210416-840ef00
| FROM docker.pkg.github.com/dock0/service/service:20210416-caa430b
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20210416-840ef00
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| maintenance/other |
2240 | 6071142c30c72276955805a33003e92c7a13f72b | Update maven version to 3.6.1 in base dockerfile | Update maven version to 3.6.1 in base dockerfile
Signed-off-by: Pol Alvarez Vecino <[email protected]>
| FROM ubuntu:16.04
MAINTAINER COMPSs Support <[email protected]>
# =============================================================================
# Configuration required to use the image for jenkins testing
# =============================================================================
# Install Essentials
RUN apt-get update && \
# Install Packages
apt-get install -y --no-install-recommends \
git \
vim \
wget \
openssh-server \
sudo && \
# Create Jenkins User
useradd jenkins -m -s /bin/bash && \
# Add the jenkins user to sudoers
echo "jenkins ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
# Enable ssh to localhost for user root & jenkins
yes yes | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N '' > /dev/null && \
cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys && \
cp -r /root/.ssh /home/jenkins && \
# Make sure jenkins owns his files
chown -R jenkins /home/jenkins/ && \
chgrp -R jenkins /home/jenkins/ && \
# Enable repo compression
git config --global core.compression 9 && \
# =============================================================================
# Dependencies for building COMPSs
# =============================================================================
# Build dependencies
apt-get install -y --no-install-recommends maven \
# Runtime dependencies
openjdk-8-jdk graphviz xdg-utils \
# Bindings-common-dependencies
libtool automake build-essential \
# C-binding dependencies
libboost-all-dev libxml2-dev csh \
# Extrae dependencies
libxml2 gfortran libpapi-dev papi-tools \
# Misc. dependencies
openmpi-bin openmpi-doc libopenmpi-dev uuid-runtime curl bc \
# Python-binding dependencies
python-setuptools python3-setuptools python-dev python3-dev libpython2.7 python-pip python3-pip && \
python2 -m pip install --upgrade pip && \
python3 -m pip install --upgrade pip && \
pip2 install wheel numpy==1.15.4 dill guppy decorator mpi4py==1.3.1 && \
pip3 install wheel numpy==1.15.4 dill decorator mpi4py==3.0.1 && \
# Python-redis dependencies
pip2 install redis==2.10.6 redis-py-cluster && \
pip3 install redis==2.10.6 redis-py-cluster && \
# pycompsslib dependencies
pip2 install scipy==1.0.0 scikit-learn==0.19.1 pandas==0.23.1 && \
pip3 install scipy==1.0.0 scikit-learn==0.19.1 pandas==0.23.1 && \
# AutoParallel dependencies
apt-get install -y --no-install-recommends libgmp3-dev flex bison libbison-dev texinfo libffi-dev && \
pip2 install astor sympy enum34 islpy && \
# Streaming dependencies
apt-get install -y --no-install-recommends unzip && \
wget https://services.gradle.org/distributions/gradle-5.4.1-bin.zip && \
unzip -d /opt gradle-5.4.1-bin.zip && \
rm gradle-5.4.1-bin.zip && \
ln -s /opt/gradle-5.4.1 /opt/gradle && \
echo "GRADLE_HOME=/opt/gradle" >> /etc/environment && \
echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:${GRADLE_HOME}/bin" >> /etc/environment && \
# Testing dependencies
pip3 install enum34 tabulate && \
# Configure user environment
# =============================================================================
# System configuration
# =============================================================================
# Add environment variables
echo "JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/" >> /etc/environment && \
echo "MPI_HOME=/usr/lib/openmpi" >> /etc/environment && \
echo "LD_LIBRARY_PATH=/usr/lib/openmpi/lib" >> /etc/environment && \
mkdir /run/sshd && \
rm -rf /var/lib/apt/lists/*
| null | bug fix |
361 | 50a74e51933441315065970a0f029c9e97e53846 | Bumped source to 20201017-3682bee | Bumped source to 20201017-3682bee
| FROM docker.pkg.github.com/dock0/service/service:20201017-4e9aa53
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20201017-3682bee
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| feature addition |
332 | 67cf30f7951a5a920ec58528973490881b1a17ed | Fix filename fail on my part | Fix filename fail on my part
| FROM phusion/baseimage:0.9.15
MAINTAINER needo <[email protected]>
#Based on the work of Eric Schultz <[email protected]>
#Thanks to Tim Haak <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# chfn workaround - Known issue within Dockers
RUN ln -s -f /bin/true /usr/bin/chfn
# Install Plex
RUN apt-get -q update
RUN apt-get install -qy gdebi-core wget
ADD install_plex.sh /
RUN bash /install_plex.sh
# Fix a Debianism of plex's uid being 101
RUN usermod -u 999 plex
RUN usermod -g 100 plex
VOLUME /config
VOLUME /data
EXPOSE 32400
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver
# Add firstrun.sh to execute during container startup
RUN mkdir -p /etc/my_init.d
ADD firstrun.sh /etc/my_init.d/firstrun.sh
RUN chmod +x /etc/my_init.d/firstrun.sh
# Add Plex to runit
RUN mkdir /etc/service/plex
ADD plex.sh /etc/service/plex/run
RUN chmod +x /etc/service/plex/run
| FROM phusion/baseimage:0.9.15
MAINTAINER needo <[email protected]>
#Based on the work of Eric Schultz <[email protected]>
#Thanks to Tim Haak <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# chfn workaround - Known issue within Dockers
RUN ln -s -f /bin/true /usr/bin/chfn
# Install Plex
RUN apt-get -q update
RUN apt-get install -qy gdebi-core wget
ADD installplex.sh /
RUN bash /installplex.sh
# Fix a Debianism of plex's uid being 101
RUN usermod -u 999 plex
RUN usermod -g 100 plex
VOLUME /config
VOLUME /data
EXPOSE 32400
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver
# Add firstrun.sh to execute during container startup
RUN mkdir -p /etc/my_init.d
ADD firstrun.sh /etc/my_init.d/firstrun.sh
RUN chmod +x /etc/my_init.d/firstrun.sh
# Add Plex to runit
RUN mkdir /etc/service/plex
ADD plex.sh /etc/service/plex/run
RUN chmod +x /etc/service/plex/run
| code refactoring |
329 | 82ddf0a17c5bca2266b4c5eec042bbd5c167490a | Add `tini` back to mongodb image | Add `tini` back to mongodb image
| ARG IMAGE_REPO
FROM ${IMAGE_REPO:-lagoon}/commons as commons
FROM alpine:edge
MAINTAINER amazee.io
ENV LAGOON=mongo
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/
COPY --from=commons /home /home
# When Bash is invoked via `sh` it behaves like the old Bourne Shell and sources a file that is given in `ENV`
# When Bash is invoked as non-interactive (like `bash -c command`) it sources a file that is given in `BASH_ENV`
ENV TMPDIR=/tmp TMP=/tmp HOME=/home ENV=/home/.bashrc BASH_ENV=/home/.bashrc
RUN apk --no-cache add mongodb
RUN mkdir -p /data/db /data/configdb && \
fix-permissions /data/db && \
fix-permissions /data/configdb
VOLUME /data/db
EXPOSE 27017 28017
ENTRYPOINT ["/lagoon/entrypoints.sh"]
CMD [ "mongod", "--bind_ip", "0.0.0.0" ]
| ARG IMAGE_REPO
FROM ${IMAGE_REPO:-lagoon}/commons as commons
FROM alpine:edge
MAINTAINER amazee.io
ENV LAGOON=mongo
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/
COPY --from=commons /sbin/tini /sbin/
COPY --from=commons /home /home
# When Bash is invoked via `sh` it behaves like the old Bourne Shell and sources a file that is given in `ENV`
# When Bash is invoked as non-interactive (like `bash -c command`) it sources a file that is given in `BASH_ENV`
ENV TMPDIR=/tmp TMP=/tmp HOME=/home ENV=/home/.bashrc BASH_ENV=/home/.bashrc
RUN apk --no-cache add mongodb
RUN mkdir -p /data/db /data/configdb && \
fix-permissions /data/db && \
fix-permissions /data/configdb
VOLUME /data/db
EXPOSE 27017 28017
ENTRYPOINT ["/sbin/tini", "--", "/lagoon/entrypoints.sh"]
CMD [ "mongod", "--bind_ip", "0.0.0.0" ]
| maintenance/other |
2192 | ff333b3d253b950eb8b0c62f713da784c5b992e8 | Update to Apache Spark 2.3.0; align with https://github.com/archivesunleashed/aut/commit/fc8f4bf0d5d5bbd28459f2330dfbac0b9d2c226f | Update to Apache Spark 2.3.0; align with https://github.com/archivesunleashed/aut/commit/fc8f4bf0d5d5bbd28459f2330dfbac0b9d2c226f
| # Base Alpine Linux based image with OpenJDK and Maven
FROM maven:3-jdk-8-alpine
# Metadata
LABEL maintainer="Nick Ruest <[email protected]>"
LABEL description="Docker image for the Archives Unleashed Toolkit."
LABEL website="http://archivesunleashed.org/"
## Build variables
#######################
ARG SPARK_VERSION=2.1.1
# Git and Wget
RUN apk add --update \
git \
wget
# Sample resources
RUN git clone https://github.com/archivesunleashed/aut-resources.git
# Archives Unleashed Toolkit
RUN git clone https://github.com/archivesunleashed/aut.git /aut \
&& cd /aut \
&& export JAVA_OPTS=-Xmx512m \
&& mvn clean install
# Spark shell
RUN mkdir /spark \
&& cd /tmp \
&& wget -q "https://archive.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" \
&& tar -xf "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" -C /spark --strip-components=1 \
&& rm "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz"
CMD /spark/bin/spark-shell --packages "io.archivesunleashed:aut:0.16.1-SNAPSHOT"
| null | maintenance/other |
344 | e0ccdf6bab494dbe5459d566e1c968566d872a27 | Bumped source to 20211201-26e14dc | Bumped source to 20211201-26e14dc
| FROM docker.pkg.github.com/dock0/arch/arch:20211201-de045cc
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20211201-26e14dc
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| feature addition |
355 | 097c13464c6160896820965eda91b091f387ed9c | Bumped source to 20200303-a417f49 | Bumped source to 20200303-a417f49
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200302-26d6516
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200303-a417f49
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| maintenance/other |
2305 | 5206d7ad153a3c36109722de16dd402e3800a4e2 | add bash-history | add bash-history
| FROM ubuntu:15.10
MAINTAINER "Christian Kniep <[email protected]>"
RUN echo "2015-10-14.1";apt-get update && \
apt-get install -y supervisor && \
echo "supervisord -c /etc/supervisord.conf" >> /root/.bash_history && \
echo "supervisorctl status" >> /root/.bash_history && \
echo "tail -f /var/log/supervisor/" >> /root/.bash_history
ADD etc/supervisord.conf /etc/supervisord.conf
CMD ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
| null | bug fix |
308 | 483f7ef8dbee1741bf8b948611b74fa4452a3bb5 | Bumped source to 20200302-f01d1ca | Bumped source to 20200302-f01d1ca
| FROM docker.pkg.github.com/dock0/arch/arch:20200302-474bc73
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20200302-f01d1ca
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
373 | 1e3e0109e1740112a74503ed967423e8f94a1021 | Fix broken CSS (#13) | Fix broken CSS (#13)
| FROM alpine:3.4
# Install nginx and tooling we need
RUN apk update && \
apk add nginx curl unzip && \
rm -rf /var/cache/apk/*
# Use consul-template to re-write our Nginx virtualhost config
RUN curl -Lo /tmp/consul_template_0.15.0_linux_amd64.zip https://releases.hashicorp.com/consul-template/0.15.0/consul-template_0.15.0_linux_amd64.zip && \
unzip /tmp/consul_template_0.15.0_linux_amd64.zip && \
mv consul-template /bin
# Get ContainerPilot release
ENV CONTAINERPILOT_VERSION 2.4.1
RUN export CP_SHA1=198d96c8d7bfafb1ab6df96653c29701510b833c && \
curl -Lso /tmp/containerpilot.tar.gz "https://github.com/joyent/containerpilot/releases/download/${CONTAINERPILOT_VERSION}/containerpilot-${CONTAINERPILOT_VERSION}.tar.gz" && \
echo "${CP_SHA1} /tmp/containerpilot.tar.gz" | sha1sum -c && \
tar zxf /tmp/containerpilot.tar.gz -C /bin && \
rm /tmp/containerpilot.tar.gz
COPY containerpilot.json /etc/containerpilot.json
ENV CONTAINERPILOT=file:///etc/containerpilot.json
COPY reload-nginx.sh /bin/
COPY index.html /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf.ctmpl /etc/containerpilot/
EXPOSE 80
CMD ["/bin/containerpilot", "nginx"]
| FROM alpine:3.4
# Install nginx and tooling we need
RUN apk update && \
apk add nginx curl unzip && \
rm -rf /var/cache/apk/*
# Use consul-template to re-write our Nginx virtualhost config
RUN curl -Lo /tmp/consul_template_0.15.0_linux_amd64.zip https://releases.hashicorp.com/consul-template/0.15.0/consul-template_0.15.0_linux_amd64.zip && \
unzip /tmp/consul_template_0.15.0_linux_amd64.zip && \
mv consul-template /bin
# Get ContainerPilot release
ENV CONTAINERPILOT_VERSION 2.4.1
RUN export CP_SHA1=198d96c8d7bfafb1ab6df96653c29701510b833c && \
curl -Lso /tmp/containerpilot.tar.gz "https://github.com/joyent/containerpilot/releases/download/${CONTAINERPILOT_VERSION}/containerpilot-${CONTAINERPILOT_VERSION}.tar.gz" && \
echo "${CP_SHA1} /tmp/containerpilot.tar.gz" | sha1sum -c && \
tar zxf /tmp/containerpilot.tar.gz -C /bin && \
rm /tmp/containerpilot.tar.gz
COPY containerpilot.json /etc/containerpilot.json
ENV CONTAINERPILOT=file:///etc/containerpilot.json
COPY reload-nginx.sh /bin/
COPY index.html /usr/share/nginx/html/
COPY style.css /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf.ctmpl /etc/containerpilot/
EXPOSE 80
CMD ["/bin/containerpilot", "nginx"]
| maintenance/other |
391 | 00aac3cc7597bbc4fc22ceba2e70cbfc0b74e57f | Bumped source to 20210421-4ce94b8 | Bumped source to 20210421-4ce94b8
| FROM docker.pkg.github.com/dock0/arch/arch:20210421-42c13f8
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20210421-4ce94b8
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
2159 | e06befcf20566795231d8e4cde21a27efcda2b6d | Bumped source to 20210411-cae9883 | Bumped source to 20210411-cae9883
| FROM docker.pkg.github.com/dock0/arch/arch:20210411-d90d621
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | code refactoring |
2281 | c341a495d108259d891c638664d6d89010815542 | Bumped source to 20200920-bdcf0d9 | Bumped source to 20200920-bdcf0d9
| FROM docker.pkg.github.com/dock0/arch/arch:20200920-555a91e
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | code refactoring |
326 | e447acae90e9926c91a35763696f86ed024ccd31 | Pin alpine version to match Pipfile | Pin alpine version to match Pipfile
Currently running the docker image fails with 'ImportError: cannot import name 'Mapping' from 'collections'' due to pulling down the latest version of Python from alpine.
If we pinning to the version specified in the Pipfile, it resolves it. | FROM python:3-alpine
RUN pip install pipenv
ADD ./Pipfile ./Pipfile
ADD ./Pipfile.lock ./Pipfile.lock
RUN pipenv install --deploy --system
ADD ./hostthedocs/ ./hostthedocs/
ADD ./runserver.py ./runserver.py
ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000
EXPOSE 5000
CMD [ "python", "runserver.py" ]
| FROM python:3.6-alpine
RUN pip install pipenv
ADD ./Pipfile ./Pipfile
ADD ./Pipfile.lock ./Pipfile.lock
RUN pipenv install --deploy --system
ADD ./hostthedocs/ ./hostthedocs/
ADD ./runserver.py ./runserver.py
ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000
EXPOSE 5000
CMD [ "python", "runserver.py" ]
| maintenance/other |
254 | 8ce9a2b2da3e0645a08da8bdc814534e437d3001 | Fix base image | Fix base image
| FROM bizeps/jenkinsuser
MAINTAINER Dominik Ebert <[email protected]>
# Modified official Jenkins Dockerfile
# See: https://github.com/jenkinsci/docker
# install java
RUN apt-get update && apt-get install -y \
curl \
default-jre \
git \
zip \
&& rm -rf /var/lib/apt/lists/*
# Definition of jenkins user
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ENV JENKINS_HOME /var/jenkins_home
# Jenkins runs with user `jenkins:jenkins`, uid = 1000, gid = 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}
# `/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_SHA 066ad710107dc7ee05d3aa6e4974f01dc98f3888
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v0.5.0/tini-static -o /bin/tini && chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha1sum -c -
COPY ./resources/init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groovy
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.46.2}
ARG JENKINS_SHA=aa7f243a4c84d3d6cfb99a218950b8f7b926af7aa2570b0e1707279d464472c7
# 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
# 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 https://updates.jenkins.io
RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref
# for main web interface:
EXPOSE 8080
# will be used by attached slave agents:
EXPOSE 50000
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log
# Jenkins home directory is a volume, so configuration and build history
# can be persisted and survive image upgrades
VOLUME $JENKINS_HOME
USER ${user}
COPY ./resources/jenkins.sh /usr/local/bin/jenkins.sh
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
COPY ./resources/plugins.sh /usr/local/bin/plugins.sh
COPY ./resources/plugins.txt /usr/share/jenkins/plugins.txt
RUN bash /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
| FROM debian:jessie
MAINTAINER Dominik Ebert <[email protected]>
# Modified official Jenkins Dockerfile
# See: https://github.com/jenkinsci/docker
# install java
RUN apt-get update && apt-get install -y \
curl \
default-jre \
git \
zip \
&& rm -rf /var/lib/apt/lists/*
# Definition of jenkins user
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ENV JENKINS_HOME /var/jenkins_home
# Jenkins runs with user `jenkins:jenkins`, uid = 1000, gid = 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}
# `/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_SHA 066ad710107dc7ee05d3aa6e4974f01dc98f3888
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v0.5.0/tini-static -o /bin/tini && chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha1sum -c -
COPY ./resources/init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groovy
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.46.2}
ARG JENKINS_SHA=aa7f243a4c84d3d6cfb99a218950b8f7b926af7aa2570b0e1707279d464472c7
# 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
# 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 https://updates.jenkins.io
RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref
# for main web interface:
EXPOSE 8080
# will be used by attached slave agents:
EXPOSE 50000
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log
# Jenkins home directory is a volume, so configuration and build history
# can be persisted and survive image upgrades
VOLUME $JENKINS_HOME
USER ${user}
COPY ./resources/jenkins.sh /usr/local/bin/jenkins.sh
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
COPY ./resources/plugins.sh /usr/local/bin/plugins.sh
COPY ./resources/plugins.txt /usr/share/jenkins/plugins.txt
RUN bash /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
| maintenance/other |
291 | bd7cc48a023a6a6e18e51717d6a8a93acc7d3a96 | Bumped source to 20210706-c0daff4 | Bumped source to 20210706-c0daff4
| FROM docker.pkg.github.com/dock0/service/service:20210706-be0056a
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20210706-c0daff4
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| bug fix |
261 | fb53cfbd0f6982ec4e7a9981cb21a27bcdeff0fd | Bumped source to 20210126-d9ce23a | Bumped source to 20210126-d9ce23a
| FROM docker.pkg.github.com/dock0/arch/arch:20210126-562db74
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20210126-d9ce23a
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
156 | 322f2fa61f1df1ab26cc3522e351f3a2d3cccf89 | Fixed diacritical marks | Fixed diacritical marks
| FROM debian:jessie
MAINTAINER madsonic ([email protected])
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
# Madsonic Package Information
ENV PKG_NAME madsonic
ENV PKG_VER 6.0
ENV PKG_BUILD 7960
ENV PKG_DATE 20160122
# Use init system
CMD ["/sbin/my_init"]
# Fix ids
RUN usermod -u 99 nobody
RUN usermod -g 100 nobody
# Add Oracle Java8 Repo
RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 \
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
# Install apt packages
RUN apt-get update && apt-get install -y \
ca-certificates \
locales \
oracle-java8-installer \
oracle-java8-set-default \
unzip \
wget
# download madsonic
RUN mkdir -p /var/madsonic/transcode \
&& wget -O /var/madsonic/madsonic.zip http://www.madsonic.org/download/${PKG_VER}/${PKG_DATE}_${PKG_NAME}-${PKG_VER}.${PKG_BUILD}-standalone.zip \
&& wget -O /var/madsonic/transcode.zip http://www.madsonic.org/download/transcode/${PKG_DATE}_${PKG_NAME}-transcode-linux-x64.zip
# Install Madsonic
RUN mkdir -p /var/madsonic/transcode \
&& unzip /var/madsonic/madsonic.zip -d /var/madsonic \
&& unzip /var/madsonic/transcode.zip -d /var/madsonic \
&& chown -R nobody:users /var/madsonic \
&& chmod -R 755 /var/madsonic \
&& rm /var/madsonic/madsonic.zip \
&& rm /var/madsonic/transcode.zip
# Force Madsonic to run in foreground
RUN sed -i 's/-jar madsonic-booter.jar > \${LOG} 2>\&1 \&/-jar madsonic-booter.jar > \${LOG} 2>\&1/g' /var/madsonic/madsonic.sh
# apt clean
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
# Set Locale env
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Set Locale
RUN locale-gen en_US en_US.UTF-8
RUN dpkg-reconfigure locales
# default http https port
EXPOSE 4040 4050
# App configuration
VOLUME /config
# media directory
VOLUME /media
# Copy start.sh script
ADD ./start.sh /start.sh
RUN chmod +x /start.sh
RUN chown -R nobody:users /start.sh
# run App as user
USER nobody
ENTRYPOINT ["/start.sh"]
| FROM debian:jessie
MAINTAINER madsonic ([email protected])
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
# Madsonic Package Information
ENV PKG_NAME madsonic
ENV PKG_VER 6.0
ENV PKG_BUILD 7960
ENV PKG_DATE 20160122
# Use init system
CMD ["/sbin/my_init"]
# Fix ids
RUN usermod -u 99 nobody
RUN usermod -g 100 nobody
# Add Oracle Java8 Repo
RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 \
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
# Install apt packages
RUN apt-get update && apt-get install -y \
ca-certificates \
locales \
oracle-java8-installer \
oracle-java8-set-default \
unzip \
wget
# download madsonic
RUN mkdir -p /var/madsonic/transcode \
&& wget -O /var/madsonic/madsonic.zip http://www.madsonic.org/download/${PKG_VER}/${PKG_DATE}_${PKG_NAME}-${PKG_VER}.${PKG_BUILD}-standalone.zip \
&& wget -O /var/madsonic/transcode.zip http://www.madsonic.org/download/transcode/${PKG_DATE}_${PKG_NAME}-transcode-linux-x64.zip
# Install Madsonic
RUN mkdir -p /var/madsonic/transcode \
&& unzip /var/madsonic/madsonic.zip -d /var/madsonic \
&& unzip /var/madsonic/transcode.zip -d /var/madsonic \
&& chown -R nobody:users /var/madsonic \
&& chmod -R 755 /var/madsonic \
&& rm /var/madsonic/madsonic.zip \
&& rm /var/madsonic/transcode.zip
# Force Madsonic to run in foreground
RUN sed -i 's/-jar madsonic-booter.jar > \${LOG} 2>\&1 \&/-jar madsonic-booter.jar > \${LOG} 2>\&1/g' /var/madsonic/madsonic.sh
# apt clean
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
# Set Locale env
ENV LANG C.UTF-8
# default http https port
EXPOSE 4040 4050
# App configuration
VOLUME /config
# media directory
VOLUME /media
# Copy start.sh script
ADD ./start.sh /start.sh
RUN chmod +x /start.sh
RUN chown -R nobody:users /start.sh
# run App as user
USER nobody
ENTRYPOINT ["/start.sh"]
| code refactoring |
117 | 2c7f289ada09a9ec5527d1f7710f29c7ad7ce854 | Bumped source to 20201115-bc8e5e0 | Bumped source to 20201115-bc8e5e0
| FROM docker.pkg.github.com/dock0/service/service:20201115-16ac26c
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20201115-bc8e5e0
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| feature addition |
2093 | b8bed1176b170d9480df32d96cca436bdffd7dd7 | Update to Java 8u131 and JNA 4.4.0 | Update to Java 8u131 and JNA 4.4.0
Download unlimited JCE policy.
| # OpenWrt with a Java installation
#
# Many thanks to the original author:
#
# Jean Blanchard <[email protected]>
#
# cf. https://github.com/jeanblanchard/docker-busybox-java
#
FROM mcreations/openwrt-x64
MAINTAINER Kambiz Darabi <[email protected]>
# Java Version
ENV JAVA_VERSION_MAJOR 8
ENV JAVA_VERSION_MINOR 60
ENV JAVA_VERSION_BUILD 27
ENV JAVA_PACKAGE server-jre
ENV JNA_VERSION 4.1.0
# Runtime environment
ENV JAVA_HOME /opt/jre
ENV PATH ${PATH}:${JAVA_HOME}/bin
CMD [ "java", "-version" ]
# Download and unarchive Java
RUN opkg update && opkg install curl &&\
curl -kLOH "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie"\
http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-b${JAVA_VERSION_BUILD}/${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz &&\
mkdir /opt &&\
tar -xzf ${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz -C /opt &&\
cp -r /opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR}/jre /opt/ &&\
curl -kL -o /opt/jre/lib/ext/jna.jar https://github.com/twall/jna/raw/${JNA_VERSION}/dist/jna.jar &&\
echo "export PATH=\$PATH:${JAVA_HOME}/bin" >> /etc/profile &&\
opkg remove curl libcurl libpolarssl &&\
rm -rf ${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz \
/opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR}/ \
/opt/jre/lib/plugin.jar \
/opt/jre/lib/ext/jfxrt.jar \
/opt/jre/bin/javaws \
/opt/jre/lib/javaws.jar \
/opt/jre/lib/desktop \
/opt/jre/plugin \
/opt/jre/lib/deploy* \
/opt/jre/lib/*javafx* \
/opt/jre/lib/*jfx* \
/opt/jre/lib/amd64/libdecora_sse.so \
/opt/jre/lib/amd64/libprism_*.so \
/opt/jre/lib/amd64/libfxplugins.so \
/opt/jre/lib/amd64/libglass.so \
/opt/jre/lib/amd64/libgstreamer-lite.so \
/opt/jre/lib/amd64/libjavafx*.so \
/opt/jre/lib/amd64/libjfx*.so
CMD [ "java", "-version" ]
| null | bug fix |
273 | 1828c3cc14a2034b40e7b26b2ee2fbbdff65e0ca | add upgrade | add upgrade | #
# Nginx & PHP-FPM Dockerfile
#
# https://github.com/umeice/nginx
#
# Pull base image.
FROM umeice/python
# Install Nginx.
RUN \
add-apt-repository -y ppa:nginx/stable && \
apt-get update && \
apt-get install -y nginx && \
chown -R www-data:www-data /var/lib/nginx
# Install php5-fpm, mysql-client.
RUN \
apt-get install -y php5-fpm php5-mysql && \
apt-get install -y php5-cli mysql-client-5.6
# php-fpm config
# http://www.tokumaru.org/d/20100927.html
# https://github.com/eugeneware/docker-wordpress-nginx/blob/master/Dockerfile
RUN \
sed -i 's/^;\?\(max_execution_time =\).*$/\1 300/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(memory_limit =\).*$/\1 256M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(post_max_size =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(upload_max_filesize =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(date.timezone =\).*$/\1 "Asia\/Tokyo"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(output_buffering =\).*$/\1 Off/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(default_charset =\).*$/\1 "UTF-8"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.language =\).*$/\1 Japanese/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.internal_encoding =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_input =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_output =\).*$/\1 pass/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.encoding_translation =\).*$/\1 On/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.substitute_character =\).*$/\1 "?"/' /etc/php5/fpm/php.ini
# Add Supervisor conf.
ADD supervisord.conf /etc/supervisord.conf
# Define mountable directories.
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
# Define working directory.
WORKDIR /etc/nginx
# Define default command.
CMD ["supervisord"]
# Expose ports.
EXPOSE 80
EXPOSE 443
| #
# Nginx & PHP-FPM Dockerfile
#
# https://github.com/umeice/nginx
#
# Pull base image.
FROM umeice/python
# Install Nginx.
RUN \
add-apt-repository -y ppa:nginx/stable && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y nginx && \
chown -R www-data:www-data /var/lib/nginx
# Install php5-fpm, mysql-client.
RUN \
apt-get install -y php5-fpm php5-mysql && \
apt-get install -y php5-cli mysql-client-5.6
# php-fpm config
# http://www.tokumaru.org/d/20100927.html
# https://github.com/eugeneware/docker-wordpress-nginx/blob/master/Dockerfile
RUN \
sed -i 's/^;\?\(max_execution_time =\).*$/\1 300/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(memory_limit =\).*$/\1 256M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(post_max_size =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(upload_max_filesize =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(date.timezone =\).*$/\1 "Asia\/Tokyo"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(output_buffering =\).*$/\1 Off/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(default_charset =\).*$/\1 "UTF-8"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.language =\).*$/\1 Japanese/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.internal_encoding =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_input =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_output =\).*$/\1 pass/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.encoding_translation =\).*$/\1 On/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.substitute_character =\).*$/\1 "?"/' /etc/php5/fpm/php.ini
# Add Supervisor conf.
ADD supervisord.conf /etc/supervisord.conf
# Define mountable directories.
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
# Define working directory.
WORKDIR /etc/nginx
# Define default command.
CMD ["supervisord"]
# Expose ports.
EXPOSE 80
EXPOSE 443
| maintenance/other |
2119 | 60bbd06897e532922ec4a34f66839638d7fc5532 | fixed curl: not found | fixed curl: not found
| #Inspiration 1: DotCloud
#Inspiration 2: https://github.com/justnidleguy/
#Inspiration 3: https://bitbucket.org/xcgd/ubuntu4b
FROM softapps/docker-ubuntubase
MAINTAINER Arun T K <[email protected]>
# generate locales
RUN locale-gen en_US.UTF-8 && update-locale
RUN echo 'LANG="en_US.UTF-8"' > /etc/default/locale
# add some system packages
RUN TERM=linux apt-get update && TERM=linux apt-get -y -q install \
libterm-readline-perl-perl \
dialog sudo \
&& rm -rf /var/lib/apt/lists/*
# Add the PostgreSQL PGP key to verify their Debian packages.
# It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
# Add PostgreSQL's repository. It contains the most recent stable release
# of PostgreSQL, ``9.4``.
# install dependencies as distrib packages when system bindings are required
# some of them extend the basic odoo requirements for a better "apps" compatibility
# most dependencies are distributed as wheel packages at the next step
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
TERM=linux apt-get update && \
TERM=linux apt-get -yq install \
adduser \
ghostscript \
postgresql-client-9.4 \
python \
python-pip \
python-support \
python-imaging \
python-pychart python-libxslt1 xfonts-base xfonts-75dpi \
libxrender1 libxext6 fontconfig \
python-zsi \
python-lasso \
&& rm -rf /var/lib/apt/lists/*
ADD sources/pip-req.txt /opt/sources/pip-req.txt
# use wheels from our public wheelhouse for proper versions of listed packages
# as described in sourced pip-req.txt
# these are python dependencies for odoo and "apps" as precompiled wheel packages
RUN pip install --upgrade --use-wheel --no-index --pre \
--find-links=https://googledrive.com/host/0Bz-lYS0FYZbIfklDSm90US16S0VjWmpDQUhVOW1GZlVOMUdXb1hENFFBc01BTGpNVE1vZGM \
--requirement=/opt/sources/pip-req.txt
# install wkhtmltopdf based on QT5
ADD http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb /opt/sources/wkhtmltox.deb
RUN dpkg -i /opt/sources/wkhtmltox.deb
# Install some deps, lessc and less-plugin-clean-css
RUN curl https://deb.nodesource.com/node012/pool/main/n/nodejs/nodejs_0.12.0-1nodesource1~precise1_amd64.deb > node.deb \
&& dpkg -i node.deb \
&& rm node.deb
RUN npm install -g less less-plugin-clean-css \
&& npm cache clear
RUN ln -s /usr/bin/nodejs /usr/bin/node
# create the odoo user
RUN adduser --home=/opt/odoo --disabled-password --gecos "" --shell=/bin/bash odoo
# ADD sources for the oe components
# ADD an URI always gives 600 permission with UID:GID 0 => need to chmod accordingly
# /!\ carefully select the source archive depending on the version
ADD https://github.com/trabacus-softapps/odoo/archive/saas-6.tar.gz /opt/odoo/odoo.tar.gz
RUN chown odoo:odoo /opt/odoo/odoo.tar.gz
# changing user is required by openerp which won't start with root
# makes the container more unlikely to be unwillingly changed in interactive mode
USER odoo
RUN /bin/bash -c "mkdir -p /opt/odoo/{bin,etc,sources/odoo/addons,additional_addons,data}" && \
cd /opt/odoo/sources/odoo && \
tar -xvf /opt/odoo/odoo.tar.gz --strip 1 && \
rm /opt/odoo/odoo.tar.gz
RUN /bin/bash -c "mkdir -p /opt/odoo/var/{run,log,egg-cache,ftp}"
# Execution environment
USER 0
ADD sources/odoo.conf /opt/sources/odoo.conf
WORKDIR /app
VOLUME ["/opt/odoo/var", "/opt/odoo/etc", "/opt/odoo/additional_addons", "/opt/odoo/data"]
# Set the default entrypoint (non overridable) to run when starting the container
ENTRYPOINT ["/app/bin/boot"]
CMD ["help"]
# Expose the odoo ports (for linked containers)
EXPOSE 8069 8072
ADD bin /app/bin/
| null | code refactoring |
2086 | 10cada6230fe9d437f3b58337bb6695079e95b5c | Bumped source to 20200422-2d7110c | Bumped source to 20200422-2d7110c
| FROM docker.pkg.github.com/dock0/arch/arch:20200422-9d8599d
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | feature addition |
228 | 7244ca5103dbb78f044626d4e1f4ba54e34372b9 | Changes base image to `ruby:alpine` to keep up with version changes | Changes base image to `ruby:alpine` to keep up with version changes
| FROM ruby:2.3-alpine
MAINTAINER John Allen <[email protected]>
MAINTAINER Jack Ross <[email protected]>
VOLUME /var/s3
ARG S3FS_VERSION=v1.79
RUN \
cd /tmp && \
apk --no-cache add wget ca-certificates && \
wget "s3.amazonaws.com/aws-cli/awscli-bundle.zip" -O "awscli-bundle.zip" && \
unzip awscli-bundle.zip && \
apk --no-cache add groff less python && \
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
# install build related tools
apk --no-cache add --virtual .build_deps \
git \
autoconf \
automake \
build-base \
glib \
glib-dev \
libc-dev \
libtool \
linux-headers \
openssl-dev \
ruby-dev && \
apk --no-cache add --virtual .s3fs_deps \
fuse \
alpine-sdk \
automake \
autoconf \
libxml2-dev \
fuse-dev \
curl-dev \
git \
bash && \
apk --no-cache add --virtual .gem_deps \
postgresql-dev \
sqlite-dev \
libxml2-dev \
libxslt-dev \
tzdata && \
# install s3fs
cd /tmp && \
git clone https://github.com/s3fs-fuse/s3fs-fuse.git && \
cd s3fs-fuse && \
git checkout tags/${S3FS_VERSION} && \
./autogen.sh && \
./configure --prefix=/usr && make && make install && \
cd /tmp && \
# install csvquote
cd /tmp && \
wget "https://github.com/dbro/csvquote/archive/master.zip" && \
unzip master.zip && rm master.zip && \
cd csvquote-master && \
make && make install && \
cd /tmp && \
# install mdb-tools
cd /tmp && \
wget "https://github.com/brianb/mdbtools/archive/0.7.1.zip" && \
unzip 0.7.1.zip && rm 0.7.1.zip && \
cd mdbtools-0.7.1 && \
autoreconf -i -f && \
./configure --disable-man && make && make install && \
cd /tmp && \
# install apk versions of tools
apk --no-cache add \
bash \
zsh \
coreutils \
freetds \
gawk \
gzip \
jq \
postgresql-client \
sed \
gpgme && \
# fix for gpg
apk --no-cache add \
gnupg1 && \
rm /etc/freetds.conf && \
# symlink gsed to sed
ln -s /bin/sed /bin/gsed && \
#clean up
# apk del build-base libtool autoconf automake glib-dev openssl && \
rm -rf /tmp/*
RUN sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" || true
WORKDIR /etc
COPY alpine/etc/ .
ENV HOME /root
WORKDIR $HOME
COPY alpine/root/ .
# override entry point from parent image
ENTRYPOINT ["/bin/zsh"]
| FROM ruby:alpine
MAINTAINER John Allen <[email protected]>
MAINTAINER Jack Ross <[email protected]>
VOLUME /var/s3
ARG S3FS_VERSION=v1.79
RUN \
cd /tmp && \
apk --no-cache add wget ca-certificates && \
wget "s3.amazonaws.com/aws-cli/awscli-bundle.zip" -O "awscli-bundle.zip" && \
unzip awscli-bundle.zip && \
apk --no-cache add groff less python && \
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
# install build related tools
apk --no-cache add --virtual .build_deps \
git \
autoconf \
automake \
build-base \
glib \
glib-dev \
libc-dev \
libtool \
linux-headers \
openssl-dev \
ruby-dev && \
apk --no-cache add --virtual .s3fs_deps \
fuse \
alpine-sdk \
automake \
autoconf \
libxml2-dev \
fuse-dev \
curl-dev \
git \
bash && \
apk --no-cache add --virtual .gem_deps \
postgresql-dev \
sqlite-dev \
libxml2-dev \
libxslt-dev \
tzdata && \
# install s3fs
cd /tmp && \
git clone https://github.com/s3fs-fuse/s3fs-fuse.git && \
cd s3fs-fuse && \
git checkout tags/${S3FS_VERSION} && \
./autogen.sh && \
./configure --prefix=/usr && make && make install && \
cd /tmp && \
# install csvquote
cd /tmp && \
wget "https://github.com/dbro/csvquote/archive/master.zip" && \
unzip master.zip && rm master.zip && \
cd csvquote-master && \
make && make install && \
cd /tmp && \
# install mdb-tools
cd /tmp && \
wget "https://github.com/brianb/mdbtools/archive/0.7.1.zip" && \
unzip 0.7.1.zip && rm 0.7.1.zip && \
cd mdbtools-0.7.1 && \
autoreconf -i -f && \
./configure --disable-man && make && make install && \
cd /tmp && \
# install apk versions of tools
apk --no-cache add \
bash \
zsh \
coreutils \
freetds \
gawk \
gzip \
jq \
postgresql-client \
sed \
gpgme && \
# fix for gpg
apk --no-cache add \
gnupg1 && \
rm /etc/freetds.conf && \
# symlink gsed to sed
ln -s /bin/sed /bin/gsed && \
#clean up
# apk del build-base libtool autoconf automake glib-dev openssl && \
rm -rf /tmp/*
RUN sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" || true
WORKDIR /etc
COPY alpine/etc/ .
ENV HOME /root
WORKDIR $HOME
COPY alpine/root/ .
# override entry point from parent image
ENTRYPOINT ["/bin/zsh"]
| maintenance/other |
2252 | 6d4039f04611a1c9893f2346210fd60f01d94420 | Add JDK 11 to Asylo Dockerfile | Add JDK 11 to Asylo Dockerfile
PiperOrigin-RevId: 288751173
Change-Id: Idf9d80d21e86091615e698c0452e3f1dcaafbdc4
| #
# Copyright 2018 Asylo authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Use fixed snapshot of Debian to create a deterministic environment.
# Snapshot tags can be found at https://hub.docker.com/r/debian/snapshot/tags
ARG debian_snapshot=buster-20191118
# Start with a temporary image just for building the toolchain.
FROM debian/snapshot:${debian_snapshot} as toolchain
# Add build dependencies from Debian.
RUN apt-get update && \
apt-get install -y \
bison \
build-essential \
flex \
libisl-dev \
libmpc-dev \
libmpfr-dev \
rsync \
texinfo \
wget \
zlib1g-dev
COPY . /opt/asylo/distrib/toolchain/
# Build and install the toolchain.
RUN /opt/asylo/distrib/toolchain/install-toolchain \
--system \
--prefix /opt/asylo/toolchains/default
## Now, create the final image.
FROM debian/snapshot:${debian_snapshot}
# Use a fixed version of Bazel.
ARG bazel_version=1.2.1
ARG bazel_sha=4bbb2718d451db5922223fda3aed3810c4ca50f431481e86a7fec4c585f18b1f
ARG bazel_url=https://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_${bazel_version}_amd64.deb
# Install development tools
RUN apt-get update && \
apt-get install -y wget && \
wget "${bazel_url}" -nv -o- -O bazel.deb && \
echo "${bazel_sha} bazel.deb" > bazel.sha256 && \
sha256sum --check bazel.sha256 && \
apt-get install -y \
./bazel.deb \
bash-completion \
build-essential \
git \
libfl2 \
ocaml-nox \
ocamlbuild \
python-dev \
python2.7-dev \
python3-dev \
vim \
&& \
rm bazel.deb bazel.sha256 && \
apt-get clean && \
echo ". /etc/bash_completion" >> /root/.bashrc
# Copy the built toolchain from the earlier image.
COPY --from=toolchain /opt/asylo/toolchains/ /opt/asylo/toolchains/
COPY --from=toolchain /usr/local/share/asylo/ /usr/local/share/asylo/
# Default command to run if not specified otherwise.
CMD ["/bin/bash"]
| null | maintenance/other |
2301 | ad28fb24adaa13e775ff0abdd418a9fdb671bd80 | Bumped source to 20200811-6cc1b0a | Bumped source to 20200811-6cc1b0a
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200811-e17ced9
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | maintenance/other |
49 | 2b720d3a1e78150a5920c0025994265e7e2d1290 | Bumped source to 20201111-35f9132 | Bumped source to 20201111-35f9132
| FROM docker.pkg.github.com/dock0/arch/arch:20201111-2fbdfd7
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20201111-35f9132
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
18 | bb71344786f24234012047a3b85865b21625b58a | Bumped source to 20200610-4d706a3 | Bumped source to 20200610-4d706a3
| FROM docker.pkg.github.com/dock0/arch/arch:20200610-195d543
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200610-4d706a3
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| maintenance/other |
379 | 8d0629b42cfe518605c7ca93acc6e6db6c60b43a | Remove meteor file version from docker compose file | Remove meteor file version from docker compose file
| FROM centos:7
MAINTAINER [email protected]
#updated meteor version to avoid EXDEV: cross-device link not permitted errors
ENV NODE_VERSION 4.7.0
ENV METEOR_VERSION 1.4.4.2
ENV METEOR_FILE_VERSION 1.4.4-1
ENV MONGO_URL=mongodb://mongodb:3002/meteor
ENV ROOT_URL=http://localhost
ENV PORT=3000
RUN \
useradd -ms /bin/bash -d /opt/mozdef -m mozdef && \
mkdir -p /opt/mozdef/envs/mozdef && \
cd /opt/mozdef && \
curl -sL -o /opt/mozdef/nodesource.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm && \
rpm -i --nosignature --force /opt/mozdef/nodesource.rpm && \
yum install -y \
wget \
make \
glibc-devel \
gcc \
gcc-c++ \
libstdc++ \
libffi-devel \
zlib-devel && \
yum install -y nodejs-$NODE_VERSION && \
npm install [email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
bcrypt && \
mkdir /opt/mozdef/meteor && \
curl -sL -o /opt/mozdef/meteor.tar.gz https://static-meteor.netdna-ssl.com/packages-bootstrap/$METEOR_VERSION/meteor-bootstrap-os.linux.x86_64.tar.gz && \
tar -xzf /opt/mozdef/meteor.tar.gz -C /opt/mozdef/meteor && \
mv /opt/mozdef/meteor/.meteor /opt/mozdef && \
rm -r /opt/mozdef/meteor && \
cp /opt/mozdef/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor
#copy our source dir and set ownership
USER mozdef
COPY meteor /opt/mozdef/envs/mozdef/meteor
USER root
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor
#avoiding -R due to massive list of files from meteor
RUN chown mozdef:mozdef /opt/mozdef/envs
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor npm install --save babel-runtime && \
meteor add accounts-password && \
meteor add npm-bcrypt && \
mkdir -p /opt/mozdef/envs/meteor/mozdef
USER root
COPY docker/compose/mozdef_meteor/files/settings.js /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef/ --allow-incompatible-update
WORKDIR /opt/mozdef/envs/meteor/mozdef
EXPOSE 3000
| FROM centos:7
MAINTAINER [email protected]
#updated meteor version to avoid EXDEV: cross-device link not permitted errors
ENV NODE_VERSION 4.7.0
ENV METEOR_VERSION 1.4.4.2
ENV MONGO_URL=mongodb://mongodb:3002/meteor
ENV ROOT_URL=http://localhost
ENV PORT=3000
RUN \
useradd -ms /bin/bash -d /opt/mozdef -m mozdef && \
mkdir -p /opt/mozdef/envs/mozdef && \
cd /opt/mozdef && \
curl -sL -o /opt/mozdef/nodesource.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm && \
rpm -i --nosignature --force /opt/mozdef/nodesource.rpm && \
yum install -y \
wget \
make \
glibc-devel \
gcc \
gcc-c++ \
libstdc++ \
libffi-devel \
zlib-devel && \
yum install -y nodejs-$NODE_VERSION && \
npm install [email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
bcrypt && \
mkdir /opt/mozdef/meteor && \
curl -sL -o /opt/mozdef/meteor.tar.gz https://static-meteor.netdna-ssl.com/packages-bootstrap/$METEOR_VERSION/meteor-bootstrap-os.linux.x86_64.tar.gz && \
tar -xzf /opt/mozdef/meteor.tar.gz -C /opt/mozdef/meteor && \
mv /opt/mozdef/meteor/.meteor /opt/mozdef && \
rm -r /opt/mozdef/meteor && \
cp /opt/mozdef/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor
#copy our source dir and set ownership
USER mozdef
COPY meteor /opt/mozdef/envs/mozdef/meteor
USER root
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor
#avoiding -R due to massive list of files from meteor
RUN chown mozdef:mozdef /opt/mozdef/envs
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor npm install --save babel-runtime && \
meteor add accounts-password && \
meteor add npm-bcrypt && \
mkdir -p /opt/mozdef/envs/meteor/mozdef
USER root
COPY docker/compose/mozdef_meteor/files/settings.js /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef/ --allow-incompatible-update
WORKDIR /opt/mozdef/envs/meteor/mozdef
EXPOSE 3000
| maintenance/other |
83 | 47e131104756cdd10b2d4c9a090feb539475dfa0 | Bumped source to 20200726-6718f32 | Bumped source to 20200726-6718f32
| FROM docker.pkg.github.com/dock0/arch/arch:20200725-ca53f93
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20200726-6718f32
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| maintenance/other |
2227 | 64bfbab8a5a127560dc46001ddb9fec1e8eafbfd | Bump Alpine Linux to v3.4 | Bump Alpine Linux to v3.4
| FROM alpine:3.3
MAINTAINER Akiyoshi Sakaguchi <[email protected]>
ENV NGINX_VERSION 1.10.0
RUN apk --update add pcre-dev openssl-dev \
&& apk add --virtual build-dependencies build-base curl \
&& curl -SLO http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
&& tar xzvf nginx-${NGINX_VERSION}.tar.gz \
&& cd nginx-${NGINX_VERSION} \
&& ./configure \
--with-http_ssl_module \
--with-http_gzip_static_module \
--prefix=/usr/share/nginx \
--sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/conf/nginx.conf \
--pid-path=/var/run/nginx.pid \
--http-log-path=/var/log/nginx/access.log \
--error-log-path=/var/log/nginx/error.log \
&& make \
&& make install \
&& cd / \
&& apk del build-dependencies \
&& ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log \
&& rm -rf \
nginx-${NGINX_VERSION} \
nginx-${NGINX_VERSION}.tar.gz \
/var/cache/apk/*
VOLUME ["/var/cache/nginx"]
EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]
| null | maintenance/other |
2190 | 4522b37875f7fbcf5c66b47230996ec8a78276c2 | version bump 2.10.0 | version bump 2.10.0
| FROM php:7.2-fpm
LABEL maintainer="[email protected]"
ARG PASSBOLT_VERSION="2.9.0"
ARG PASSBOLT_URL="https://github.com/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz"
ARG PASSBOLT_CURL_HEADERS=""
ARG PHP_EXTENSIONS="gd \
intl \
pdo_mysql \
opcache \
xsl"
ARG PECL_PASSBOLT_EXTENSIONS="gnupg \
redis \
mcrypt"
ARG PASSBOLT_DEV_PACKAGES="libgpgme11-dev \
libpng-dev \
libjpeg62-turbo-dev \
libicu-dev \
libxslt1-dev \
libmcrypt-dev \
unzip"
ARG PASSBOLT_BASE_PACKAGES="nginx \
gnupg \
libgpgme11 \
libmcrypt4 \
mysql-client \
supervisor \
cron"
ENV PECL_BASE_URL="https://pecl.php.net/get"
ENV PHP_EXT_DIR="/usr/src/php/ext"
WORKDIR /var/www/passbolt
RUN apt-get update \
&& apt-get -y install --no-install-recommends \
$PASSBOLT_DEV_PACKAGES \
$PASSBOLT_BASE_PACKAGES \
&& mkdir /home/www-data \
&& chown -R www-data:www-data /home/www-data \
&& usermod -d /home/www-data www-data \
&& docker-php-source extract \
&& for i in $PECL_PASSBOLT_EXTENSIONS; do \
mkdir $PHP_EXT_DIR/$i; \
curl -sSL $PECL_BASE_URL/$i | tar zxf - -C $PHP_EXT_DIR/$i --strip-components 1; \
done \
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j4 $PHP_EXTENSIONS $PECL_PASSBOLT_EXTENSIONS \
&& docker-php-ext-enable $PHP_EXTENSIONS $PECL_PASSBOLT_EXTENSIONS \
&& docker-php-source delete \
&& EXPECTED_SIGNATURE=$(curl -s https://composer.github.io/installer.sig) \
&& curl -o composer-setup.php https://getcomposer.org/installer \
&& ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") \
&& if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]; then \
>&2 echo 'ERROR: Invalid installer signature'; \
rm composer-setup.php; \
exit 1; \
fi \
&& php composer-setup.php \
&& mv composer.phar /usr/local/bin/composer \
&& rm composer-setup.php \
&& curl -sSL -H "$PASSBOLT_CURL_HEADERS" "$PASSBOLT_URL" | tar zxf - -C . --strip-components 1 \
&& composer install -n --no-dev --optimize-autoloader \
&& chown -R www-data:www-data . \
&& chmod 775 $(find /var/www/passbolt/tmp -type d) \
&& chmod 664 $(find /var/www/passbolt/tmp -type f) \
&& chmod 775 $(find /var/www/passbolt/webroot/img/public -type d) \
&& chmod 664 $(find /var/www/passbolt/webroot/img/public -type f) \
&& rm /etc/nginx/sites-enabled/default \
&& apt-get purge -y --auto-remove $PASSBOLT_DEV_PACKAGES \
&& rm -rf /var/lib/apt/lists/* \
&& rm /usr/local/bin/composer \
&& echo 'php_flag[expose_php] = off' > /usr/local/etc/php-fpm.d/expose.conf \
&& sed -i 's/# server_tokens/server_tokens/' /etc/nginx/nginx.conf \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY conf/passbolt.conf /etc/nginx/conf.d/default.conf
COPY conf/supervisor/*.conf /etc/supervisor/conf.d/
COPY bin/docker-entrypoint.sh /docker-entrypoint.sh
COPY scripts/wait-for.sh /usr/bin/wait-for.sh
EXPOSE 80 443
CMD ["/docker-entrypoint.sh"]
| null | feature addition |
32 | 16cc6f8a0f95f12d735870050d0bc92cedb05cde | Bumped source to 20201005-0e0dca5 | Bumped source to 20201005-0e0dca5
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201004-69d0856
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201005-0e0dca5
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| feature addition |
93 | daf1b8a394b5805fcf9754e1e03df9217bdaef41 | Add a marked dependency volume folder | Add a marked dependency volume folder
| # Use the base Python 3.6 image. It is sufficient for accomplishing
# most of the stuff, and includes some handy build tools like gcc.
#
# NOTE This could be changed to something like `python:latest` if we
# find that there is no dependency on 3.6 itself.
FROM python:3.6
# Set the MAINTAINER flag of the docker image.
#
# NOTE Consider changing this or removing it; it is not necessary
# unless pushing to Docker Hub.
MAINTAINER Kristofer Rye <[email protected]>
# Add the entire project directory to the /cs251tk/ directory in the
# image.
ADD . /cs251tk/
# Create the SSH config directory on the root user account home directory.
RUN mkdir -p /root/.ssh/
# Build a smart SSH config (and prepare to use our id_rsa from the host)
RUN echo "Host *.stolaf.edu\n\tUserKnownHostsFile /dev/null\n\tStrictHostKeyChecking no\n\tIdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
# Lock down our SSH config
RUN chmod 600 /root/.ssh/config
# Change into our project directory.
WORKDIR /cs251tk
# Install the toolkit from the source directory.
RUN pip3 install .
# Update the package cache.
RUN apt-get update
# TODO Install any additional requirements. Do we have any?
# RUN apt-get install -y cool-package
# Clean up to reduce our overall image size.
RUN apt-get clean
# Print out the versions of the installed tools.
RUN gcc --version \
&& g++ --version \
&& make --version \
&& git --version \
&& python --version
# Finally, set our default command to just "cs251tk".
CMD ["cs251tk"]
| # Use the base Python 3.6 image. It is sufficient for accomplishing
# most of the stuff, and includes some handy build tools like gcc.
#
# NOTE This could be changed to something like `python:latest` if we
# find that there is no dependency on 3.6 itself.
FROM python:3.6
# Set the MAINTAINER flag of the docker image.
#
# NOTE Consider changing this or removing it; it is not necessary
# unless pushing to Docker Hub.
MAINTAINER Kristofer Rye <[email protected]>
# Add the entire project directory to the /cs251tk/ directory in the
# image.
ADD . /cs251tk/
# Create the SSH config directory on the root user account home directory.
RUN mkdir -p /root/.ssh/
# Build a smart SSH config (and prepare to use our id_rsa from the host)
RUN echo "Host *.stolaf.edu\n\tUserKnownHostsFile /dev/null\n\tStrictHostKeyChecking no\n\tIdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
# Lock down our SSH config
RUN chmod 600 /root/.ssh/config
# Add a marked dependency volume folder.
VOLUME /cs251tk_share/
# Change into our project directory.
WORKDIR /cs251tk
# Install the toolkit from the source directory.
RUN pip3 install .
# Update the package cache.
RUN apt-get update
# TODO Install any additional requirements. Do we have any?
# RUN apt-get install -y cool-package
# Clean up to reduce our overall image size.
RUN apt-get clean
# Print out the versions of the installed tools.
RUN gcc --version \
&& g++ --version \
&& make --version \
&& git --version \
&& python --version
# Finally, set our default command to just "cs251tk".
CMD ["cs251tk"]
| maintenance/other |
2183 | 8116154f96316229d8423e58b173d77305b5ec64 | Add DFSET & PACKAGER ARGs to Exporter Dockerfile (#1827) | Add DFSET & PACKAGER ARGs to Exporter Dockerfile (#1827)
Adds the DFSET and PACKAGER ARG instructions to the
crunchy-postgres-exporter Dockerfile as needed to ensure the proper
detection of "rhel" or "centos" for the DFSET env var, and the use of
the proper package manager when installing the packages required by the
Crunchy PostgreSQL Exporter. | ARG BASEOS
ARG BASEVER
ARG PREFIX
FROM ${PREFIX}/pgo-base:${BASEOS}-${BASEVER}
ARG PGVERSION
LABEL name="crunchy-postgres-exporter" \
summary="Metrics exporter for PostgreSQL" \
description="When run with the crunchy-postgres family of containers, crunchy-postgres-exporter reads the PostgreSQL data directory and has a SQL interface to a database to allow for metrics collection." \
io.k8s.description="Crunchy PostgreSQL Exporter" \
io.k8s.display-name="Crunchy PostgreSQL Exporter" \
io.openshift.tags="postgresql,postgres,monitoring,database,crunchy"
RUN if [ "$DFSET" = "centos" ] ; then \
${PACKAGER} -y install epel-release \
&& ${PACKAGER} install -y \
--setopt=skip_missing_names_on_install=False \
postgresql${PGVERSION} \
&& ${PACKAGER} -y clean all ; \
fi
RUN if [ "$DFSET" = "rhel" ] ; then \
${PACKAGER} install -y \
--setopt=skip_missing_names_on_install=False \
postgresql${PGVERSION} \
&& ${PACKAGER} -y clean all ; \
fi
RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
ADD postgres_exporter.tar.gz /opt/cpm/bin
ADD tools/pgmonitor/exporter/postgres /opt/cpm/conf
ADD bin/crunchy-postgres-exporter /opt/cpm/bin
ADD bin/uid_daemon.sh /opt/cpm/bin
RUN chgrp -R 0 /opt/cpm/bin /opt/cpm/conf && \
chmod -R g=u /opt/cpm/bin/ opt/cpm/conf
# postgres_exporter
EXPOSE 9187
RUN chmod g=u /etc/passwd
# The VOLUME directive must appear after all RUN directives to ensure the proper
# volume permissions are applied when building the image
VOLUME ["/conf"]
ENTRYPOINT ["/opt/cpm/bin/uid_daemon.sh"]
USER 2
CMD ["/opt/cpm/bin/start.sh"]
| null | code refactoring |
2191 | c901eecd337d83690eef054be3d9f8dd880ca983 | Bumped source to 20200903-989688f | Bumped source to 20200903-989688f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200903-83219f3
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | bug fix |
302 | 3b247335e1ef00bb699d2ff11ea877a637fa1136 | update dep | update dep
| FROM centos:6.8
MAINTAINER lysu <[email protected]>
RUN yum update
RUN yum install -y \
man \
cmake \
git \
clang \
vim \
emacs \
unzip \
valgrind \
net-tools \
doxygen \
tmux \
cscope \
make \
gcc \
gcc-c++ \
openssl-devel \
gdb \
zsh \
ctags \
xdg-utils \
python-setuptools \
rubygems \
fontconfig \
psmisc \
tcpdump \
autoconf \
boost-devel \
openmpi-devel \
python-devel \
libxml2-devel \
glib2-devel \
gsl-devel \
curl-devel \
python-pip \
ack \
&& yum clean all
RUN cd /tmp \
&& curl https://www.samba.org/ftp/ccache/ccache-3.2.5.tar.xz | tar xJ \
&& cd ccache-3.2.5 \
&& ./configure \
&& make \
&& make install \
&& cd \
&& rm -r /tmp/ccache-3.2.5
ENV CCACHE_DIR=/ccache
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 999 \
&& update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 999
ENV CC="ccache clang" CXX="ccache clang++"
RUN git clone git://github.com/amix/vimrc.git ~/.vim_runtime \
&& sh ~/.vim_runtime/install_awesome_vimrc.sh
RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \
&& chsh -s /bin/zsh
RUN git clone https://github.com/Valloric/YouCompleteMe ~/.vim_runtime/sources_non_forked/YouCompleteMe
RUN cd ~/.vim_runtime/sources_non_forked/YouCompleteMe && git submodule update --init --recursive && ./install.sh --clang-completer
RUN git clone https://github.com/rhysd/vim-clang-format.git ~/.vim_runtime/sources_non_forked/vim-clang-format
ADD my_configs.vim /root/.vim_runtime/my_configs.vim
ADD ycm_extra_conf.py /root/.ycm_extra_conf.py
ADD tmux.conf /root/.tmux.conf
ENV TERM=xterm-256color
| FROM centos:6.8
MAINTAINER lysu <[email protected]>
RUN yum update
| bug fix |
56 | 5be8bf4c6cab72052901d322de5669a2fba8482b | Fix the ADD command | Fix the ADD command
I not see the change. Take with corrected | # Run Warsaw in a container
# Base docker image
FROM ubuntu
LABEL maintainer "Fabio Rodrigues Ribeiro <[email protected]>"
# Install Firefox
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
language-pack-pt \
openssl \
libnss3-tools \
firefox \
firefox-locale-pt \
xauth \
--no-install-recommends \
&& apt-get purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb
# ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/GBPCEFwr64.deb
COPY startup.sh /home/ff/startup.sh
# Add ff user
RUN groupadd -g 1000 -r ff \
&& useradd -u 1000 -r -g ff -G audio,video ff \
&& mkdir -p /home/ff \
&& chmod 744 /home/ff/startup.sh \
&& chown -R ff:ff /home/ff \
&& passwd -d root
# Run firefox as non privileged user
USER ff
# Autorun chrome
CMD [ "/home/ff/startup.sh" ]
| # Run Warsaw in a container
# Base docker image
FROM ubuntu
LABEL maintainer "Fabio Rodrigues Ribeiro <[email protected]>"
# Install Firefox
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
language-pack-pt \
openssl \
libnss3-tools \
firefox \
firefox-locale-pt \
xauth \
--no-install-recommends \
&& apt-get purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb
ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/GBPCEFwr64.deb
COPY startup.sh /home/ff/startup.sh
# Add ff user
RUN groupadd -g 1000 -r ff \
&& useradd -u 1000 -r -g ff -G audio,video ff \
&& mkdir -p /home/ff \
&& chmod 744 /home/ff/startup.sh \
&& chown -R ff:ff /home/ff \
&& passwd -d root
# Run firefox as non privileged user
USER ff
# Autorun chrome
CMD [ "/home/ff/startup.sh" ]
| maintenance/other |
2321 | 76a7f1e81d002dc40540b9aa431fd3640de4737f | Fixed awscli install command | Fixed awscli install command
| # use latest Node LTS (Boron)
FROM node:boron
RUN export AWS_DEFAULT_OUTPUT=json
RUN pip install --upgrade --user awscli
RUN cd /opt && git clone https://github.com/14kw/docker-firebase-admin.git
RUN cd /opt/docker-firebase-admin && npm install | null | feature addition |
2148 | aafe4253f1929539eb473e560577e3d0e35d3c1d | Bumped version to 2016.05.20-1 | Bumped version to 2016.05.20-1
| FROM vladshub/python-virtualenv
MAINTAINER Vladislav Shub <[email protected]>
RUN apk add --no-cache --update libffi-dev py-imaging && rm -rf /var/cache/apk/*
EXPOSE 8081
COPY ./entrypoint.sh /
ENV SICKRAGE_VERSION 2016.05.09-2
RUN wget -q "https://github.com/SickRage/SickRage/archive/${SICKRAGE_VERSION}.tar.gz" \
&& tar xzf *.tar.gz && rm *.tar.gz \
&& mv SickRage-* /sickrage
RUN virtualenv /env
WORKDIR /sickrage
ENTRYPOINT ["/entrypoint.sh"]
| null | feature addition |
2180 | cee5b6fdaf666da3a82663fae8d63d8654429dcd | added permissions to run entrypoint.sh | added permissions to run entrypoint.sh
| FROM nginx:1.13.5-alpine
MAINTAINER Alt Three <[email protected]>
EXPOSE 8000
CMD ["/sbin/entrypoint.sh"]
ARG cachet_ver
ENV cachet_ver ${cachet_ver:-master}
ENV COMPOSER_VERSION 1.4.1
# Using repo packages instead of compiling from scratch
ADD https://php.codecasts.rocks/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN echo "@php http://php.codecasts.rocks/v3.5/php-7.0" >> /etc/apk/repositories
RUN apk add --no-cache --update \
postgresql-client \
postgresql \
mysql-client \
php7 \
php7-redis@php \
php7-apcu \
php7-bcmath \
php7-dom \
php7-ctype \
php7-curl \
php7-fpm \
php7-gd \
php7-iconv \
php7-intl \
php7-json \
php7-mbstring \
php7-mcrypt \
php7-mysqlnd \
php7-opcache \
php7-openssl \
php7-pdo \
php7-pdo_mysql \
php7-pdo_pgsql \
php7-pdo_sqlite \
php7-phar \
php7-posix \
php7-session \
php7-soap \
php7-xml \
php7-zip \
php7-zlib \
wget sqlite git sudo curl bash grep \
supervisor
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log && \
ln -sf /dev/stdout /var/log/php7/error.log && \
ln -sf /dev/stderr /var/log/php7/error.log
RUN addgroup -S www-data
RUN adduser -S -s /bin/bash -G www-data www-data
RUN touch /var/run/nginx.pid /var/run/php5-fpm.pid && \
chown -R www-data:www-data /var/run/nginx.pid /var/run/php5-fpm.pid
RUN echo 'www-data ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN mkdir -p /var/www/html
RUN mkdir -p /usr/share/nginx/cache
RUN mkdir -p /var/cache/nginx && \
mkdir -p /var/lib/nginx && \
chown -R www-data:www-data /var/www /usr/share/nginx/cache /var/cache/nginx /var/lib/nginx/
RUN ln -s /usr/bin/php7 /usr/bin/php
# Install composer
RUN php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" && \
php -r "copy('https://composer.github.io/installer.sig', '/tmp/composer-setup.sig');" && \
php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" && \
php /tmp/composer-setup.php --version=$COMPOSER_VERSION --install-dir=bin && \
php -r "unlink('/tmp/composer-setup.php');"
WORKDIR /var/www/html/
USER www-data
RUN wget https://github.com/cachethq/Cachet/archive/${cachet_ver}.tar.gz && \
tar xzvf ${cachet_ver}.tar.gz --strip-components=1 && \
chown -R www-data /var/www/html && \
rm -r ${cachet_ver}.tar.gz && \
php /bin/composer.phar global require "hirak/prestissimo:^0.3" && \
php /bin/composer.phar install --no-dev -o && \
rm -rf bootstrap/cache/*
COPY conf/php-fpm-pool.conf /etc/php7/php-fpm.d/www.conf
COPY conf/supervisord.conf /etc/supervisor/supervisord.conf
COPY conf/nginx.conf /etc/nginx/nginx.conf
COPY conf/nginx-site.conf /etc/nginx/conf.d/default.conf
COPY conf/.env.docker /var/www/html/.env
COPY entrypoint.sh /sbin/entrypoint.sh
| null | maintenance/other |
392 | f4b84d6ee0403a268dad4221e1305b97193f1ea6 | add .sh | add .sh
| FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
MAINTAINER Moch. Ainun Najib <[email protected]>
ARG TENSORFLOW_VERSION=1.2.0
ARG TENSORFLOW_ARCH=gpu
# Install dependencies
RUN apt-get update && apt-get install -y \
bc \
build-essential \
cmake \
curl \
g++ \
gfortran \
git \
nano \
pkg-config \
python-dev \
software-properties-common \
unzip \
vim \
wget \
yasm \
python3-dev \
python3-tk \
python3-numpy \
python3-pip \
ant \
default-jdk \
doxygen \
ffmpeg \
qtbase5-dev \
qt5-default \
libssl-dev \
libffi-dev \
libfreetype6-dev \
libhdf5-dev \
liblcms2-dev \
libwebp-dev \
libzmq3-dev \
libopencv-dev \
libgtk-3-dev \
libdc1394-22 \
libdc1394-22-dev \
libjpeg-dev \
libopenjpeg5 \
libpng12-dev \
libpng-dev \
libtiff5-dev \
libjasper-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libxine2-dev \
libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev \
libv4l-dev \
libtbb-dev \
libeigen3-dev \
libfaac-dev \
libmp3lame-dev \
libopencore-amrnb-dev \
libopencore-amrwb-dev \
libtheora-dev \
libvorbis-dev \
libxvidcore-dev \
v4l-utils \
libvtk6-dev \
zlib1g-dev \
libx264-dev \
liblapacke-dev \
libopenblas-dev \
liblapack-dev \
libopenexr-dev \
libgdal-dev \
checkinstall \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip
# Add SNI support to Python
RUN pip3 --no-cache-dir install \
pyopenssl \
ndg-httpsclient \
pyasn1
# Install other useful Python packages using pip3
RUN pip3 --no-cache-dir install --upgrade ipython && \
pip3 --no-cache-dir install \
Cython \
ipykernel \
jupyter \
path.py \
Pillow \
h5py \
pygments \
six \
sphinx \
wheel \
zmq \
matplotlib \
numpy \
pandas \
scipy \
scikit-learn \
&& \
python3 -m ipykernel.kernelspec
RUN apt-get update && apt-get install -y \
python3-nose \
python3-skimage \
python3-sympy \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# Install TensorFlow
RUN pip3 --no-cache-dir install \
https://storage.googleapis.com/tensorflow/linux/${TENSORFLOW_ARCH}/tensorflow_gpu-${TENSORFLOW_VERSION}-cp35-cp35m-linux_x86_64.whl
# Install Opencv
RUN bash Opencv.sh
# Set up notebook config
COPY jupyter_notebook_config.py /root/.jupyter/
COPY jalankan.sh /root/
EXPOSE 6006 8888
ADD *.ipynb /notebooks/
WORKDIR /notebooks
RUN chmod +x /root/jalankan.sh
CMD ["/root/jalankan.sh"] | FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
MAINTAINER Moch. Ainun Najib <[email protected]>
ARG TENSORFLOW_VERSION=1.2.0
ARG TENSORFLOW_ARCH=gpu
# Install dependencies
RUN apt-get update && apt-get install -y \
bc \
build-essential \
cmake \
curl \
g++ \
gfortran \
git \
nano \
pkg-config \
python-dev \
software-properties-common \
unzip \
vim \
wget \
yasm \
python3-dev \
python3-tk \
python3-numpy \
python3-pip \
ant \
default-jdk \
doxygen \
ffmpeg \
qtbase5-dev \
qt5-default \
libssl-dev \
libffi-dev \
libfreetype6-dev \
libhdf5-dev \
liblcms2-dev \
libwebp-dev \
libzmq3-dev \
libopencv-dev \
libgtk-3-dev \
libdc1394-22 \
libdc1394-22-dev \
libjpeg-dev \
libopenjpeg5 \
libpng12-dev \
libpng-dev \
libtiff5-dev \
libjasper-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libxine2-dev \
libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev \
libv4l-dev \
libtbb-dev \
libeigen3-dev \
libfaac-dev \
libmp3lame-dev \
libopencore-amrnb-dev \
libopencore-amrwb-dev \
libtheora-dev \
libvorbis-dev \
libxvidcore-dev \
v4l-utils \
libvtk6-dev \
zlib1g-dev \
libx264-dev \
liblapacke-dev \
libopenblas-dev \
liblapack-dev \
libopenexr-dev \
libgdal-dev \
checkinstall \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip
# Add SNI support to Python
RUN pip3 --no-cache-dir install \
pyopenssl \
ndg-httpsclient \
pyasn1
# Install other useful Python packages using pip3
RUN pip3 --no-cache-dir install --upgrade ipython && \
pip3 --no-cache-dir install \
Cython \
ipykernel \
jupyter \
path.py \
Pillow \
h5py \
pygments \
six \
sphinx \
wheel \
zmq \
matplotlib \
numpy \
pandas \
scipy \
scikit-learn \
&& \
python3 -m ipykernel.kernelspec
RUN apt-get update && apt-get install -y \
python3-nose \
python3-skimage \
python3-sympy \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# Install TensorFlow
RUN pip3 --no-cache-dir install \
https://storage.googleapis.com/tensorflow/linux/${TENSORFLOW_ARCH}/tensorflow_gpu-${TENSORFLOW_VERSION}-cp35-cp35m-linux_x86_64.whl
ADD *.sh
# Install Opencv
RUN bash Opencv.sh
# Set up notebook config
COPY jupyter_notebook_config.py /root/.jupyter/
COPY jalankan.sh /root/
EXPOSE 6006 8888
ADD *.ipynb /notebooks/
WORKDIR /notebooks
RUN chmod +x /root/jalankan.sh
CMD ["/root/jalankan.sh"] | feature addition |
26 | 7cfcc7520b199f379d69491092cc52f66f5cb7ed | Bumped source to 20201204-2497f3f | Bumped source to 20201204-2497f3f
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201204-dd2b38a
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201204-2497f3f
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| code refactoring |
301 | fbd2c7325e145de9b4a9de81a4b2303bc0453cb6 | Add vesion of geminabox and unicorn in Dockerfile | Add vesion of geminabox and unicorn in Dockerfile
| #
# Geminabox
#
# Pull base image.
FROM ashangit/base:latest
MAINTAINER Nicolas Fraison <[email protected]>
# Deploy geminabox.
RUN yum install ruby ruby-devel gcc make -y && \
gem install geminabox && \
gem install unicorn
# Remove compiler package
RUN yum remove ruby-devel gcc make -y
# Create required folders
RUN mkdir -p /data/geminabox/conf && \
mkdir -p /data/geminabox/data
# Set working directory
WORKDIR /data/geminabox/conf
# Copy default config file
COPY conf/config.ru /data/geminabox/conf/config.ru
COPY conf/unicorn.rb /data/geminabox/conf/unicorn.rb
# Declare default env variables
ENV RUBYGEMS_PROXY true
ENV ALLOW_REMOTE_FAILURE true
ENV WORKER_PROCESSES 2
ENV TIMEOUT 60
# Expose geminabox port
EXPOSE 9292
# Default command
CMD unicorn -p 9292 -c /data/geminabox/conf/unicorn.rb | #
# Geminabox
#
# Pull base image.
FROM ashangit/base:latest
MAINTAINER Nicolas Fraison <[email protected]>
ENV GEMINABOX_VERSION 0.12.4
ENV UNICORN_VERSION 4.9.0
# Deploy geminabox.
RUN yum install ruby ruby-devel gcc make -y && \
gem install geminabox -v ${GEMINABOX_VERSION} && \
gem install unicorn -v ${UNICORN_VERSION}
# Remove compiler package
RUN yum remove ruby-devel gcc make -y
# Create required folders
RUN mkdir -p /data/geminabox/conf && \
mkdir -p /data/geminabox/data
# Set working directory
WORKDIR /data/geminabox/conf
# Copy default config file
COPY conf/config.ru /data/geminabox/conf/config.ru
COPY conf/unicorn.rb /data/geminabox/conf/unicorn.rb
# Declare default env variables
ENV RUBYGEMS_PROXY true
ENV ALLOW_REMOTE_FAILURE true
ENV WORKER_PROCESSES 2
ENV TIMEOUT 60
# Expose geminabox port
EXPOSE 9292
# Default command
CMD unicorn -p 9292 -c /data/geminabox/conf/unicorn.rb | maintenance/other |
2105 | 1ab5be572a2dff6420337cb6175a35fe88ee52f0 | Upgrade Dockerfile to newer Ubuntu. | Upgrade Dockerfile to newer Ubuntu.
| FROM ubuntu:trusty
ENV cwd /opt/pyhole
WORKDIR ${cwd}
RUN apt-get update && apt-get install --no-install-recommends -y \
build-essential \
ca-certificates \
libffi-dev \
libssl-dev \
python-dev \
python-setuptools \
&& rm -rf /var/lib/apt/lists/*
COPY . ${cwd}
RUN python setup.py install
EXPOSE 5000
CMD pyhole
| null | maintenance/other |
2312 | b93c9e72860eabf9bc2bd2e5b5d31e26e656cf11 | Bumped source to 20210424-b00bb9f | Bumped source to 20210424-b00bb9f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210424-8798bab
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | feature addition |
80 | aa9291f6bff30df64518bb03c896c3bf6aa625a8 | Bumped source to 20210122-c775b49 | Bumped source to 20210122-c775b49
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210122-bc73317
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210122-c775b49
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| feature addition |
384 | 1905e167228c22824d838e8090268d31b8e518a3 | added firmware manager submodule | added firmware manager submodule
| FROM chriz2600/quartus-lite
RUN apt-get install -y curl
ADD files/51-usbblaster.rules /etc/udev/rules.d/51-usbblaster.rules
RUN mkdir -p /srv && cd /root && git clone https://github.com/chriz2600/DreamcastHDMI.git
ADD files/build /root/build
ADD files/build.projects /root/build.projects
ADD files/program /root/program
RUN mkdir -p /root/JIC/
ADD files/JIC.tgz /root/JIC/
| FROM chriz2600/quartus-lite
RUN apt-get install -y curl
ADD files/51-usbblaster.rules /etc/udev/rules.d/51-usbblaster.rules
RUN mkdir -p /srv && cd /root && git clone --recurse-submodules https://github.com/chriz2600/DreamcastHDMI.git
ADD files/build /root/build
ADD files/build.projects /root/build.projects
ADD files/program /root/program
RUN mkdir -p /root/JIC/
ADD files/JIC.tgz /root/JIC/
| bug fix |
2228 | e24a2d488fe72ba524ac3a4395e01b5a13b14b02 | Add glibc | Add glibc
| FROM rawmind/alpine-monit:0.5.20-4
MAINTAINER Sebastien LANGOUREAUX ([email protected])
ENV SERVICE_NAME=minio \
SERVICE_HOME=/opt/minio \
SERVICE_VERSION=RELEASE.2017-01-25T03-14-52Z \
SERVICE_CONF=/opt/minio/conf/minio-server.cfg \
SERVICE_USER=minio \
SERVICE_UID=10003 \
SERVICE_GROUP=minio \
SERVICE_GID=10003 \
SERVICE_VOLUME=/opt/tools \
PATH=/opt/minio/bin:${PATH}
# Install Glibc
ENV GLIBC_VERSION="2.23-r1"
RUN \
apk add --update -t deps wget ca-certificates \
&& cd /tmp \
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-bin-${GLIBC_VERSION}.apk \
&& apk add --allow-untrusted glibc-${GLIBC_VERSION}.apk glibc-bin-${GLIBC_VERSION}.apk \
&& /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib/ \
&& echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
&& apk del --purge deps \
&& rm /tmp/* /var/cache/apk/*
# Install service software
RUN apk update && apk add openrc &&\
mkdir -p ${SERVICE_HOME}/logs ${SERVICE_HOME}/data ${SERVICE_HOME}/bin ${SERVICE_HOME}/conf && \
addgroup -g ${SERVICE_GID} ${SERVICE_GROUP} && \
adduser -g "${SERVICE_NAME} user" -D -h ${SERVICE_HOME} -G ${SERVICE_GROUP} -s /sbin/nologin -u ${SERVICE_UID} ${SERVICE_USER} &&\
&& apk del --purge deps \
&& rm /tmp/* /var/cache/apk/*
ADD https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.${SERVICE_VERSION} ${SERVICE_HOME}/bin/minio
ADD root /
RUN chmod +x ${SERVICE_HOME}/bin/* \
&& chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SERVICE_HOME} /opt/monit
USER $SERVICE_USER
WORKDIR $SERVICE_HOME
VOLUME ${SERVICE_HOME}/data
EXPOSE 9000
| null | feature addition |
2275 | bdee3d84e6b166084896a840799150c04580dd87 | fix(docker): remove default Docker command | fix(docker): remove default Docker command
This was added in https://github.com/pelias/openstreetmap/pull/454 and
while it may be nice to have importer containers know how to start
themselves, it means that running `pelias compose up` (or
`docker-compose up`) in the pelias/docker repo would _always_ start all
the importers.
With that in mind, it's best to leave this off for now, and have the
`pelias` executable know to call `./bin/start` on each importer.
| # base image
FROM pelias/baseimage
# downloader apt dependencies
# note: this is done in one command in order to keep down the size of intermediate containers
RUN apt-get update && apt-get install -y bzip2 unzip && rm -rf /var/lib/apt/lists/*
# change working dir
ENV WORKDIR /code/pelias/openstreetmap
WORKDIR ${WORKDIR}
# copy package.json first to prevent npm install being rerun when only code changes
COPY ./package.json ${WORKDIR}
RUN npm install
# add local code
ADD . ${WORKDIR}
# run as the pelias user, starting with tests
USER pelias
# run tests
RUN npm test
CMD [ "./bin/start" ]
| null | maintenance/other |
15 | 64052272ce2db83e222d4c1feb6fd7c9c9372619 | Added a Dockerfile | Added a Dockerfile
| # Pull base image.
FROM quay.io/verygoodsecurity/aws-cli-tools:latest
MAINTAINER Gordon Young <[email protected]>
ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1
ADD gemrc /root/.gemrc
RUN apk update \
&& apk add ruby \
ruby-bigdecimal \
ruby-bundler \
ruby-io-console \
ruby-irb \
ca-certificates \
libressl \
gnupg \
tar \
curl \
bash \
procps \
sudo \
graphviz \
ttf-freefont \
&& apk add --virtual build-dependencies \
build-base \
ruby-dev \
libressl-dev \
\
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure irue \
&& gem install json --no-rdoc --no-ri \
\
&& gem cleanup \
&& apk del build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
# Add the sgviz user
RUN adduser -u 1000 -G wheel -D sgviz
RUN echo "sgviz ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
WORKDIR /home/sgviz
RUN chown -R sgviz:users /home/sgviz
USER sgviz
RUN sudo cp -R /root/.aws . && sudo chown -R sgviz:users /home/sgviz/.aws
ADD gemrc /home/sgviz/.gemrc
# install RVM, Ruby, and Bundler
# Download and Build
RUN curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
RUN curl -L -o stable.tar.gz https://github.com/rvm/rvm/archive/stable.tar.gz && tar -xvf stable.tar.gz
RUN cd ./rvm-stable && ./scripts/install
RUN /bin/bash -l -c "sudo gem install bundler --no-ri --no-rdoc"
RUN /bin/bash -l -c "sudo gem install sgviz --no-ri --no-rdoc"
| # Pull base image.
FROM gjyoung1974/aws-cli-tools:latest
MAINTAINER Gordon Young <[email protected]>
ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1
ADD gemrc /root/.gemrc
RUN apk update \
&& apk add ruby \
ruby-bigdecimal \
ruby-bundler \
ruby-io-console \
ruby-irb \
ca-certificates \
libressl \
gnupg \
tar \
curl \
bash \
procps \
sudo \
graphviz \
ttf-freefont \
&& apk add --virtual build-dependencies \
build-base \
ruby-dev \
libressl-dev \
\
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure irue \
&& gem install json --no-rdoc --no-ri \
\
&& gem cleanup \
&& apk del build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
# Add the sgviz user
RUN adduser -u 1000 -G wheel -D sgviz
RUN echo "sgviz ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
WORKDIR /home/sgviz
RUN chown -R sgviz:users /home/sgviz
USER sgviz
RUN sudo cp -R /root/.aws . && sudo chown -R sgviz:users /home/sgviz/.aws
ADD gemrc /home/sgviz/.gemrc
# install RVM, Ruby, and Bundler
# Download and Build
RUN curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
RUN curl -L -o stable.tar.gz https://github.com/rvm/rvm/archive/stable.tar.gz && tar -xvf stable.tar.gz
RUN cd ./rvm-stable && ./scripts/install
RUN /bin/bash -l -c "sudo gem install bundler --no-ri --no-rdoc"
RUN /bin/bash -l -c "sudo gem install sgviz --no-ri --no-rdoc"
| maintenance/other |
337 | 7872941a1b37726c90b7745ebd9ca5707a28d058 | Bumped source to 20200413-57a1f30 | Bumped source to 20200413-57a1f30
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200413-215dd6b
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200413-57a1f30
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| maintenance/other |
278 | d7fe8e904e391c63d428e61926afef83c535ab35 | Bumped source to 20200710-c2869e3 | Bumped source to 20200710-c2869e3
| FROM docker.pkg.github.com/dock0/service/service:20200710-dc4078e
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200710-c2869e3
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| code refactoring |
2088 | fb4a90fdac6b94d2a24801415036b952af7a77fa | Bumped source to 20210111-9bb3cef | Bumped source to 20210111-9bb3cef
| FROM docker.pkg.github.com/dock0/arch/arch:20210111-961e33e
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | code refactoring |
2283 | b7a323749e91c383d0b4f7a62fd7fd731822d40d | chore(craft): update version to 2.6.2994 | chore(craft): update version to 2.6.2994
+ add simplexml module
+ add zlib module
| FROM alpine:3.6
MAINTAINER Enrico Icardi "[email protected]"
# Set craft cms version
ENV CRAFT_VERSION=2.6
ENV CRAFT_BUILD=2992
ENV CRAFT_ZIP=Craft-$CRAFT_VERSION.$CRAFT_BUILD.zip
# install php/apache2/sha256sum
RUN apk add --no-cache \
apache2 \
apache2-ssl \
php7 \
php7-apache2 \
php7-pdo \
php7-pdo_mysql \
php7-mcrypt \
php7-gd \
php7-openssl \
php7-mbstring \
php7-json \
php7-curl \
php7-phar \
php7-mysqli \
php7-session \
php7-iconv \
php7-ctype \
php7-zip \
php7-xml \
unzip \
tar \
coreutils \
wget; \
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"; \
php composer-setup.php --install-dir=/usr/local/bin --filename=composer; \
mkdir -p /data; mkdir -p /run/apache2; \
cd /data; \
composer require nerds-and-company/schematic:3.8.*
# create the folder if not exists or apache will not start
# Download the latest Craft (https://craftcms.com/support/download-previous-versions)
ADD https://download.buildwithcraft.com/craft/$CRAFT_VERSION/$CRAFT_VERSION.$CRAFT_BUILD/$CRAFT_ZIP /tmp/$CRAFT_ZIP
# Extract craft to webroot & remove default template files
RUN unzip -qo /tmp/$CRAFT_ZIP -d /data
# Add the environment variable settings to public/index.php
#RUN mv $WEBROOT/index.php $CRAFTROOT/index.php.original
#RUN awk '!found && /\$craftPath/ {print;print "define(\"CRAFT_ENVIRONMENT\", env(\"CRAFT_ENVIRONMENT\"));";found=1;next} 1' $CRAFTROOT/index.php.original > $WEBROOT/index.php
# Cleanup
RUN rm /tmp/$CRAFT_ZIP
#&& chown -Rf www-data:www-data $CRAFTROOT
ADD scripts /data/scripts
RUN chmod +x /data/scripts/*.sh
# this script will be used to orchestrate the startup of the containers
ADD scripts/poll-db.php /data/scripts/poll-db.php
EXPOSE 80
CMD ["/data/scripts/run-craft.sh"]
| null | feature addition |
225 | 41afb5e038ab679d284d85d9653ade6c69abf673 | Updated Atlassian JIRA Software master branch to latest version 9.1.1 | Updated Atlassian JIRA Software master branch to latest version 9.1.1
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 9.2.0
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.25.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 9.1.1
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.26.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| code refactoring |
2185 | 0fbbddadfc3ebc2d9ddd3c8e3f0f5dd4fe567505 | added comments | added comments
| FROM ubuntu:latest
#ENV DEBIAN_FRONTEND=noninteractive
# Install packages
RUN apt-get update
RUN apt-get install -y \
supervisor \
curl \
vim \
wget \
php-fpm \
php-mysql \
php-mcrypt \
php-gd \
php-memcached \
php-curl \
php-xdebug \
php-dev \
php-pear \
php7.0-ldap \
unzip \
nginx \
openssh-server \
rsync
# installs add-apt-repository
RUN apt-get install software-properties-common -y
RUN apt-get update -y
# Create required directories
RUN mkdir -p /var/log/supervisor
RUN mkdir -p /etc/nginx
RUN mkdir -p /var/run/php
# Oracle instantclient
ADD oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip /tmp/instantclient-basic-linux.x64-12.1.0.2.0.zip
ADD oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip /tmp/instantclient-sdk-linux.x64-12.1.0.2.0.zip
ADD oracle/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip /tmp/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip
RUN unzip /tmp/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN ln -s /usr/local/instantclient_12_1 /usr/local/instantclient
RUN ln -s /usr/local/instantclient/libclntsh.so.12.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
RUN apt-get clean -y
#Install Drush
RUN apt-get install drush -y
# Add configuration filess
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD php.ini /etc/php/7.0/fpm/conf.d/40-custom.ini
ADD startup.sh /opt/startup.sh
RUN sed -i 's/;daemonize = yes/daemonize = no/g' /etc/php/7.0/fpm/php-fpm.conf
RUN cp -r /etc/php/7.0/fpm /tmp/fpm
# Expose volumes
VOLUME ["/etc/php/7.0/fpm", "/var/www", "/etc/nginx/sites-enabled"]
RUN service php7.0-fpm start
CMD ["/bin/bash", "/opt/startup.sh"]#,["/usr/bin/supervisord"]
| null | bug fix |
97 | 7a99e7c5dac4a2f73a7e4229d42fbc8bf7b4fe4f | dockerfile: upgrade to `quay.io/sameersbn/ubuntu:14.04.20151011` | dockerfile: upgrade to `quay.io/sameersbn/ubuntu:14.04.20151011`
| FROM sameersbn/ubuntu:14.04.20150825
MAINTAINER [email protected]
ENV WOWZA_VERSION=4.1.2 \
WOWZA_DATA_DIR=/var/lib/wowza \
WOWZA_LOG_DIR=/var/log/wowza
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget supervisor openjdk-7-jre \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /app/install.sh
RUN bash /app/install.sh
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 1935/tcp 8086/tcp 8087/tcp 8088/tcp
VOLUME ["${WOWZA_DATA_DIR}", "${WOWZA_LOG_DIR}"]
ENTRYPOINT ["/sbin/entrypoint.sh"]
| FROM quay.io/sameersbn/ubuntu:14.04.20151011
MAINTAINER [email protected]
ENV WOWZA_VERSION=4.1.2 \
WOWZA_DATA_DIR=/var/lib/wowza \
WOWZA_LOG_DIR=/var/log/wowza
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget supervisor openjdk-7-jre \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /app/install.sh
RUN bash /app/install.sh
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 1935/tcp 8086/tcp 8087/tcp 8088/tcp
VOLUME ["${WOWZA_DATA_DIR}", "${WOWZA_LOG_DIR}"]
ENTRYPOINT ["/sbin/entrypoint.sh"]
| bug fix |
2154 | 129501193d76ba1ede6659a555ed3570202c36e1 | Avoid package version bug | Avoid package version bug
| FROM ubuntu:trusty
MAINTAINER KIYOHIRO ADACHI <[email protected]>
ENV REFRESHED_AT 2015-04-25
ENV DEBIAN_FRONTEND noninteractive
RUN \
echo "deb http://ftp.riken.jp/Linux/ubuntu/ trusty main multiverse" >> /etc/apt/sources.list && \
echo "deb-src http://ftp.riken.jp/Linux/ubuntu/ trusty main multiverse" >> /etc/apt/sources.list && \
apt-get update && apt-get upgrade -y && \
apt-get install -qy openssh-server xz-utils && \
apt-get install -qy gcc make && \
apt-get install -qy libtinfo-dev libx11-dev libxaw7-dev libgif-dev libjpeg-turbo8-dev libpng12-dev libtiff5-dev libxml2-dev librsvg2-dev libxft-dev libxpm-dev libgpm-dev libsm-dev libice-dev libxrandr-dev libxinerama-dev && \
apt-get install -qy aspell wamerican && \
apt-get install -qy fonts-takao fonts-takao-gothic fonts-takao-mincho fonts-takao-pgothic && \
apt-get install -qy language-pack-ja-base language-pack-ja && \
apt-get install -qy cmigemo libncurses5-dev exuberant-ctags && \
apt-get install -qy sdic sdic-edict sdic-gene95 && \
apt-get install -qy git libpython2.7-dev silversearcher-ag texinfo install-info && \
rm -rf /var/lib/apt/lists/*
RUN \
mkdir /var/run/sshd && \
adduser --disabled-password --gecos "Developer" --uid 1000 developer && \
mkdir /home/developer/.ssh
ADD id_rsa.pub /home/developer/.ssh/authorized_keys
RUN \
echo "lang en_US" > /home/developer/.aspell.conf && \
chown -R developer:developer /home/developer && \
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
chmod 0440 /etc/sudoers.d/developer && \
update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" && \
cp -p /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
echo "Asia/Tokyo" > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
ENV LANG ja_jp.UTF-8
WORKDIR /home/developer
RUN \
export emacs=emacs-24.5 && \
wget -q -O - http://ftpmirror.gnu.org/emacs/${emacs}.tar.xz | tar xJf - && \
mv ${emacs} .build_emacs && \
(cd .build_emacs && ./configure && make install && make clean && cd ..)
RUN \
export global=global-6.4 && \
wget -q -O - http://ftpmirror.gnu.org/global/${global}.tar.gz | tar zxf - && \
mv ${global} .build_global && \
(cd .build_global && ./configure --with-exuberant-ctags=/usr/bin/ctags-exuberant && make install && make clean && cd ..) && \
cp /usr/local/share/gtags/gtags.conf .globalrc && \
export ecgtags_path=/usr/local/bin/ecgtags && \
echo '#!/bin/bash' > ${ecgtags_path} && \
echo 'gtags --gtagslabel=exuberant-ctags $*' >> ${ecgtags_path} && \
chmod a+x ${ecgtags_path} && \
export pygtags_path=/usr/local/bin/pygtags && \
echo '#!/bin/bash' > ${pygtags_path} && \
echo 'gtags --gtagslabel=pygments-parser $*' >> ${pygtags_path} && \
chmod a+x ${pygtags_path}
RUN \
mkdir .build_pip && \
(cd .build_pip && wget -q https://bootstrap.pypa.io/get-pip.py && python get-pip.py && cd ..)
RUN \
pip install grip virtualenv flake8 pygments && \
export markdown_path=/usr/local/bin/markdown && \
echo '#!/bin/bash' > ${markdown_path} && \
echo 'set -eu' >> ${markdown_path} && \
echo 'grip --gfm --export ${1} > /dev/null' >> ${markdown_path} && \
echo 'cat ${1%.*}.html' >> ${markdown_path} && \
chmod a+x ${markdown_path}
ENTRYPOINT ["/usr/sbin/sshd", "-D"]
EXPOSE 22
| null | code refactoring |
2166 | 27e72e326418609e25e8278e038df9c38b4f5f74 | Container build throws 404 error on graphviz repo | Container build throws 404 error on graphviz repo
- external graphviz repository URL is no longer valid
- drop the dependency on the external graphviz repository since
a previous commit changed the container to use Fedora which
provides a suitable version of graphviz
Signed-off-by: Robert Marshall <[email protected]>
| # 1. Automated build:
# https://hub.docker.com/r/lao605/product-definition-center/builds/
#
###########################################
# Guide:
# 1. Use this to build a new image
# docker build -t <YOUR_NAME>/pdc <the directory your Dockerfile is located>
#
# 2. Running the container
# 2.1 To display the log interactively (with a terminal)
# docker run -it -P -v $PWD:$PWD <YOUR_NAME>/pdc python $PWD/manage.py runserver 0.0.0.0:8000
#
# 2.2 To run the container in daemon mode
# docker run -d -P -v $PWD:$PWD <YOUR_NAME>/pdc python $PWD/manage.py runserver 0.0.0.0:8000
#
#
# 3. Check the addresses
# 3.1 Check the address of the docker machine
# *For Mac OS or Windows Users*
# docker-machine env <the name of your docker machine> --> DOCKER_HOST
#
# *For Linux Users*
# docker inspect <container_id> | grep IPAddress | cut -d '"' -f 4 --> DOCKER_HOST
#
# 3.2 Check the mapped port of your running container
# docker ps -l --> PORTS
#
# 4. Access it
# visit <DOCKER_HOST:PORTS> on your web browser
#
# 5. Edit code and see changes
# save after editing code in your $PWD directory and see changes will happen in the container (changes need more time to take effect than in local env)
FROM fedora:26
MAINTAINER Zhikun Lao <[email protected]>
LABEL Description = "product-definition-center"
LABEL Vendor = "Red Hat"
LABEL Version = "0.5"
# patternfly1
RUN curl -L https://copr.fedorainfracloud.org/coprs/patternfly/patternfly1/repo/fedora-26/patternfly-patternfly1-fedora-26.repo > /etc/yum.repos.d/patternfly-patternfly1-fedora-26.repo
RUN curl -L http://www.graphviz.org/graphviz-rhel.repo > /etc/yum.repos.d/graphviz-rhel.repo
# solve dependencies
RUN dnf -y upgrade && \
dnf install -y \
rpm-build \
sudo \
passwd \
tar \
git \
make \
gcc \
libuuid-devel \
python-devel \
python-setuptools \
python-pip \
swig \
openldap-devel \
krb5-devel \
koji \
patternfly1 \
vim-enhanced \
'graphviz*' \
libxml2 \
libxslt \
libxml2-devel \
libxslt-devel \
# openssh-server \
net-tools && \
dnf clean all
RUN echo "123" | passwd root --stdin
COPY requirements /tmp/requirements/
RUN pip install -r /tmp/requirements/devel.txt
# RUN echo "Port 22" >> /etc/ssh/sshd_config
# RUN echo "ListenAddress 0.0.0.0" >> /etc/ssh/sshd_config
# RUN ssh-keygen -A
# RUN systemctl enable sshd.service
# EXPOSE 8000 22
EXPOSE 8000
CMD ["/bin/bash"]
| null | maintenance/other |
2224 | 9aefd0572273816a04db29b29185b407a2d945fb | Run docker/update.sh | Run docker/update.sh
| FROM alpine:3.2
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
ENV DOCKER_VERSION 1.10.0-dev
ENV DOCKER_URL https://experimental.docker.com/builds/Linux/x86_64/docker-1.10.0-dev
ENV DOCKER_SHA256 1e92f0fb52969a2c88500ce282a4aa4f3753ff00a113dea324e9dbb976bcddc6
RUN curl -fSL "${DOCKER_URL}" -o /usr/local/bin/docker \
&& echo "${DOCKER_SHA256} /usr/local/bin/docker" | sha256sum -c - \
&& chmod +x /usr/local/bin/docker
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
| null | bug fix |
89 | 5ec2d0249b136c35d5d65169d000c30c1c0114a6 | Bumped source to 20210817-73272a1 | Bumped source to 20210817-73272a1
| FROM docker.pkg.github.com/dock0/arch/arch:20210817-964e6c8
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20210817-73272a1
MAINTAINER akerl <[email protected]>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| maintenance/other |
247 | ffa308770c1538db4bab7ee390c5bd25ce6185b1 | fixed | fixed
| FROM ubuntu:16.04
MAINTAINER Michal Olejniczak <[email protected]>
# Run, run so far away!
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake pkg-config \
libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libxvidcore-dev libx264-dev \
libatlas-base-dev gfortran \
unzip wget \
python3.5-dev python3-pip python3-setuptools \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip && unzip opencv.zip && rm opencv.zip \
&& wget -O opencv_contrib.zip https://github.com/Itseez/opencv_contrib/archive/3.1.0.zip && unzip opencv_contrib.zip && rm opencv_contrib.zip
&& pip3 --no-cache-dir install matplotlib numpy scipy keras sklearn scikit-image imutils h5py \
&& http://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0rc2-cp35-cp35m-linux_x86_64.wh \
&& cd opencv-3.1.0/ && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=/opencv_contrib-3.1.0/modules \
-D PYTHON_EXECUTABLE=/usr/bin/python3.5 .. \
&& make -j4 && make install && ldconfig && cd && rm -rf opencv*
CMD ["/bin/bash"]
| FROM ubuntu:16.04
MAINTAINER Michal Olejniczak <[email protected]>
# Run, run so far away!
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake pkg-config \
libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libxvidcore-dev libx264-dev \
libatlas-base-dev gfortran \
unzip wget \
python3.5-dev python3-pip python3-setuptools \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip && unzip opencv.zip && rm opencv.zip \
&& wget -O opencv_contrib.zip https://github.com/Itseez/opencv_contrib/archive/3.1.0.zip && unzip opencv_contrib.zip && rm opencv_contrib.zip \
&& pip3 --no-cache-dir install matplotlib numpy scipy keras sklearn scikit-image imutils h5py \
&& http://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0rc2-cp35-cp35m-linux_x86_64.wh \
&& cd opencv-3.1.0/ && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=/opencv_contrib-3.1.0/modules \
-D PYTHON_EXECUTABLE=/usr/bin/python3.5 .. \
&& make -j4 && make install && ldconfig && cd / && rm -rf opencv*
CMD ["/bin/bash"]
| maintenance/other |
149 | abc9b30bdcc4bd942ab998cbcf1f1beef8860014 | Bumped source to 20210420-1ec0a3a | Bumped source to 20210420-1ec0a3a
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210420-4a55864
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210420-1ec0a3a
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| feature addition |
220 | 7af6052b6c9166eced2b8d8fcc1a972b0ae41652 | Bumped source to 20201110-83e2d64 | Bumped source to 20201110-83e2d64
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201110-bb2e701
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201110-83e2d64
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| code refactoring |
359 | 527c8c7070224061db14d6956b2aa571d6e7bf23 | added ruby gem scss_lint to dockerfile | added ruby gem scss_lint to dockerfile
| FROM alpine:edge
RUN apk --no-cache add nodejs ruby git python make g++
#Copy over the default Package.json
COPY ./gulp/package.json /usr/src/app/
#Copy over the default Gulpfile
COPY ./gulp/Gulpfile.js /usr/src/app/
WORKDIR /usr/src/app/
RUN npm update && npm install && npm cache clean
#Copy over, and grant executable permission to the startup script
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
#Run Startup script
ENTRYPOINT [ "/entrypoint.sh" ]
| FROM alpine:edge
RUN apk --no-cache add nodejs ruby git python make g++
#Copy over the default Package.json
COPY ./gulp/package.json /usr/src/app/
#Copy over the default Gulpfile
COPY ./gulp/Gulpfile.js /usr/src/app/
WORKDIR /usr/src/app/
RUN npm update \
&& npm install \
&& npm cache clean \
&& gem install scss_lint
#Copy over, and grant executable permission to the startup script
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
#Run Startup script
ENTRYPOINT [ "/entrypoint.sh" ]
| code refactoring |
2251 | c19e8b793e786f14de2d7ad8768872c87f917ba5 | Fix order of update command during build | Fix order of update command during build
| # Build environment for CyanogenMod
#
# VERSION 0.1
FROM ubuntu:12.04
MAINTAINER Michael Stucki <[email protected]>
# Newer images of ubuntu:12.04 already contain this entry, and if the line appears twice in the file, apt would throw a warning.
RUN grep -q "universe" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update
RUN apt-get install -y python-software-properties bsdmainutils curl file screen
RUN add-apt-repository ppa:nilarimogard/webupd8
RUN apt-get update
RUN apt-get install -y android-tools-adb android-tools-fastboot
RUN apt-get install -y bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev
RUN apt-get install -y g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
RUN apt-get install -y tig
RUN apt-get -qqy upgrade
# Workaround for apt-get upgrade issue described here: https://github.com/dotcloud/docker/issues/1724
# If you still have problems with upgrading this image, you most likely use an outdated base image
RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot
RUN useradd --create-home cmbuild
RUN mkdir /home/cmbuild/bin
RUN curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > /home/cmbuild/bin/repo
RUN chmod a+x /home/cmbuild/bin/repo
RUN echo "export PATH=${PATH}:/home/cmbuild/bin" >> /etc/bash.bashrc
RUN echo "export USE_CCACHE=1" >> /etc/bash.bashrc
WORKDIR /home/cmbuild/android
VOLUME /home/cmbuild/android
| null | bug fix |
4 | 1fa81ebdb8583c39f35de042669bf10f71ffbb83 | Update Dockerfile to use LLVM 3.9 (#1368) | Update Dockerfile to use LLVM 3.9 (#1368)
The Dockerfile was using the apt package llvm-dev which installed llvm 3.8.0.
This change will Install the prebuilt binary of llvm 3.9.0 instead. | FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y make g++ git \
zlib1g-dev libncurses5-dev libssl-dev \
llvm-dev libpcre2-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src/ponyc
COPY Makefile LICENSE VERSION /src/ponyc/
COPY src /src/ponyc/src
COPY lib /src/ponyc/lib
COPY test /src/ponyc/test
COPY packages /src/ponyc/packages
RUN make config=release install \
&& rm -rf /src/ponyc/build
RUN mkdir /src/main
WORKDIR /src/main
CMD ponyc
| FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y make g++ git wget xz-utils \
zlib1g-dev libncurses5-dev libssl-dev \
libpcre2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& wget http://llvm.org/releases/3.9.0/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz \
&& tar xf clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz \
&& cp -r clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04/* /usr/local \
&& rm -rf /clang*
WORKDIR /src/ponyc
COPY Makefile LICENSE VERSION /src/ponyc/
COPY src /src/ponyc/src
COPY lib /src/ponyc/lib
COPY test /src/ponyc/test
COPY packages /src/ponyc/packages
RUN make \
&& make install \
&& rm -rf /src/ponyc/build
RUN mkdir /src/main
WORKDIR /src/main
CMD ponyc
| Not enough inforamtion |
Subsets and Splits