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 |
---|---|---|---|---|---|---|
12 | 3122ec38c6f8aca32c1e1a64606f07e56224c3a8 | Adapt env variable for postgres version | Adapt env variable for postgres version
| # Adapted from mdillon/postgis:9.5
# and https://github.com/docker-library/postgres/blob/master/9.5/docker-entrypoint.sh
#FROM postgres:9.5
FROM tamboraorg/crepostgres:2011.0
MAINTAINER Michael Kahle <michael.kahle@yahoo.de>
ENV POSTGIS_MAJOR 2.5
#ENV POSTGIS_MAJOR 2.3
#ENV POSTGIS_VERSION 2.3.2+dfsg-1~exp2.pgdg80+1
#ENV POSTGIS_VERSION 2.3.2+dfsg-1~exp2.pgdg16.04+1
ENV POSTGIS_VERSION 2.5.1
USER root
#RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
RUN add-apt-repository ppa:ubuntugis/ppa
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
postgresql-$PG_VERSION-postgis-$POSTGIS_MAJOR
RUN apt-get install -y --no-install-recommends \
postgresql-$PG_VERSION-postgis-$POSTGIS_MAJOR-scripts
RUN apt-get install -y --no-install-recommends \
postgis
RUN rm -rf /var/lib/apt/lists/*
USER postgres
COPY cre /cre
WORKDIR /cre/
#RUN mkdir -p /docker-entrypoint-initdb.d
#COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/postgis.sh
#COPY ./update-postgis.sh /usr/local/bin
| # Adapted from mdillon/postgis:9.5
# and https://github.com/docker-library/postgres/blob/master/9.5/docker-entrypoint.sh
#FROM postgres:9.5
FROM tamboraorg/crepostgres:2011.0
MAINTAINER Michael Kahle <michael.kahle@yahoo.de>
ENV POSTGIS_MAJOR 2.5
#ENV POSTGIS_MAJOR 2.3
#ENV POSTGIS_VERSION 2.3.2+dfsg-1~exp2.pgdg80+1
#ENV POSTGIS_VERSION 2.3.2+dfsg-1~exp2.pgdg16.04+1
ENV POSTGIS_VERSION 2.5.1
USER root
#RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
RUN add-apt-repository ppa:ubuntugis/ppa
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
postgresql-$POSTGRES_VERSION-postgis-$POSTGIS_MAJOR
RUN apt-get install -y --no-install-recommends \
postgresql-$POSTGRES_VERSION-postgis-$POSTGIS_MAJOR-scripts
RUN apt-get install -y --no-install-recommends \
postgis
RUN rm -rf /var/lib/apt/lists/*
USER postgres
COPY cre /cre
WORKDIR /cre/
#RUN mkdir -p /docker-entrypoint-initdb.d
#COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/postgis.sh
#COPY ./update-postgis.sh /usr/local/bin
| null |
177 | f4f8ed90bf1038074bf4c53bb11fec2e3ac9b121 | Bumped source to 20200319-9a625c8 | Bumped source to 20200319-9a625c8
| FROM docker.pkg.github.com/dock0/arch/arch:20200319-7c88c8b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200319-9a625c8
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
196 | 728a4c5b953cc62cc52b55f5f620b8b75d67bf2e | Bumped source to 20221117-034639b | Bumped source to 20221117-034639b
| FROM ghcr.io/dock0/arch:20221117-beef06a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM ghcr.io/dock0/arch:20221117-034639b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
2193 | 6619f63c72e3d5c88c33fe408f61397499c4c761 | using version 2.070.2 | using version 2.070.2
| FROM ubuntu:16.04
MAINTAINER Stefan Rohe <think@hotmail.de>
ENV \
COMPILER=dmd \
COMPILER_VERSION=2.070.1
RUN apt-get update && apt-get install -y curl build-essential \
&& curl -fsS -o /tmp/install.sh https://dlang.org/install.sh \
&& bash /tmp/install.sh -p /dlang install -s "${COMPILER}-${COMPILER_VERSION}" \
&& rm /tmp/install.sh \
&& apt-get auto-remove -y curl build-essential \
&& apt-get install -y gcc \
&& rm -rf /var/cache/apt \
&& rm -rf /dlang/${COMPILER}-*/linux/bin32 \
&& rm -rf /dlang/${COMPILER}-*/linux/lib32 \
&& rm -rf /dlang/${COMPILER}-*/html \
&& rm -rf /dlang/dub-1.0.0/dub.tar.gz
ENV \
PATH=/dlang/${COMPILER}-${COMPILER_VERSION}/linux/bin64:${PATH} \
LD_LIBRARY_PATH=/dlang/${COMPILER}-${COMPILER_VERSION}/linux/lib64 \
LIBRARY_PATH=/dlang/${COMPILER}-${COMPILER_VERSION}/linux/lib64 \
PS1="(${COMPILER}-${COMPILER_VERSION}) \\u@\\h:\\w\$"
RUN cd /tmp \
&& echo 'void main() {import std.stdio; stdout.writeln("it works"); }' > test.d \
&& dmd test.d \
&& ./test && rm test*
WORKDIR /src
ENV GOSU_VERSION 1.9
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates wget \
&& wget -O /usr/local/bin/gosu \
"https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-$(dpkg --print-architecture)" \
&& wget -O /usr/local/bin/gosu.asc \
"https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-$(dpkg --print-architecture).asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm -r "${GNUPGHOME}" /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu \
&& gosu nobody true \
&& apt-get auto-remove -y wget \
&& rm -rf /var/lib/apt/lists/* \
&& chmod 755 -R /dlang
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["${COMPILER}"]
| null | null |
274 | 38846d6a9e7cb6b7a7fbfd3767db372b5469702b | Bumped source to 20201013-48ea5a5 | Bumped source to 20201013-48ea5a5
| FROM docker.pkg.github.com/dock0/arch/arch:20201013-5117106
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20201013-48ea5a5
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
73 | d7b5ddc36d13d1fc3d7ad969b688887caad47643 | Bumped source to 20200814-238b0da | Bumped source to 20200814-238b0da
| FROM docker.pkg.github.com/dock0/arch/arch:20200814-ade2558
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200814-238b0da
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
363 | 7c284a3a83bfeeac91e7cc365a7f6baaf8cac7da | Updated Ubuntu and added a volume for /etc/sensu | Updated Ubuntu and added a volume for /etc/sensu
| FROM ubuntu:trusty
MAINTAINER John Dilts <john.dilts@enstratius.com>
RUN apt-get update && apt-get install -y wget openssl
RUN useradd -d /home/sensu -m -s /bin/bash sensu
RUN echo sensu:sensu | chpasswd
ADD sensu_ca sensu_ca
ADD ssl_certs.sh /tmp/
RUN /tmp/ssl_certs.sh generate
ADD install-sensu.sh /tmp/
RUN /tmp/install-sensu.sh
ADD supervisor.conf /etc/supervisor/conf.d/sensu.conf
ADD sensu-run.sh /tmp/sensu-run.sh
VOLUME /var/log/sensu
EXPOSE 4567
EXPOSE 5672
EXPOSE 6379
EXPOSE 3000
CMD ["/tmp/sensu-run.sh"]
| FROM ubuntu:latest
MAINTAINER John Dilts <john.dilts@enstratius.com>
RUN apt-get update && apt-get install -y wget openssl
RUN useradd -d /home/sensu -m -s /bin/bash sensu
RUN echo sensu:sensu | chpasswd
ADD sensu_ca sensu_ca
ADD ssl_certs.sh /tmp/
RUN /tmp/ssl_certs.sh generate
ADD install-sensu.sh /tmp/
RUN /tmp/install-sensu.sh
ADD supervisor.conf /etc/supervisor/conf.d/sensu.conf
ADD sensu-run.sh /tmp/sensu-run.sh
VOLUME /var/log/sensu
VOLUME /etc/sensu
EXPOSE 4567
EXPOSE 5672
EXPOSE 6379
EXPOSE 3000
CMD ["/tmp/sensu-run.sh"]
| null |
2304 | 7e94189646592fad30f54e1c5eb74b4d7758eaa9 | - fix exposed ports | - fix exposed ports
| FROM mediawiki:stable
# ope-wsl - Offline version of Washington State Library resource wiki
# Build with docker build -t ope-wsl .
#INSTRUCTIONS
# Build the container and run it with the docker-compose command
# Sync offline copies of website content into volume
# To copy to offline server use the setup tool
MAINTAINER Ray Pulsipher <ray@cmagic.biz>
LABEL Description="Washington State Library offline resource wiki - Image for Open Prison Education" Vendor="openprisoneducation.com" Version="0.1"
VOLUME ["/var/www/html/sites"]
EXPOSE 80
| null | null |
98 | 5c68019cf7fcc81ffc229c0a042f859ba8c54322 | Bumped source to 20200417-f67c30b | Bumped source to 20200417-f67c30b
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200417-4ab5ac2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200417-f67c30b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null |
358 | 64eb10aa3ec4bf566cf446277d1b0a5c530e4a9f | Bumped source to 20210717-656a897 | Bumped source to 20210717-656a897
| FROM docker.pkg.github.com/dock0/service/service:20210717-dcfe22d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20210717-656a897
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
298 | bd89aebe29cfad5d234b1d8c15fec73f25037089 | add hadoop-base dockerfile | add hadoop-base dockerfile
| FROM lsw1991abc/sshd:0.1
LABEL maintainer="lsw1991abc@gmail.com"
USER root
ARG DISTRO_NAME=hadoop-2.7.4
# COPY $DISTRO_NAME.tar.gz /opt/
RUN wget -o /opt/$DISTRO_NAME.tar.gz http://apache.fayea.com/hadoop/common/$DISTRO_NAME/$DISTRO_NAME.tar.gz
RUN tar -xzf /opt/$DISTRO_NAME.tar.gz -C /opt/ && rm /opt/$DISTRO_NAME.tar.gz && chown -R root:root /opt/$DISTRO_NAME
# 环境变量
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64
ENV HADOOP_HOME /opt/$DISTRO_NAME
ENV HADOOP_MAPRED_HOME $HADOOP_HOME
ENV HADOOP_COMMON_HOME $HADOOP_HOME
ENV HADOOP_HDFS_HOME $HADOOP_HOME
ENV YARN_HOME $HADOOP_HOME
ENV HADOOP_COMMON_LIB_NATIVE_DIR $HADOOP_HOME/lib/native
ENV HADOOP_INSTALL $HADOOP_HOME
ENV PATH $PATH:$JAVA_HOME/bin:$HADOOP_HOME/sbin:$HADOOP_HOME/bin
# Hdfs ports
EXPOSE 50010 50020 50070 50075 50090 8020 9000
# Mapred ports
EXPOSE 10020 19888
#Yarn ports
EXPOSE 8030 8031 8032 8033 8040 8042 8088
#Other ports
EXPOSE 49707 2122
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] | FROM lsw1991abc/sshd:0.1
LABEL maintainer="lsw1991abc@gmail.com"
USER root
ARG DISTRO_NAME=hadoop-2.7.4
# COPY $DISTRO_NAME.tar.gz /opt/
RUN wget -P /opt/ http://apache.fayea.com/hadoop/common/$DISTRO_NAME/$DISTRO_NAME.tar.gz
RUN tar -xzf /opt/$DISTRO_NAME.tar.gz -C /opt/ && rm /opt/$DISTRO_NAME.tar.gz && chown -R root:root /opt/$DISTRO_NAME
# 环境变量
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64
ENV HADOOP_HOME /opt/$DISTRO_NAME
ENV HADOOP_MAPRED_HOME $HADOOP_HOME
ENV HADOOP_COMMON_HOME $HADOOP_HOME
ENV HADOOP_HDFS_HOME $HADOOP_HOME
ENV YARN_HOME $HADOOP_HOME
ENV HADOOP_COMMON_LIB_NATIVE_DIR $HADOOP_HOME/lib/native
ENV HADOOP_INSTALL $HADOOP_HOME
ENV PATH $PATH:$JAVA_HOME/bin:$HADOOP_HOME/sbin:$HADOOP_HOME/bin
# Hdfs ports
EXPOSE 50010 50020 50070 50075 50090 8020 9000
# Mapred ports
EXPOSE 10020 19888
#Yarn ports
EXPOSE 8030 8031 8032 8033 8040 8042 8088
#Other ports
EXPOSE 49707 2122
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] | null |
240 | ba196ce7d271ef5d936156d5115617d037fa6034 | Couldn't do a docker build so changed from 16:04 to latest then it worked. Also now running update and install together with && as suggested by docker best practice. | Couldn't do a docker build so changed from 16:04 to latest then it worked. Also now running update and install together with && as suggested by docker best practice.
| ############################################################
# Dockerfile to build 16S rRNA diversity analysis
# Based on Ubuntu 16.04
############################################################
# Set the base image to Ubuntu
FROM ubuntu:16.04
# File Author / Maintainer
MAINTAINER Long Yee "long@sanbi.ac.za"
# Update the repository sources list
RUN apt-get update
RUN apt-get upgrade -y
WORKDIR /root
################## BEGIN INSTALLATION ######################
# Install Basic tools
RUN apt-get install -y wget unzip libfindbin-libs-perl
# Install Java 8
# Ref: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
RUN apt-get install -y default-jre
# Install FastQC
# Ref: http://www.bioinformatics.babraham.ac.uk/projects/fastqc/INSTALL.txt
RUN wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip
RUN unzip fastqc_v0.11.5.zip
RUN mv FastQC/ /opt/
RUN chmod +x /opt/FastQC/fastqc
RUN ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc
##################### INSTALLATION END #####################
#ENTRYPOINT ["/usr/local/bin/fastqc"]
#CMD ["--help"]
| ############################################################
# Dockerfile to build 16S rRNA diversity analysis
############################################################
# Set the base image to Ubuntu
FROM ubuntu:latest
# File Author / Maintainer
MAINTAINER Long Yee "long@sanbi.ac.za"
WORKDIR /root
################## BEGIN INSTALLATION ######################
# Install Basic tools
RUN apt-get update && apt-get install -y wget unzip libfindbin-libs-perl
# Install Java 8
# Ref: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
RUN apt-get install -y default-jre
# Install FastQC
# Ref: http://www.bioinformatics.babraham.ac.uk/projects/fastqc/INSTALL.txt
RUN wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip
RUN unzip fastqc_v0.11.5.zip
RUN mv FastQC/ /opt/
RUN chmod +x /opt/FastQC/fastqc
RUN ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc
##################### INSTALLATION END #####################
#ENTRYPOINT ["/usr/local/bin/fastqc"]
#CMD ["--help"]
| null |
2156 | 6b6745df3012cdd34794f859f921a01a16acced1 | Add missing php modules | Add missing php modules
| FROM ubuntu
MAINTAINER Samir L. Boulema <sboulema@gmail.com>
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
nginx supervisor php7.0-fpm php7.0-cli php7.0-curl php7.0-gd php7.0-json \
php7.0-pgsql php7.0-mysql php7.0-mcrypt && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/php
# enable the mcrypt module
RUN phpenmod -v 7.0 mcrypt
# add ttrss as the only nginx site
ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss
RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss and patch configuration
WORKDIR /var/www
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -SL https://tt-rss.org/gitlab/fox/tt-rss/repository/archive.tar.gz?ref=master | tar xzC /var/www --strip-components 1 \
&& apt-get purge -y --auto-remove curl \
&& chown www-data:www-data -R /var/www
RUN cp config.php-dist config.php
# expose only nginx HTTP port
EXPOSE 80
# complete path to ttrss
ENV SELF_URL_PATH http://localhost
# expose default database credentials via ENV in order to ease overwriting
ENV DB_NAME ttrss
ENV DB_USER ttrss
ENV DB_PASS ttrss
# always re-configure database with current ENV when RUNning container, then monitor all services
ADD configure-db.php /configure-db.php
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD php /configure-db.php && supervisord -c /etc/supervisor/conf.d/supervisord.conf | null | null |
2266 | 4f308b5c61886221ecdfae0eb072a216eca36512 | Add PuDB to Dockerfile | Add PuDB to Dockerfile
| FROM ubuntu:14.04
MAINTAINER HelloLily
RUN apt-get update
RUN apt-get install -y \
python2.7-dev \
python-pip \
postgresql \
postgresql-server-dev-9.3 \
libxml2-dev \
libxslt1-dev \
libncurses5-dev \
rsync
RUN useradd docker
RUN echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/docker
ENV HOME /home/docker
ADD requirements.txt $HOME/requirements.txt
RUN pip install -r $HOME/requirements.txt
# Workaround for IncompleteRead error while installing requirements-dev.txt.
# See: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991
RUN rm -rf /usr/local/lib/python2.7/dist-packages/requests* && easy_install requests==2.3.0
ADD requirements-dev.txt $HOME/requirements-dev.txt
RUN pip install -r $HOME/requirements-dev.txt
RUN rm $HOME/requirements.txt $HOME/requirements-dev.txt
USER docker
ENV DEBUG 1
ENV SECRET_KEY abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmn
ENV DATABASE_URL postgres://hellolily:@db/hellolily
ENV REDISTOGO_URL redis://redis:6379
ENV MULTI_TENANT 1
ENV BROKER_HOST rabbit
ENV SEARCHBOX_SSL_URL http://es:9200
WORKDIR /home/docker/hellolily
CMD /bin/bash
| null | null |
103 | 1adf6734d4631d78f9cc59b83cfbca8c7a2079cf | update 0.13.6 | update 0.13.6
| FROM alpine:edge
MAINTAINER Sven Walter <sven@wltr.eu>
ARG SYNCTHING_VERSION=0.13.5
ENV SYNCTHING_DATA=/data
ENV SYNCTHING_HOME=/syncthing
ADD resources/syncthing.sh /syncthing/syncthing.sh
RUN set -x \
&& apk add --no-cache bash \
&& apk add --no-cache \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
xmlstarlet \
&& apk add --no-cache --virtual .build-deps \
curl \
ca-certificates \
&& mkdir -p ${SYNCTHING_DATA} \
&& mkdir -p ${SYNCTHING_HOME} \
&& curl -L -o syncthing.tar.gz https://github.com/syncthing/syncthing/releases/download/v$SYNCTHING_VERSION/syncthing-linux-amd64-v$SYNCTHING_VERSION.tar.gz \
&& tar -xzvf syncthing.tar.gz \
&& rm -f syncthing.tar.gz \
&& mv syncthing-linux-amd64-v* $SYNCTHING_HOME/syncthing \
&& rm -rf $SYNCTHING_HOME/syncthing/etc \
&& rm -rf $SYNCTHING_HOME/syncthing/*.pdf \
&& chmod 770 /syncthing/syncthing.sh \
&& apk del .build-deps
WORKDIR $SYNCTHING_HOME
VOLUME ["$SYNCTHING_HOME"]
ENTRYPOINT ["/syncthing/syncthing.sh"]
| FROM alpine:edge
MAINTAINER Sven Walter <sven@wltr.eu>
ARG SYNCTHING_VERSION=0.13.6
ENV SYNCTHING_DATA=/data
ENV SYNCTHING_HOME=/syncthing
ADD resources/syncthing.sh /syncthing/syncthing.sh
RUN set -x \
&& apk add --no-cache bash \
&& apk add --no-cache \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
xmlstarlet \
&& apk add --no-cache --virtual .build-deps \
curl \
ca-certificates \
&& mkdir -p ${SYNCTHING_DATA} \
&& mkdir -p ${SYNCTHING_HOME} \
&& curl -L -o syncthing.tar.gz https://github.com/syncthing/syncthing/releases/download/v$SYNCTHING_VERSION/syncthing-linux-amd64-v$SYNCTHING_VERSION.tar.gz \
&& tar -xzvf syncthing.tar.gz \
&& rm -f syncthing.tar.gz \
&& mv syncthing-linux-amd64-v* $SYNCTHING_HOME/syncthing \
&& rm -rf $SYNCTHING_HOME/syncthing/etc \
&& rm -rf $SYNCTHING_HOME/syncthing/*.pdf \
&& chmod 770 /syncthing/syncthing.sh \
&& apk del .build-deps
WORKDIR $SYNCTHING_HOME
VOLUME ["$SYNCTHING_HOME"]
ENTRYPOINT ["/syncthing/syncthing.sh"]
| null |
30 | e13800e616dd398d8cf10cdbcd36a2a03693638a | Fix spruce link in dockerimage | Fix spruce link in dockerimage
Signed-off-by: Alan Moran <c0e0381e40435974913b100e98533438ffac68dd@allstate.com>
| FROM ruby:2.3.0
ENV GEM_NAME ops_manager_cli
ENV GEM_VERSION 0.7.3
ENV OVFTOOL_VERSION 4.1.0-2459827
ENV OVFTOOL_INSTALLER VMware-ovftool-${OVFTOOL_VERSION}-lin.x86_64.bundle
ARG DOWNLOAD_URL
# ================== Installs OVF tools ==============
RUN echo $DOWNLOAD_URL
RUN wget -v ${DOWNLOAD_URL} \
&& sh ${OVFTOOL_INSTALLER} -p /usr/local --eulas-agreed --required \
&& rm -f ${OVFTOOL_INSTALLER}*
# ================== Installs Spruce ==============
RUN wget -v --no-check-certificate https://github.com/geofffranks/spruce/releases/download/v1.13.1/spruce-linux-amd64 \
&& chmod +x spruce-linux-amd64 \
&& ln -s spruce-linux-amd64 /usr/bin/.
# ================== Installs JQ ==============
RUN wget -v -O /usr/local/bin/jq --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
RUN chmod +x /usr/local/bin/jq
# ================== Installs ops_manager_cli gem ==============
COPY pkg/${GEM_NAME}-${GEM_VERSION}.gem /tmp/
RUN gem install /tmp/${GEM_NAME}-${GEM_VERSION}.gem
| FROM ruby:2.3.0
ENV GEM_NAME ops_manager_cli
ENV GEM_VERSION 0.7.3
ENV OVFTOOL_VERSION 4.1.0-2459827
ENV OVFTOOL_INSTALLER VMware-ovftool-${OVFTOOL_VERSION}-lin.x86_64.bundle
ARG DOWNLOAD_URL
# ================== Installs OVF tools ==============
RUN echo $DOWNLOAD_URL
RUN wget -v ${DOWNLOAD_URL} \
&& sh ${OVFTOOL_INSTALLER} -p /usr/local --eulas-agreed --required \
&& rm -f ${OVFTOOL_INSTALLER}*
# ================== Installs Spruce ==============
RUN wget -v --no-check-certificate https://github.com/geofffranks/spruce/releases/download/v1.13.1/spruce-linux-amd64 \
&& chmod +x spruce-linux-amd64 \
&& ln -s /spruce-linux-amd64 /usr/bin/spruce
# ================== Installs JQ ==============
RUN wget -v -O /usr/local/bin/jq --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
RUN chmod +x /usr/local/bin/jq
# ================== Installs ops_manager_cli gem ==============
COPY pkg/${GEM_NAME}-${GEM_VERSION}.gem /tmp/
RUN gem install /tmp/${GEM_NAME}-${GEM_VERSION}.gem
| null |
2270 | b0b69e2e36af82ad5234dbb340f4f21e50a53d6a | Bumped source to 20201008-85330e8 | Bumped source to 20201008-85330e8
| FROM docker.pkg.github.com/dock0/arch/arch:20201008-e506932
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null | null |
350 | 2437e6c3f71f4e7751c83c6f1a4ecbd546b49146 | Bumped source to 20200807-07fff0c | Bumped source to 20200807-07fff0c
| FROM docker.pkg.github.com/dock0/service/service:20200807-3737d6c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200807-07fff0c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
265 | cfae32db3d3499b39c92aeced2b18a3a22bfbf35 | Update nodejs to 10.x for ubuntu18.04 ci/cd | Update nodejs to 10.x for ubuntu18.04 ci/cd
Signed-off-by: Sergey Minaev <322af3f2df10918c6ef5280f56be0b711278b1ae@dsr-corporation.com> | FROM ubuntu:18.04
ARG uid=1000
RUN apt-get update && \
apt-get install -y \
pkg-config \
libssl-dev \
curl \
libsqlite3-dev \
cmake \
python3-pip \
debhelper \
devscripts \
libncursesw5-dev \
libzmq3-dev \
libsodium-dev
RUN pip3 install -U \
pip \
twine \
plumbum \
deb-pkg-tools
RUN apt-get update && apt-get install -y --no-install-recommends \
ruby \
ruby-dev \
rubygems \
&& gem install --no-ri --no-rdoc rake fpm \
&& rm -rf /var/lib/apt/lists/*
# install java and maven
RUN apt-get update && apt-get install openjdk-8-jdk -y
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
RUN apt-get update && apt-get install -y maven
# install nodejs and npm
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN useradd -ms /bin/bash -u $uid indy
USER indy
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.36.0
ENV PATH /home/indy/.cargo/bin:$PATH
WORKDIR /home/indy | FROM ubuntu:18.04
ARG uid=1000
RUN apt-get update && \
apt-get install -y \
pkg-config \
libssl-dev \
curl \
libsqlite3-dev \
cmake \
python3-pip \
debhelper \
devscripts \
libncursesw5-dev \
libzmq3-dev \
libsodium-dev
RUN pip3 install -U \
pip \
twine \
plumbum \
deb-pkg-tools
RUN apt-get update && apt-get install -y --no-install-recommends \
ruby \
ruby-dev \
rubygems \
&& gem install --no-ri --no-rdoc rake fpm \
&& rm -rf /var/lib/apt/lists/*
# install java and maven
RUN apt-get update && apt-get install openjdk-8-jdk -y
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
RUN apt-get update && apt-get install -y maven
# install nodejs and npm
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get install -y nodejs
RUN useradd -ms /bin/bash -u $uid indy
USER indy
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.36.0
ENV PATH /home/indy/.cargo/bin:$PATH
WORKDIR /home/indy
| null |
193 | d1312bdddc4e770fda8a7a778c8b8bbb55bfa1b6 | Update Dockerfile | Update Dockerfile | # A docker file to run php-fpm server behind nginx or other frontend
FROM alpine:edge
MAINTAINER Antoine GIRARD <antoine.girard@sapk.fr>
#UID et GID can be set at run time to change in relation with the host
ENV BASEDIR="/var/www",UID="33",GID="33"
#Install php and deps (+ add testing repo)
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk -U --no-cache --no-progress upgrade \
&& apk -U --no-cache --force --no-progress add \
ca-certificates php-fpm php-cli php-zip php-gd shadow \
#Configure
RUN addgroup -S www-data && adduser -S -H -h ${BASEDIR} -G www-data www-data \
&& mkdir ${BASEDIR} && chown www-data:www-data ${BASEDIR} \
&& sed --in-place s/user\ =\ nobody/user\ =\ www-data/g /etc/php/php-fpm.conf \
&& sed --in-place s/group\ =\ nobody/group\ =\ www-data/g /etc/php/php-fpm.conf \
&& sed --in-place s/listen\ =\ 127.0.0.1:9000/listen\ =\ 0.0.0.0:9000/g /etc/php/php-fpm.conf \
VOLUME ${BASEDIR}
WORKDIR ${BASEDIR}
EXPOSE 9000
ENTRYPOINT /usr/sbin/groupmod -g $GID www-data && /usr/sbin/usermod -u $UID -g $GID www-data && /usr/bin/php-fpm -F -e -i
CMD []
| # A docker file to run php-fpm server behind nginx or other frontend
FROM alpine:edge
MAINTAINER Antoine GIRARD <antoine.girard@sapk.fr>
#UID et GID can be set at run time to change in relation with the host
ENV BASEDIR="/var/www",UID="33",GID="33"
#Install php and deps (+ add testing repo)
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk --no-progress upgrade --no-cache\
&& apk --no-progress add --no-cache ca-certificates \
php-fpm php-cli php-zip php-gd shadow
#Configure
RUN addgroup -S www-data && adduser -S -H -h ${BASEDIR} -G www-data www-data \
&& mkdir ${BASEDIR} && chown www-data:www-data ${BASEDIR} \
&& sed --in-place s/user\ =\ nobody/user\ =\ www-data/g /etc/php/php-fpm.conf \
&& sed --in-place s/group\ =\ nobody/group\ =\ www-data/g /etc/php/php-fpm.conf \
&& sed --in-place s/listen\ =\ 127.0.0.1:9000/listen\ =\ 0.0.0.0:9000/g /etc/php/php-fpm.conf \
VOLUME ${BASEDIR}
WORKDIR ${BASEDIR}
EXPOSE 9000
ENTRYPOINT /usr/sbin/groupmod -g $GID www-data && /usr/sbin/usermod -u $UID -g $GID www-data && /usr/bin/php-fpm -F -e -i
CMD []
| null |
29 | 145e3df7ad60da248b9855786b9c579143639b48 | Bumped source to 20200216-be2fa16 | Bumped source to 20200216-be2fa16
| FROM docker.pkg.github.com/dock0/arch/arch:20200216-f890194
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200216-be2fa16
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
269 | aa76cf845b82d40a5e1622f2bfe74956263cba65 | Added copying of artifacts folder with CRDs | Added copying of artifacts folder with CRDs
This will allow us to remove redundant code in https://github.com/grafeas/kritis/blob/master/helm-hooks/preinstall/crd.go that redefines the CRDs. | # Copyright 2018 Google, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.10
WORKDIR /go/src/github.com/grafeas/kritis
COPY . .
ARG stage
RUN make ${stage}
FROM golang:1.10
RUN go get -u github.com/cloudflare/cfssl/cmd/...
ENV KUBECTL_VERSION v1.10.0
RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /usr/local/bin/kubectl
COPY --from=0 /go/src/github.com/grafeas/kritis/out/${stage} /${stage}
| # Copyright 2018 Google, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.10
WORKDIR /go/src/github.com/grafeas/kritis
COPY . .
ARG stage
RUN make ${stage}
FROM golang:1.10
RUN go get -u github.com/cloudflare/cfssl/cmd/...
ENV KUBECTL_VERSION v1.10.0
RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /usr/local/bin/kubectl
COPY --from=0 /go/src/github.com/grafeas/kritis/out/${stage} /${stage}
# Copy artifacts to the image.
COPY --from=0 /go/src/github.com/grafeas/kritis/artifacts /${stage}/artifacts
| null |
216 | 3477297f1be0d05a99375e19562f11076d7b521e | Add php5-gd | Add php5-gd
| FROM debian:jessie
MAINTAINER andre487 "andrey.prokopyuk@gmail.com"
RUN apt-get update \
&& apt-get install -y apache2 libapache2-mod-php5 php5-mysql \
&& apt-get clean \
&& ls /etc/apache2/sites-enabled | xargs -I % rm /etc/apache2/sites-enabled/% \
&& ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
COPY provision/apache2.conf /etc/apache2/apache2.conf
COPY provision/php.ini /etc/php5/apache2/php.ini
COPY provision/start.sh /etc/container/start.sh
CMD /etc/container/start.sh
| FROM debian:jessie
MAINTAINER andre487 "andrey.prokopyuk@gmail.com"
RUN apt-get update \
&& apt-get install -y apache2 libapache2-mod-php5 php5-mysql php5-gd \
&& apt-get clean \
&& ls /etc/apache2/sites-enabled | xargs -I % rm /etc/apache2/sites-enabled/% \
&& ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
COPY provision/apache2.conf /etc/apache2/apache2.conf
COPY provision/php.ini /etc/php5/apache2/php.ini
COPY provision/start.sh /etc/container/start.sh
CMD /etc/container/start.sh
| null |
327 | 8c03fd358e7778f53f2c1dbf799375d8f910648f | Bumped source to 20200825-f08d0e6 | Bumped source to 20200825-f08d0e6
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200825-abacbe0
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20200825-f08d0e6
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null |
2299 | 0f0733251e9fbd5f036fc9ad0fd44dcd0d1d5a00 | Bumped source to 20201008-5d66ffe | Bumped source to 20201008-5d66ffe
| FROM docker.pkg.github.com/dock0/service/service:20201008-308ecf2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null | null |
86 | 95713ddc77c8a343930418f86ec8f2c4a3b65474 | update dockerfile | update dockerfile
| FROM node:7.10
MAINTAINER brook.shi iwxiaot@gmail.com
RUN apt-get update
# code folder
RUN mkdir -p /usr/src
WORKDIR /usr/src
RUN git clone -b release https://github.com/brookshi/Hitchhiker.git
WORKDIR /usr/src/Hitchhiker
# npm install -g
RUN npm install -g pm2 yarn gulp-cli typescript@2.3.3
RUN npm install gulp -D
# npm install
RUN npm install
RUN cd client && npm install
# gulp build
RUN gulp release --host localhost --port 8080
WORKDIR /usr/src/Hitchhiker/build
# start mail
EXPOSE 8080
CMD ["pm2-docker", "index.js"]
| FROM node:7.10
MAINTAINER brook.shi iwxiaot@gmail.com
RUN apt-get update
# code folder
RUN mkdir -p /usr/src
WORKDIR /usr/src
RUN git clone -b release https://github.com/brookshi/Hitchhiker.git
WORKDIR /usr/src/Hitchhiker
# npm install -g
RUN npm install -g pm2 yarn gulp-cli typescript@2.3.3
RUN npm install gulp -D
# npm install
RUN npm install
RUN cd client && npm install
# gulp build
RUN gulp release --prod
WORKDIR /usr/src/Hitchhiker/build
# start mail
EXPOSE 8080
CMD ["pm2-docker", "index.js"]
| null |
2256 | 39de6e828d6aa195557a2f9f3f242c8065d3eaec | Bumped source to 20200805-7f8d536 | Bumped source to 20200805-7f8d536
| FROM docker.pkg.github.com/dock0/arch/arch:20200805-2a47823
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | null |
2084 | ac4c11f18217213eed8ac502a7a57740ebda5a93 | Bumped source to 20220926-e20f1bd | Bumped source to 20220926-e20f1bd
| FROM ghcr.io/dock0/arch:20220926-87d3d9c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel vim-minimal tree
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null | null |
2091 | 06148bd09222645c2996f50094d76aeeb9ed4556 | Update to 0.6.1 | Update to 0.6.1
| FROM debian:jessie
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*
ENV JULIA_PATH /usr/local/julia
# https://julialang.org/juliareleases.asc
# Julia (Binary signing key) <buildbot@julialang.org>
ENV JULIA_GPG 3673DF529D9049477F76B37566E3C7DC03D6E495
# https://julialang.org/downloads/
ENV JULIA_VERSION 0.6.0
RUN set -ex; \
\
# https://julialang.org/downloads/#julia-command-line-version
# https://julialang-s3.julialang.org/bin/checksums/julia-0.6.0.sha256
# this "case" statement is generated via "update.sh"
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) tarArch='x86_64'; dirArch='x64'; sha256='3a27ea78b06f46701dc4274820d9853789db205bce56afdc7147f7bd6fa83e41' ;; \
armhf) tarArch='arm'; dirArch='arm'; sha256='7515f5977b2aac0cea1333ef249b3983928dee76ea8eb3de9dd6a7cdfbd07d2d' ;; \
i386) tarArch='i686'; dirArch='x86'; sha256='bfebd2ef38c25ce72dd6661cdd8a6f509800492a4d250c2908f83e791c0a444a' ;; \
*) echo >&2 "error: current architecture ($dpkgArch) does not have a corresponding Julia binary release"; exit 1 ;; \
esac; \
\
curl -fL -o julia.tar.gz "https://julialang-s3.julialang.org/bin/linux/${dirArch}/${JULIA_VERSION%[.-]*}/julia-${JULIA_VERSION}-linux-${tarArch}.tar.gz"; \
curl -fL -o julia.tar.gz.asc "https://julialang-s3.julialang.org/bin/linux/${dirArch}/${JULIA_VERSION%[.-]*}/julia-${JULIA_VERSION}-linux-${tarArch}.tar.gz.asc"; \
\
echo "${sha256} *julia.tar.gz" | sha256sum -c -; \
\
export GNUPGHOME="$(mktemp -d)"; \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$JULIA_GPG"; \
gpg --batch --verify julia.tar.gz.asc julia.tar.gz; \
rm -rf "$GNUPGHOME" julia.tar.gz.asc; \
\
mkdir "$JULIA_PATH"; \
tar -xzf julia.tar.gz -C "$JULIA_PATH" --strip-components 1; \
rm julia.tar.gz
ENV PATH $JULIA_PATH/bin:$PATH
CMD ["julia"]
| null | null |
2316 | 960731d2310ae977774a63341511d364cffded44 | Add webroot to the Docker image | Add webroot to the Docker image
| FROM alpine
ADD ./sitemapper /
RUN apk update
RUN apk add ca-certificates
RUN rm -rf /var/cache/apk/*
ENTRYPOINT ["/sitemapper"]
| null | null |
112 | d10ebf249255af19aa93272bb149d6f69ff21d24 | Bumped source to 20210106-4b14d9b | Bumped source to 20210106-4b14d9b
| FROM docker.pkg.github.com/dock0/arch/arch:20210106-4a182dc
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| FROM docker.pkg.github.com/dock0/arch/arch:20210106-4b14d9b
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm base-devel musl vim-minimal tree openssh
ENV EDITOR vim
WORKDIR /opt/build
CMD ["make", "local"]
| null |
16 | 8450ae8697e2dff4f659c4859d2f01e05e9c07ef | fix(docker): remove hydrogen user | fix(docker): remove hydrogen user
| # Lightweight (45MB) and Happy Home on debian.
# More tags: //hub.docker.com/_/debian/
FROM debian:stretch
# What am I? Who will I become?
ARG USERNAME=hydrogen
ENV HOME=/home/$USERNAME
# Invincibility Boost.
RUN echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf \
&& apt-get update \
&& apt-get install sudo \
&& useradd -m -s /bin/bash $USERNAME \
&& echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
# Install the base system dependencies.
# (make language-specific envs later)
#
# NOTE: docker libraries are still required
# even though the daemon must also be
# hosted outside the container start
COPY . $HOME/.dots
RUN cd $HOME/.dots \
&& ./install/deb/base.sh \
&& ./setup.sh
# As root, need to change ownership of copied files.
RUN chown -R $USERNAME:$USERNAME $HOME
USER $USERNAME
ENV USER=$USERNAME
WORKDIR $HOME
# Install, and allow ourselves to run, docker
# NOTE: docker.sh fails to add us to the docker
# group because $USER is `root` behind sudo
RUN sudo ./.dots/install/deb/docker.sh \
&& sudo usermod -aG docker $USERNAME
# Configure how to run the image in a container.
VOLUME [ $HOME ]
ENTRYPOINT [ "/bin/bash" ]
CMD [ "--login" ]
# Example execution to enable editing code on host:
# docker run --rm -it \
# -v $PWD:/home/$USERNAME:rw \
# $IMAGE
| # Lightweight (45MB) and Happy Home on debian.
# More tags: //hub.docker.com/_/debian/
FROM debian:stretch
# The docker user seems like a good choice here
ARG USERNAME=docker
ENV HOME=/home/$USERNAME
# Invincibility Boost.
RUN echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf \
&& apt-get update \
&& apt-get install sudo \
&& useradd -m -s /bin/bash $USERNAME \
&& echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
# Install the base system dependencies.
# (make language-specific envs later)
#
# NOTE: docker libraries are still required
# even though the daemon must also be
# hosted outside the container start
COPY . $HOME/.dots
RUN cd $HOME/.dots \
&& ./install/deb/base.sh \
&& ./setup.sh
# As root, need to change ownership of copied files.
RUN chown -R $USERNAME:$USERNAME $HOME
USER $USERNAME
ENV USER=$USERNAME
WORKDIR $HOME
# Install, and allow ourselves to run, docker
# NOTE: docker.sh fails to add us to the docker
# group because $USER is `root` behind sudo
RUN sudo ./.dots/install/deb/docker.sh \
&& sudo usermod -aG docker $USERNAME
# Configure how to run the image in a container.
VOLUME [ $HOME ]
ENTRYPOINT [ "/bin/bash" ]
CMD [ "--login" ]
# Example execution to enable editing code on host:
# docker run --rm -it \
# -v $PWD:/home/$USERNAME:rw \
# $IMAGE
| null |
22 | 0501ba0e69271e2da3043bfc146e71454c3c271b | Bumped source to 20200525-e38fbcf | Bumped source to 20200525-e38fbcf
| FROM docker.pkg.github.com/dock0/service/service:20200525-d6f80e4
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200525-e38fbcf
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
413 | 6210e825a70b85ab48c07d699231cd995204b445 | Upgrade the container to F23 | Upgrade the container to F23
- use dnf
- add missing package
| FROM fedora:22
MAINTAINER jberkus@redhat.com
WORKDIR /tmp
RUN yum install -y tar libcurl-devel zlib-devel patch rubygem-bundler ruby-devel git make gcc gcc-c++ && yum clean all
ADD config.rb /tmp/config.rb
#ADD data /tmp/data
ADD Gemfile /tmp/Gemfile
ADD Gemfile.lock /tmp/Gemfile.lock
ADD lib /tmp/lib
#ADD source /tmp/source
RUN bundle install
EXPOSE 4567
ENTRYPOINT [ "bundle", "exec" ]
CMD [ "middleman", "server" ]
| FROM fedora:23
MAINTAINER jberkus@redhat.com
WORKDIR /tmp
RUN dnf install -y tar libcurl-devel zlib-devel patch rubygem-bundler ruby-devel git make gcc gcc-c++ redhat-rpm-config && dnf clean all
ADD config.rb /tmp/config.rb
#ADD data /tmp/data
ADD Gemfile /tmp/Gemfile
ADD Gemfile.lock /tmp/Gemfile.lock
ADD lib /tmp/lib
#ADD source /tmp/source
RUN bundle install
EXPOSE 4567
ENTRYPOINT [ "bundle", "exec" ]
CMD [ "middleman", "server" ]
| null |
2302 | bd803405dc09ef77e2a6ddd571c7d4ccaa8909ef | dockerhub debugging | dockerhub debugging
| # Docker file inspired by
## https://github.com/docker-library/buildpack-deps/blob/a0a59c61102e8b079d568db69368fb89421f75f2/sid/curl/Dockerfile
## https://github.com/jenkinsci/docker
## https://github.com/docker-library/java/blob/b4a3c296023e590e410f645ab83d3c11a30cf535/openjdk-8-jdk/Dockerfile
## https://github.com/zulu-openjdk/zulu-openjdk/blob/master/debian/8u45-8.7.0.5/Dockerfile
## https://github.com/zulu-openjdk/zulu-openjdk/blob/master/debian/8u66-8.11.0.1/Dockerfile
FROM debian:sid
MAINTAINER erik-dev@fjas.no
RUN echo "export TERM=xtermc" >> ~/.bashrc
# use norwegian debian mirror to speed up downloads
#RUN echo "deb http://ftp.no.debian.org/debian/ sid main" > /etc/apt/sources.list
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates curl wget zip unzip bzip2 vim less procps \
&& rm -rf /var/lib/apt/lists/*
RUN echo "alias ll='ls -l --color=auto'" >> /etc/bash.bashrc
RUN echo "alias la='ls -la --color=auto'" >> /etc/bash.bashrc
ENV LANG C.UTF-8
### Install JDK
# see https://bugs.debian.org/775775
# and https://github.com/docker-library/java/issues/19#issuecomment-70546872
ENV CA_CERTIFICATES_JAVA_VERSION 20140324
# Pull Zulu OpenJDK binaries from official repository:
# Jenkins Docker image has a reference to /usr/lib/jvm/zulu-8-amd64/ in config.xml. Review if changing to different jdk.
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9
RUN echo "deb http://repos.azulsystems.com/debian stable main" >> /etc/apt/sources.list.d/zulu.list
# RUN apt-get -qq update && apt-get -y install zulu-8=8.11.0.1 ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/*
RUN apt-get -qq update
RUN apt-get -y install zulu-8=8.13.0.5
#ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION"
RUN rm -rf /var/lib/apt/lists/*
# see CA_CERTIFICATES_JAVA_VERSION notes above
RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure
| null | null |
2206 | ddde3d570a242f9dacce38df1c2a456bd9b871d5 | Fix build -- take 2 | Fix build -- take 2
| FROM delitescere/jdk:8
MAINTAINER Chris Phillipson <fastnsilver@gmail.com>
ENV MAVEN_VERSION="3.3.9" \
M2_HOME=/usr/lib/mvn
RUN apk add --update wget && \
cd /tmp && \
wget "http://ftp.unicamp.br/pub/apache/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz" && \
tar -zxvf "apache-maven-$MAVEN_VERSION-bin.tar.gz" && \
mv "apache-maven-$MAVEN_VERSION" "$M2_HOME" && \
ln -s "$M2_HOME/bin/mvn" /usr/bin/mvn && \
apk del wget && \
rm /tmp/* /var/cache/apk/* | null | null |
88 | a59687b3c276eb7972fc3a71539770760894da10 | x264: update to snapshot-20160114-2245-stable | x264: update to snapshot-20160114-2245-stable
| FROM sameersbn/ubuntu:14.04.20160115
MAINTAINER sameer@damagehead.com
ENV FFMPEG_VERSION=2.8.3 \
X264_VERSION=snapshot-20151212-2245-stable
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y bzip2 libgnutlsxx27 libogg0 libjpeg8 libpng12-0 \
libvpx1 libtheora0 libxvidcore4 libmpeg2-4 \
libvorbis0a libfaad2 libmp3lame0 libmpg123-0 libmad0 libopus0 libvo-aacenc0 \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /var/cache/ffmpeg/install.sh
RUN bash /var/cache/ffmpeg/install.sh
ENTRYPOINT ["/usr/bin/ffmpeg"]
CMD ["--help"]
| FROM sameersbn/ubuntu:14.04.20160115
MAINTAINER sameer@damagehead.com
ENV FFMPEG_VERSION=2.8.3 \
X264_VERSION=snapshot-20160114-2245-stable
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y bzip2 libgnutlsxx27 libogg0 libjpeg8 libpng12-0 \
libvpx1 libtheora0 libxvidcore4 libmpeg2-4 \
libvorbis0a libfaad2 libmp3lame0 libmpg123-0 libmad0 libopus0 libvo-aacenc0 \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /var/cache/ffmpeg/install.sh
RUN bash /var/cache/ffmpeg/install.sh
ENTRYPOINT ["/usr/bin/ffmpeg"]
CMD ["--help"]
| null |
375 | 82def769619cac9870bb28f7b6d41449f9f7c4b6 | Bumped source to 20210129-d252f6a | Bumped source to 20210129-d252f6a
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20210129-1bd3a7a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20210129-d252f6a
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null |
2205 | 81874bb6dfc045623caac4fef871395a2634e26e | add more deps | add more deps
Signed-off-by: Jess Frazelle <e0d1a862d8f31af605ecef8c92857b8938ba622e@microsoft.com>
| FROM debian:buster
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
ENV DEBIAN_FRONTEND noninteractive
RUN dpkg --add-architecture i386 \
&& apt-get update && apt-get install -y \
automake \
bc \
binutils-dev \
bison \
bsdtar \
build-essential \
bzip2 \
ca-certificates \
cpio \
fakeroot \
flex \
gawk \
gcc \
git \
gzip \
hdparm \
iperf \
kmod \
libaudit-dev \
libc6-dev \
libc6-dev:i386 \
libdw-dev \
libiberty-dev \
libklibc-dev \
liblzma-dev \
libnuma-dev \
libtool \
libunwind-dev \
linux-libc-dev \
linux-libc-dev:i386 \
linux-perf \
make \
nfs-common \
openssl \
patch \
perl \
procps \
psmisc \
rsync \
rt-tests \
ruby \
ruby-dev \
sysstat \
time \
wget \
zlib1g-dev \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& ln -snf /usr/bin/perf_4.9 /usr/bin/perf
ENV KERNEL_VERSION v4.13
ENV LKP_GIT_WORK_TREE /usr/src/linux
RUN git clone -b "${KERNEL_VERSION}" https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git "${LKP_GIT_WORK_TREE}"
ENV LKP_SRC /usr/src/lkp-tests
RUNgit clone https://github.com/fengguang/lkp-tests.git "${LKP_SRC}"
WORKDIR /usr/src/lkp-tests
RUN make install \
&& lkp install
# Create the lkp user and group
RUN groupadd --gid 1090 lkp
RUN useradd --uid 1090 --gid 1090 lkp
COPY runbench /usr/local/bin/runbench
CMD [ "lkp" ]
| null | null |
311 | 562c8c3d9a1dc8ddf4107a465771a6daf0451b7a | resolved merge conflict | resolved merge conflict
| FROM kaggle/python3:latest
# Scikit-Learn nightly build
RUN cd /usr/local/src && git clone https://github.com/scikit-learn/scikit-learn.git && \
cd scikit-learn && python setup.py build && python setup.py install && \
# HDF5 support
conda install h5py && \
# https://github.com/biopython/biopython
pip install biopython && \
# clean up
rm -rf /usr/local/src/* && \
conda clean -i -l -t -y && \
rm -rf /root/.cache/pip/*
###########
#
# NEW CONTRIBUTORS:
# Please add new pip/apt installs in this block. Don't forget a "&& \" at the end
# of all non-final lines. Thanks!
#
###########
RUN pip install --upgrade mpld3 && \
pip install mplleaflet && \
pip install gpxpy && \
pip install arrow && \
pip install sexmachine && \
pip install Geohash && \
pip install deap && \
pip install tpot && \
pip install haversine && \
pip install toolz cytoolz && \
pip install sacred && \
pip install plotly && \
pip install git+https://github.com/nicta/dora.git && \
pip install git+https://github.com/hyperopt/hyperopt.git && \
# tflean. Deep learning library featuring a higher-level API for TensorFlow. http://tflearn.org
pip install git+https://github.com/tflearn/tflearn.git && \
pip install fitter && \
pip install langid && \
# Delorean. Useful for dealing with datetime
pip install delorean && \
pip install trueskill && \
pip install heamy && \
pip install vida && \
# clean up pip cache
rm -rf /root/.cache/pip/*
| FROM kaggle/python3:latest
# Scikit-Learn nightly build
RUN cd /usr/local/src && git clone https://github.com/scikit-learn/scikit-learn.git && \
cd scikit-learn && python setup.py build && python setup.py install && \
# HDF5 support
conda install h5py && \
# https://github.com/biopython/biopython
pip install biopython && \
# clean up
rm -rf /usr/local/src/* && \
conda clean -i -l -t -y && \
rm -rf /root/.cache/pip/*
###########
#
# NEW CONTRIBUTORS:
# Please add new pip/apt installs in this block. Don't forget a "&& \" at the end
# of all non-final lines. Thanks!
#
###########
RUN pip install --upgrade mpld3 && \
pip install mplleaflet && \
pip install gpxpy && \
pip install arrow && \
pip install sexmachine && \
pip install Geohash && \
pip install deap && \
pip install tpot && \
pip install haversine && \
pip install toolz cytoolz && \
pip install sacred && \
pip install plotly && \
pip install git+https://github.com/nicta/dora.git && \
pip install git+https://github.com/hyperopt/hyperopt.git && \
# tflean. Deep learning library featuring a higher-level API for TensorFlow. http://tflearn.org
pip install git+https://github.com/tflearn/tflearn.git && \
pip install fitter && \
pip install langid && \
# Delorean. Useful for dealing with datetime
pip install delorean && \
pip install trueskill && \
pip install heamy && \
pip install vida && \
# Useful data exploration libraries (for missing data and generating reports)
pip install missingno && \
pip install pandas-profiling && \
pip install s2sphere && \
# clean up pip cache
rm -rf /root/.cache/pip/*
| null |
45 | f6dab76616eb035ed522e1157c38c1187c0917a9 | tasks: Add python styling packages to test cockpit-project/bots | tasks: Add python styling packages to test cockpit-project/bots
Closes #293 | FROM fedora:30
LABEL maintainer='cockpit-devel@lists.fedorahosted.org'
RUN dnf -y update && \
dnf -y install \
'dnf-command(builddep)' \
american-fuzzy-lop \
chromium-headless \
curl \
expect \
gcc \
gcc-c++ \
git \
gnupg \
jq \
libappstream-glib \
libvirt-daemon-kvm \
libvirt-client \
libvirt-python3 \
make \
nc \
net-tools \
npm \
openssl \
origin-clients \
psmisc \
procps-ng \
python \
python3 \
python3-pika \
rpm-build \
rpmdevtools \
sed \
tar \
virt-install \
wget \
zanata-client && \
curl -s -o /tmp/cockpit.spec https://raw.githubusercontent.com/cockpit-project/cockpit/master/tools/cockpit.spec && \
sed -i 's/%{npm-version:.*}/0/' /tmp/cockpit.spec && \
dnf -y builddep /tmp/cockpit.spec && \
dnf clean all
COPY cockpit-tasks install-service webhook github_handler.py /usr/local/bin/
RUN groupadd -g 1111 -r user && useradd -r -g user -u 1111 user && \
mkdir -p /home/user/.ssh && mkdir -p /usr/local/bin && \
mkdir -p /build /secrets /cache/images /cache/github /build/libvirt/qemu && \
printf '[user]\n\t\nemail = cockpituous@cockpit-project.org\n\tname = Cockpituous\n' >/home/user/.gitconfig && \
ln -s /cache/images /build/images && \
ln -s /cache/images /build/virt-builder && \
ln -s /cache/github /build/github && \
ln -s /tmp /build/tmp && \
mkdir -p /home/user/.config /home/user/.ssh /home/user/.rhel && \
ln -snf /secrets/ssh-config /home/user/.ssh/config && \
ln -snf /secrets/image-stores /home/user/.config/image-stores && \
ln -snf /secrets/codecov-token /home/user/.config/codecov-token && \
ln -snf /secrets/rhel-login /home/user/.rhel/login && \
ln -snf /secrets/rhel-password /home/user/.rhel/pass && \
ln -snf /secrets/zanata.ini /home/user/.config/zanata.ini && \
ln -snf /secrets/lorax-test-env.sh /home/user/.config/lorax-test-env && \
ln -snf /run/secrets/webhook/.config--github-token /home/user/.config/github-token && \
chmod g=u /etc/passwd && \
chmod -R ugo+w /build /secrets /cache /home/user
# Prevent us from screwing around with KVM settings in the container
RUN touch /etc/modprobe.d/kvm-amd.conf && touch /etc/modprobe.d/kvm-intel.conf
ENV LANG=C.UTF-8 \
LIBGUESTFS_BACKEND=direct \
XDG_CACHE_HOME=/build \
HOME=/home/user \
TMPDIR=/tmp \
TEMPDIR=/tmp \
TEST_DATA=/build \
TEST_PUBLISH=
VOLUME /cache
USER user
WORKDIR /build
CMD ["/usr/local/bin/cockpit-tasks", "--publish", "$TEST_PUBLISH", "--verbose"]
# We execute the script in the host, but it doesn't exist on the host. So pipe it in
LABEL INSTALL /usr/bin/docker run -ti --rm --privileged --volume=/:/host:rw --user=root IMAGE /bin/bash -c \"/usr/sbin/chroot /host /bin/sh -s < /usr/local/bin/install-service\"
# Run a simple interactive instance of the tests container
LABEL RUN /usr/bin/docker run -ti --rm --privileged --uts=host --volume=/var/lib/cockpit-secrets/tasks:/secrets:ro --volume=/var/cache/cockpit-tests:/cache:rw IMAGE /bin/bash -i
| FROM fedora:30
LABEL maintainer='cockpit-devel@lists.fedorahosted.org'
RUN dnf -y update && \
dnf -y install \
'dnf-command(builddep)' \
american-fuzzy-lop \
chromium-headless \
curl \
expect \
gcc \
gcc-c++ \
git \
gnupg \
jq \
libappstream-glib \
libvirt-daemon-kvm \
libvirt-client \
libvirt-python3 \
make \
nc \
net-tools \
npm \
openssl \
origin-clients \
psmisc \
procps-ng \
python3-pyflakes \
python \
python3 \
python3-pycodestyle \
python3-pika \
rpm-build \
rpmdevtools \
sed \
tar \
virt-install \
wget \
zanata-client && \
curl -s -o /tmp/cockpit.spec https://raw.githubusercontent.com/cockpit-project/cockpit/master/tools/cockpit.spec && \
sed -i 's/%{npm-version:.*}/0/' /tmp/cockpit.spec && \
dnf -y builddep /tmp/cockpit.spec && \
dnf clean all
COPY cockpit-tasks install-service webhook github_handler.py /usr/local/bin/
RUN groupadd -g 1111 -r user && useradd -r -g user -u 1111 user && \
mkdir -p /home/user/.ssh && mkdir -p /usr/local/bin && \
mkdir -p /build /secrets /cache/images /cache/github /build/libvirt/qemu && \
printf '[user]\n\t\nemail = cockpituous@cockpit-project.org\n\tname = Cockpituous\n' >/home/user/.gitconfig && \
ln -s /cache/images /build/images && \
ln -s /cache/images /build/virt-builder && \
ln -s /cache/github /build/github && \
ln -s /tmp /build/tmp && \
mkdir -p /home/user/.config /home/user/.ssh /home/user/.rhel && \
ln -snf /secrets/ssh-config /home/user/.ssh/config && \
ln -snf /secrets/image-stores /home/user/.config/image-stores && \
ln -snf /secrets/codecov-token /home/user/.config/codecov-token && \
ln -snf /secrets/rhel-login /home/user/.rhel/login && \
ln -snf /secrets/rhel-password /home/user/.rhel/pass && \
ln -snf /secrets/zanata.ini /home/user/.config/zanata.ini && \
ln -snf /secrets/lorax-test-env.sh /home/user/.config/lorax-test-env && \
ln -snf /run/secrets/webhook/.config--github-token /home/user/.config/github-token && \
chmod g=u /etc/passwd && \
chmod -R ugo+w /build /secrets /cache /home/user
# Prevent us from screwing around with KVM settings in the container
RUN touch /etc/modprobe.d/kvm-amd.conf && touch /etc/modprobe.d/kvm-intel.conf
ENV LANG=C.UTF-8 \
LIBGUESTFS_BACKEND=direct \
XDG_CACHE_HOME=/build \
HOME=/home/user \
TMPDIR=/tmp \
TEMPDIR=/tmp \
TEST_DATA=/build \
TEST_PUBLISH=
VOLUME /cache
USER user
WORKDIR /build
CMD ["/usr/local/bin/cockpit-tasks", "--publish", "$TEST_PUBLISH", "--verbose"]
# We execute the script in the host, but it doesn't exist on the host. So pipe it in
LABEL INSTALL /usr/bin/docker run -ti --rm --privileged --volume=/:/host:rw --user=root IMAGE /bin/bash -c \"/usr/sbin/chroot /host /bin/sh -s < /usr/local/bin/install-service\"
# Run a simple interactive instance of the tests container
LABEL RUN /usr/bin/docker run -ti --rm --privileged --uts=host --volume=/var/lib/cockpit-secrets/tasks:/secrets:ro --volume=/var/cache/cockpit-tests:/cache:rw IMAGE /bin/bash -i
| null |
217 | 19ec9dd49b5c06b2fe82ace3a03fe4ab5a7e8860 | version 1.64 | version 1.64
| FROM jarischaefer/baseimage-librenms:2.9
ENVLIBRENMS_VERSION=1.63 \
LIBRENMS_WEATHERMAP_VERSION=2b9e0f2e7df80b1e5eb75a1470bc657325cbb381 \
TZ=UTC \
RRDCACHED_LISTEN=unix:/var/run/rrdcached/rrdcached.sock \
RRDCACHED_CONNECT=unix:/var/run/rrdcached/rrdcached.sock \
SNMP_SCAN_CRON="0 0 * * *" \
WEATHERMAP_CRON="*/5 * * * *" \
POLLERS=8 \
POLLERS_CRON="*/5 * * * *"
EXPOSE 80 443
RUNgit clone --branch ${LIBRENMS_VERSION} https://github.com/librenms/librenms.git /opt/librenms && \
composer global require hirak/prestissimo && \
composer --no-interaction install --working-dir=/opt/librenms --no-dev --prefer-dist && \
composer global remove hirak/prestissimo && \
composer clear-cache && \
curl -qsSL https://github.com/librenms-plugins/Weathermap/archive/${LIBRENMS_WEATHERMAP_VERSION}.tar.gz | tar -xz -C /opt/librenms/html/plugins && \
mv /opt/librenms/html/plugins/Weathermap-${LIBRENMS_WEATHERMAP_VERSION} /opt/librenms/html/plugins/Weathermap && \
cp /opt/librenms/.env.example /opt/librenms/.env && \
chown -R librenms:librenms /opt/librenms && \
find /opt/librenms -name '.gitignore' -type f -exec chmod -x "{}" + && \
mkdir -p /opt/helpers/default_files/logs /opt/helpers/default_files/rrd && \
cp /opt/librenms/logs/.gitignore /opt/helpers/default_files/logs && \
cp /opt/librenms/rrd/.gitignore /opt/helpers/default_files/rrd
ADD files /
RUNchmod -R +x /etc/my_init.d /etc/service /usr/local/bin && \
find /opt/librenms \( ! -user librenms -o ! -group librenms \) -exec chown librenms:librenms {} \; && \
chmod 644 /etc/cron.d/* /etc/librenms/cron/*
VOLUME ["/opt/librenms/logs", "/opt/librenms/rrd", "/opt/librenms/storage"]
VOLUME ["/opt/librenms/html/plugins/Weathermap/configs", "/opt/librenms/html/plugins/Weathermap/output"]
VOLUME ["/etc/nginx/ssl", "/var/log/nginx"]
| FROM jarischaefer/baseimage-librenms:2.9
ENVLIBRENMS_VERSION=1.64 \
LIBRENMS_WEATHERMAP_VERSION=2b9e0f2e7df80b1e5eb75a1470bc657325cbb381 \
TZ=UTC \
RRDCACHED_LISTEN=unix:/var/run/rrdcached/rrdcached.sock \
RRDCACHED_CONNECT=unix:/var/run/rrdcached/rrdcached.sock \
SNMP_SCAN_CRON="0 0 * * *" \
WEATHERMAP_CRON="*/5 * * * *" \
POLLERS=8 \
POLLERS_CRON="*/5 * * * *"
EXPOSE 80 443
RUNgit clone --branch ${LIBRENMS_VERSION} https://github.com/librenms/librenms.git /opt/librenms && \
composer global require hirak/prestissimo && \
composer --no-interaction install --working-dir=/opt/librenms --no-dev --prefer-dist && \
composer global remove hirak/prestissimo && \
composer clear-cache && \
curl -qsSL https://github.com/librenms-plugins/Weathermap/archive/${LIBRENMS_WEATHERMAP_VERSION}.tar.gz | tar -xz -C /opt/librenms/html/plugins && \
mv /opt/librenms/html/plugins/Weathermap-${LIBRENMS_WEATHERMAP_VERSION} /opt/librenms/html/plugins/Weathermap && \
cp /opt/librenms/.env.example /opt/librenms/.env && \
chown -R librenms:librenms /opt/librenms && \
find /opt/librenms -name '.gitignore' -type f -exec chmod -x "{}" + && \
mkdir -p /opt/helpers/default_files/logs /opt/helpers/default_files/rrd && \
cp /opt/librenms/logs/.gitignore /opt/helpers/default_files/logs && \
cp /opt/librenms/rrd/.gitignore /opt/helpers/default_files/rrd
ADD files /
RUNchmod -R +x /etc/my_init.d /etc/service /usr/local/bin && \
find /opt/librenms \( ! -user librenms -o ! -group librenms \) -exec chown librenms:librenms {} \; && \
chmod 644 /etc/cron.d/* /etc/librenms/cron/*
VOLUME ["/opt/librenms/logs", "/opt/librenms/rrd", "/opt/librenms/storage"]
VOLUME ["/opt/librenms/html/plugins/Weathermap/configs", "/opt/librenms/html/plugins/Weathermap/output"]
VOLUME ["/etc/nginx/ssl", "/var/log/nginx"]
| null |
2250 | c529594e6c3f5e7a8e75cc1552eeba17e81b4513 | :arrow_up: Bump golang from 1.18.5 to 1.19.0 | :arrow_up: Bump golang from 1.18.5 to 1.19.0
Bumps golang from 1.18.5 to 1.19.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com> | FROM alpine:3.16.1 as alpinejq
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
RUN apk add --no-cache jq
FROM alpinejq as startupTest
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
ENV USER_HOME /home/jetbrains
ADD entrypoint.sh entrypoint_test.sh ${USER_HOME}/
ADD mock.sh ${USER_HOME}/license-server/bin/license-server.sh
ADD mock.sh ${USER_HOME}/register.sh
RUN chmod +x ${USER_HOME}/license-server/bin/license-server.sh \
&& chmod +x ${USER_HOME}/register.sh \
&& ${USER_HOME}/entrypoint_test.sh
FROM alpine:3.16.1 as registerTest
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
ENV USER_HOME /home/jetbrains
ADD register.sh register_test.sh ${USER_HOME}/
ADD mock.sh ${USER_HOME}/register
RUN chmod +x ${USER_HOME}/register \
&& ${USER_HOME}/register_test.sh
FROM golang:1.18.5 as build
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
WORKDIR /cf-jetbrains-license-server
ADD register.go register_test.go go.mod go.sum ./
ADD testdata/* ./testdata/
ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0
RUN go test -v \
&& go build register.go \
&& chmod +x register
FROM openjdk:19-alpine3.15 as runtime
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
ENV USER_HOME /home/jetbrains
COPY --from=build /cf-jetbrains-license-server/register ${USER_HOME}/
ENV PATH=$PATH:/opt/jdk/bin
ADD entrypoint.sh register.sh ${USER_HOME}/
RUN apk update && apk upgrade && \
apk add --no-cache \
ca-certificates \
wget \
openssl \
jq \
&& adduser -S -D jetbrains \
&& wget -q https://download.jetbrains.com/lcsrv/license-server-installer.zip \
&& mkdir -p ${USER_HOME}/license-server \
&& unzip -q license-server-installer.zip -d ${USER_HOME}/license-server \
&& chown -R jetbrains ${USER_HOME}/license-server \
&& rm -f license-server-installer.zip
USER jetbrains
EXPOSE 8111
WORKDIR $USER_HOME
ENTRYPOINT ["/bin/sh", "/home/jetbrains/entrypoint.sh"]
FROM runtime as integrationTest
ARG JETBRAINS_USERNAME
ARG JETBRAINS_PASSWORD
ENV VCAP_APPLICATION '{"application_uris":["localhost"]}'
ENV SERVER_NAME 'License Server'
ADD integration_test.sh /
RUN /integration_test.sh
FROM runtime
| null | null |
243 | f23460ee71380d44911228c038cd1bcef8b14d7f | Updates the Docker image with latest dependencies | Updates the Docker image with latest dependencies
| ################################################################################
# Dockerfile to setup a CentOS / Fedora type docker image, suitable
# for building ATS, perhaps as part of a Jenkins CI. Note that some
# of the features in here are specific to the official ATS Jenkins
# setup, see comment below.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
# These can (should?) be overridden from the command line with ----build-arg, e.g.
# docker build --build-arg OS_VERSION=7 --build-arg OS_TYPE=centos
#
ARG OS_VERSION=28
ARG OS_TYPE=fedora
# This does currently not work, e.g. this I'd expect to make it conditional:
#
# RUN if [ "${ADD_JENKINS}" = "yes" ]; then yum ...
#
ARG ADD_JENKINS=no
# Alright, lets pull in the base image from docker.io
FROM ${OS_TYPE}:${OS_VERSION}
################################################################################
# All the DNF / YUM packages necessary for building ATS. you do not need all
# these if you only intend to run ATS, see the .spec file for the required
#runtime packages.
# This runs all the yum installation, starting with a system level update
RUN yum -y update; \
# Compilers
yum -y install ccache make pkgconfig bison flex gcc-c++ clang \
# Autoconf
autoconf automake libtool \
# Various other tools
git rpm-build distcc-server file wget openssl hwloc; \
# Devel packages that ATS needs
yum -y install openssl-devel expat-devel pcre-devel libcap-devel hwloc-devel libunwind-devel \
xz-devel libcurl-devel ncurses-devel jemalloc-devel GeoIP-devel kyotocabinet-devel luajit-devel \
brotli-devel ImageMagick-devel ImageMagick-c++-devel \
perl-ExtUtils-MakeMaker perl-Digest-SHA perl-URI; \
# This is for autest stuff
yum -y install python3 python3-virtualenv python-virtualenv httpd-tools procps-ng nmap-ncat; \
# Optional: This is for the OpenSSH server, and Jenkins account + access (comment out if not needed)
yum -y install java openssh-server && ssh-keygen -A; rm -f /run/nologin; \
groupadd -g 665 jenkins && \
useradd -g jenkins -u 989 -s /bin/bash -M -d /home/jenkins -c "Jenkins Continuous Build server" jenkins && \
mkdir -p /var/jenkins && chown jenkins.jenkins /var/jenkins
# Check if devtoolset-7 is required
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
yum -y install centos-release-scl; \
yum -y install devtoolset-7 devtoolset-7-libasan-devel; \
fi
| ################################################################################
# Dockerfile to setup a CentOS / Fedora type docker image, suitable
# for building ATS, perhaps as part of a Jenkins CI. Note that some
# of the features in here are specific to the official ATS Jenkins
# setup, see comment below.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
# These can (should?) be overridden from the command line with ----build-arg, e.g.
# docker build --build-arg OS_VERSION=7 --build-arg OS_TYPE=centos
#
ARG OS_VERSION=30
ARG OS_TYPE=fedora
# This does currently not work, e.g. this I'd expect to make it conditional:
#
# RUN if [ "${ADD_JENKINS}" = "yes" ]; then yum ...
#
ARG ADD_JENKINS=no
# Alright, lets pull in the base image from docker.io
FROM ${OS_TYPE}:${OS_VERSION}
################################################################################
# All the DNF / YUM packages necessary for building ATS. you do not need all
# these if you only intend to run ATS, see the .spec file for the required
#runtime packages.
# This runs all the yum installation, starting with a system level update
RUN yum -y update; \
# Compilers
yum -y install ccache make pkgconfig bison flex gcc-c++ clang \
# Autoconf
autoconf automake libtool \
# Various other tools
git rpm-build distcc-server file wget openssl hwloc; \
# Devel packages that ATS needs
yum -y install openssl-devel expat-devel pcre-devel libcap-devel hwloc-devel libunwind-devel \
xz-devel libcurl-devel ncurses-devel jemalloc-devel GeoIP-devel luajit-devel brotli-devel \
ImageMagick-devel ImageMagick-c++-devel hiredis-devel \
perl-ExtUtils-MakeMaker perl-Digest-SHA perl-URI; \
# This is for autest stuff
yum -y install python3 python3-virtualenv python-virtualenv httpd-tools procps-ng nmap-ncat; \
# Optional: This is for the OpenSSH server, and Jenkins account + access (comment out if not needed)
yum -y install java openssh-server && ssh-keygen -A; rm -f /run/nologin; \
groupadd -g 665 jenkins && \
useradd -g jenkins -u 989 -s /bin/bash -M -d /home/jenkins -c "Jenkins Continuous Build server" jenkins && \
mkdir -p /var/jenkins && chown jenkins.jenkins /var/jenkins
# Check if devtoolset-7 is required
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
yum -y install centos-release-scl; \
yum -y install devtoolset-7 devtoolset-7-libasan-devel; \
fi
| null |
136 | 5a21ec18aa6168444b49d0fb2f686a36c7e5a66e | Bumped source to 20200826-77c1c6d | Bumped source to 20200826-77c1c6d
| FROM docker.pkg.github.com/dock0/arch/arch:20200826-6a7a1a2
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20200826-77c1c6d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
28 | 8f2a4a9f93a5d936dc0228b8a4030d0ec1f42799 | Bumped source to 20200522-1035b1c | Bumped source to 20200522-1035b1c
| FROM docker.pkg.github.com/dock0/service/service:20200522-cd8e717
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| FROM docker.pkg.github.com/dock0/service/service:20200522-1035b1c
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed openssh
ENV ADMIN akerl
ENV KEY_URL https://id-ed25519.pub/groups/default.txt
RUN useradd -d /var/lib/ssh -M ssh_key_sync
RUN mkdir -m=0700 /var/lib/ssh && chown ssh_key_sync /var/lib/ssh
RUN echo "$KEY_URL" > /var/lib/ssh/key_url
ADD sshd_config /etc/ssh/sshd_config
ADD run /service/sshd/run
ADD sync /var/lib/ssh/sync
RUN groupadd remote
RUN useradd -d "/home/$ADMIN" -G remote -m "$ADMIN"
RUN passwd -d "$ADMIN"
| null |
2157 | f7b49720318ba40e9a5e8c567c0dda7e918ace83 | Update base image to Python 2.7, Alpine 3.11. | Update base image to Python 2.7, Alpine 3.11.
| FROM python:3.6-alpine3.7 as build
# -----------------------------------------------------------------------------
# This stage builds the build container.
# -----------------------------------------------------------------------------
# Install compiler toolchain and libraries.
RUN apk add --no-cache build-base libffi-dev libressl-dev
# Install/upgrade pip
RUN python -m pip install --upgrade pip
# Paths
ENV IMS_SOURCE_DIR="/src/ims"
ENV IMS_INSTALL_DIR="/opt/ims"
# Copy the source code over
WORKDIR "${IMS_SOURCE_DIR}"
COPY ./COPYRIGHT.rst ./
COPY ./LICENSE.txt ./
COPY ./pyproject.toml ./
COPY ./setup.py ./
COPY ./src/ ./src/
# Install the application
WORKDIR /tmp
RUN install -o daemon -g daemon -d "${IMS_INSTALL_DIR}"
USER daemon:daemon
RUN python -m venv "${IMS_INSTALL_DIR}"
RUN "${IMS_INSTALL_DIR}/bin/pip" --no-cache-dir install "${IMS_SOURCE_DIR}"
# -----------------------------------------------------------------------------
# This stage builds the application container.
# -----------------------------------------------------------------------------
FROM python:3.6-alpine3.7 as application
# Copy build result
ENV IMS_INSTALL_DIR="/opt/ims"
COPY --from=build "${IMS_INSTALL_DIR}" "${IMS_INSTALL_DIR}"
# Allow ims_server to bind to privileged port numbers
RUN apk add --no-cache libcap
RUN setcap "cap_net_bind_service=+ep" /usr/local/bin/python3.7
# Configuration
ENV IMS_HOSTNAME="0.0.0.0"
ENV IMS_CONFIG_ROOT="${IMS_INSTALL_DIR}/conf"
ENV IMS_SERVER_ROOT="/srv/ims"
ENV IMS_DATA_STORE="MySQL"
RUN install -o daemon -g daemon -d "${IMS_SERVER_ROOT}"
WORKDIR "${IMS_SERVER_ROOT}"
USER daemon:daemon
EXPOSE 80
CMD [ "/opt/ims/bin/ims_server", "--log-file", "-" ]
| null | null |
7 | 4dc7b0964c5e2b8ccd4aa39b9a53d568de7cded7 | Build avogadro2 for format conversion | Build avogadro2 for format conversion
| FROM girder/girder:latest-py3
# Enable proxy support
COPY ./devops/docker/girder/girder.local.conf /girder/girder/conf/girder.local.cfg
COPY . /materialsdatabank
RUN pip install -e /materialsdatabank
# Install materialdatabank plugin
RUN girder-install plugin /materialsdatabank/server/materialsdatabank
| FROM girder/girder:latest-py3
# Install cmake
RUN wget https://cmake.org/files/v3.10/cmake-3.10.0-rc2-Linux-x86_64.sh && \
chmod u+x cmake-3.10.0-rc2-Linux-x86_64.sh && \
mkdir /cmake && \
./cmake-3.10.0-rc2-Linux-x86_64.sh --skip-license --prefix=/cmake
# Build pybind11
RUN git clone https://github.com/pybind/pybind11.git /pybind11/source && \
mkdir /pybind11/build && \
mkdir /pybind11/install && \
cd /pybind11/build && \
/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=/pybind11/install -DPYBIND11_TEST:BOOL=NO ../source && \
/cmake/bin/cmake --build . --target install && \
rm -rf /pybind11/build && rm -rf /pybind11/source
# Install deps for avogadro
RUN apt-get update && apt-get -y install \
libeigen3-dev \
libpython3-dev
# Build avogadrolibs
RUN git clone https://github.com/openchemistry/avogadrolibs.git /avogadrolibs/source && \
mkdir /avogadrolibs/build && \
cd /avogadrolibs/build && \
/cmake/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Release -DUSE_PYTHON:BOOL=YES -DENABLE_TESTING:BOOL=NO \
-Dpybind11_DIR:PATH=/pybind11/install/share/cmake/pybind11 -DUSE_LIBSPG:BOOL=NO \
-DUSE_QT:BOOL=NO -DUSE_OPENGL:BOOL=NO ../source && \
/cmake/bin/cmake --build . && \
mkdir -p /usr/lib/python3.4/site-packages/ && \
cp /avogadrolibs/build/lib/* /usr/local/lib/python3.4/dist-packages/ && \
rm -rf /avogadrolibs/source
# Remove cmake
RUN rm -rf /cmake
# Enable proxy support
COPY ./devops/docker/girder/girder.local.conf /girder/girder/conf/girder.local.cfg
COPY . /materialsdatabank
RUN pip install -e /materialsdatabank
# Install materialdatabank plugin
RUN girder-install plugin /materialsdatabank/server/materialsdatabank
| null |
246 | 6c42df1a31b680572a4fa732706cd27e604b8865 | fix bug | fix bug
| FROM alpine:3.4
MAINTAINER takafumiotake<tikutaka.dev@gmail.com>
COPY runit_bootstrap /usr/sbin/runit_bootstrap
RUN RUNIT_VERSION="2.1.2" \
&& RUNIT_SHA1="398f7bf995acd58797c1d4a7bcd75cc1fc83aa66" \
&& apk add --no-cache --virtual .build-deps \
curl \
tar \
make \
gcc \
musl-dev \
&& curl -fSL http://smarden.org/runit/runit-$RUNIT_VERSION.tar.gz -o runit.tar.gz \
&& echo "$RUNIT_SHA1 runit.tar.gz" | sha1sum -c \
&& mkdir -p /usr/src/runit \
&& tar -zxC /usr/src/runit -f runit.tar.gz --strip-component=2 \
&& rm -f runit.tar.gz \
&& cd /usr/src/runit/src \
&& make \
&& cat package/commands | xargs -I {} mv -f src/{} /sbin/ \
&& cd / \
&& rm -rf /usr/src/runit \
&& apk del .build-deps \
&& mkdir /service
&& chmod 755 /usr/sbin/runit_bootstrap
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
| FROM alpine:3.4
MAINTAINER takafumiotake<tikutaka.dev@gmail.com>
COPY runit_bootstrap /usr/sbin/runit_bootstrap
RUN RUNIT_VERSION="2.1.2" \
&& RUNIT_SHA1="398f7bf995acd58797c1d4a7bcd75cc1fc83aa66" \
&& apk add --no-cache --virtual .build-deps \
curl \
tar \
make \
gcc \
musl-dev \
&& curl -fSL http://smarden.org/runit/runit-$RUNIT_VERSION.tar.gz -o runit.tar.gz \
&& echo "$RUNIT_SHA1 runit.tar.gz" | sha1sum -c \
&& mkdir -p /usr/src/runit \
&& tar -zxC /usr/src/runit -f runit.tar.gz --strip-component=2 \
&& rm -f runit.tar.gz \
&& cd /usr/src/runit/src \
&& make \
&& cd .. \
&& cat package/commands | xargs -I {} mv -f src/{} /sbin/ \
&& cd / \
&& rm -rf /usr/src/runit \
&& apk del .build-deps \
&& mkdir /service
&& chmod 755 /usr/sbin/runit_bootstrap
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
| null |
409 | 0f29520d072f713e014519c4694b39e4b646e9d7 | Bumped source to 20200428-d2f18ec | Bumped source to 20200428-d2f18ec
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200428-3e18547
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200428-d2f18ec
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null |
277 | 7660b16e606f959183e74db29605cfd080e23bac | added docker file | added docker file
| FROM debian
MAINTAINER ahiknsr
#Adding kali sources
RUN apt-get install wget -y --force-yes
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/701f2896b642930ce2e8/raw/868e1e465e3f3498420db89e6eca1679537e2f57/dockerinitialsetup -O aptsetup.sh
RUN chmod +x aptsetup.sh; bash aptsetup.sh
#apt-get prompt will not prompt for yes or no and takes yes as default choice
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/21b8f32d80b423aa31bd/raw/e1e5974f6baf941a8011481fee6d516eca69d54e/aptalwaysyes -O aptalwaysyes.sh
RUN chmod +x aptalwaysyes.sh; bash aptalwaysyes.sh
#install few tools in repo which are nessacary for owtf
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/c76417641a22c40c29ce/raw/5209cfa5f13da315a2f272e6fb5a79d492a2805d/nativetools -O nativetools.sh
RUN chmod +x nativetools.sh; bash nativetools.sh
RUN rm *.sh
#install necessary python modules
RUN wget https://raw.githubusercontent.com/owtf/owtf/master/install/owtf.pip -O owtf.pip
RUN pip install -r owtf.pip
RUN pip install --upgrade six
RUN pip install simplejson
RUN pip install pyOpenSSL==0.12
RUN pip install --upgrade -r owtf.pip; rm owtf.pip
#download owtf
RUN wget https://github.com/owtf/owtf/archive/v1.0.1.tar.gz
RUN tar xvf v1.0.1.tar.gz
RUN mv owtf-1.0.1 owtf
RUN mkdir owtf/tools/restricted
RUN rm v1.0.1.tar.gz
RUN wget https://gist.githubusercontent.com/Ahiknsr/797cb9ac52a249ad0d59/raw/e51f5a2fc8019ed02e3b001c5ed9ad901987f2a3/owtfdocker -O owtf/install/install.py
RUN python owtf/install/install.py
RUN wget https://gist.githubusercontent.com/Ahiknsr/957d204e6d965db08b06/raw/a4ab25a9ab56da7536e02d9c8ffd9de8931c01ad/owtfdbinstall -O owtf/scripts/owtfinstall.sh
RUN chmod +x owtf/scripts/owtfinstall.sh
RUN bash owtf/scripts/owtfinstall.sh
RUN wget https://gist.githubusercontent.com/Ahiknsr/31ce4c694767d59ef35b/raw/61d1a0edcfc932b42e6306e23788e2b9b8ea25c2/dbmodify -O dbmodify.py
RUN python dbmodify.py
RUN wget https://gist.githubusercontent.com/Ahiknsr/e600b0e4e51865a6dfa0/raw/094d296e1cd5c0947064606b1cadffab7aa3c3f7/modifiedserver.py -O owtf/framework/interface/server.py
RUN apt-get install theharvester tlssled nikto dnsrecon nmap whatweb skipfish w3af-console dirbuster wpscan wapiti waffit hydra
RUN echo "service postgresql start" >> ~/.bashrc
RUN echo "Installation of owtf is complete :) "
| FROM debian
MAINTAINER ahiknsr
#Adding kali sources
RUN cat /etc/apt/sources.list
RUN apt-get install wget -y --force-yes
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/701f2896b642930ce2e8/raw/868e1e465e3f3498420db89e6eca1679537e2f57/dockerinitialsetup -O aptsetup.sh
RUN chmod +x aptsetup.sh; bash aptsetup.sh
#apt-get prompt will not prompt for yes or no and takes yes as default choice
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/21b8f32d80b423aa31bd/raw/e1e5974f6baf941a8011481fee6d516eca69d54e/aptalwaysyes -O aptalwaysyes.sh
RUN chmod +x aptalwaysyes.sh; bash aptalwaysyes.sh
#install few tools in repo which are nessacary for owtf
RUN wget --no-check-certificate https://gist.githubusercontent.com/Ahiknsr/c76417641a22c40c29ce/raw/5209cfa5f13da315a2f272e6fb5a79d492a2805d/nativetools -O nativetools.sh
RUN chmod +x nativetools.sh; bash nativetools.sh
RUN rm *.sh
#install necessary python modules
RUN wget https://raw.githubusercontent.com/owtf/owtf/master/install/owtf.pip -O owtf.pip
RUN pip install -r owtf.pip
RUN pip install --upgrade six
RUN pip install simplejson
RUN pip install pyOpenSSL==0.12
RUN pip install --upgrade -r owtf.pip; rm owtf.pip
#download owtf
RUN wget https://github.com/owtf/owtf/archive/v1.0.1.tar.gz
RUN tar xvf v1.0.1.tar.gz
RUN mv owtf-1.0.1 owtf
RUN mkdir owtf/tools/restricted
RUN rm v1.0.1.tar.gz
RUN wget https://gist.githubusercontent.com/Ahiknsr/797cb9ac52a249ad0d59/raw/e51f5a2fc8019ed02e3b001c5ed9ad901987f2a3/owtfdocker -O owtf/install/install.py
RUN python owtf/install/install.py
RUN wget https://gist.githubusercontent.com/Ahiknsr/957d204e6d965db08b06/raw/a4ab25a9ab56da7536e02d9c8ffd9de8931c01ad/owtfdbinstall -O owtf/scripts/owtfinstall.sh
RUN chmod +x owtf/scripts/owtfinstall.sh
RUN bash owtf/scripts/owtfinstall.sh
RUN wget https://gist.githubusercontent.com/Ahiknsr/31ce4c694767d59ef35b/raw/61d1a0edcfc932b42e6306e23788e2b9b8ea25c2/dbmodify -O dbmodify.py
RUN python dbmodify.py
RUN wget https://gist.githubusercontent.com/Ahiknsr/e600b0e4e51865a6dfa0/raw/094d296e1cd5c0947064606b1cadffab7aa3c3f7/modifiedserver.py -O owtf/framework/interface/server.py
RUN apt-get install theharvester tlssled nikto dnsrecon nmap whatweb skipfish w3af-console dirbuster wpscan wapiti waffit hydra
RUN echo "service postgresql start" >> ~/.bashrc
RUN echo "Installation of owtf is complete :) "
| null |
2214 | c6c5294a4d6451f0fa9be70d1873a696d76a23de | fix permission problem | fix permission problem
| FROM ubuntu:trusty
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y wget
RUN wget --no-check-certificate -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -
RUN echo "deb http://swupdate.openvpn.net/apt trusty main" > /etc/apt/sources.list.d/swupdate.openvpn.net.list
RUN apt-get update \
&& apt-get install -y openvpn ssmtp git-core vim iptables p7zip-full whois \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN git clone --depth 1 --branch v3.0.0 https://github.com/OpenVPN/easy-rsa.git /opt/easyrsa/ \
&& cp -R /opt/easyrsa/easyrsa3 /etc/openvpn/easy-rsa
RUN gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.conf
ADD start.sh /a/start.sh
CMD ["/a/start.sh"] | null | null |
2187 | 75fe704a4d9b9116de0351e902f7b86636eacad6 | Update npm in dockerfile | Update npm in dockerfile
| # Docker image for grasshopper-loader
# To build, run docker build --rm --tag=hmda/<image-name>:<tag-name> .
# To test, run ./docker-test.sh <image-name>:<tag-name> <cli args>
# To run, run ./docker-run <image-name>:<tag-name> <cli args>
FROM geodata/gdal:1.11.2
MAINTAINER Wyatt Pearsall <wyatt.pearsall@cfpb.gov>
USER root
RUN apt-get update && apt-get install -y curl git && \
curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash - && \
apt-get install -y nodejs &&\
mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN useradd notroot && chown -R notroot /usr/src/app && chmod u+rwx /usr/src/app
RUN npm install
USER notroot
CMD /bin/bash
| null | null |
77 | 21eea9f5b818b80c32d3f8e479a512b984660576 | Bumped source to 20211210-cf565d4 | Bumped source to 20211210-cf565d4
| FROM docker.pkg.github.com/dock0/arch/arch:20211210-2747e13
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| FROM docker.pkg.github.com/dock0/arch/arch:20211210-cf565d4
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --needed --noconfirm \
strace tcpdump openbsd-netcat socat htop \
nmap dnsutils net-tools iputils openssh \
screen tmux man-db lsof psmisc git tree \
vim-minimal inetutils
| null |
2230 | cb15ae41dff8097699c583d5fed11c36634c17b2 | Update Dockerfile (apache-tomcat-7.0.72) | Update Dockerfile (apache-tomcat-7.0.72) | FROM quay.io/lizhongwen/oracle-jdk:1.8
MAINTAINER github.com/Official-Registry/oracle-jdk, lizhongwen1989@gmail.com
ENV TOMCAT_VERSION=8.0.37
ENV TOMCAT_HOME=/opt/app/apache-tomcat-${TOMCAT_VERSION}
ENV JAVA_DEBUG=false
ENV JVM_MIN_MEM=256
ENV JVM_MAX_MEM=1024
RUN apt-get install -y unzip \
&& curl --fail --location --retry 3 \
http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.0.37/bin/apache-tomcat-8.0.37.tar.gz \
-o /tmp/tomcat.tar.gz \
&& mkdir -p /opt/app/ \
&& tar -zvxf /tmp/tomcat.tar.gz -C /opt/app/ \
&& rm -rf /tmp/tomcat.tar.gz ${TOMCAT_HOME}/webapps/*
ADD resources/entrypoint.sh ${TOMCAT_HOME}/bin/
RUN chmod +x ${TOMCAT_HOME}/bin/entrypoint.sh
EXPOSE 8080 8888
ENTRYPOINT ["/bin/sh", "-c", "${TOMCAT_HOME}/bin/entrypoint.sh"]
| null | null |
41 | d5ea4a75b67674d9571943bbf19a4f6105c54ea4 | fix(deps): update postgres docker tag to v13.4 | fix(deps): update postgres docker tag to v13.4
| FROM postgres:13.3
ENV POSTGRES_DB=hub
ENV POSTGRES_USER=stencila
| FROM postgres:13.4
ENV POSTGRES_DB=hub
ENV POSTGRES_USER=stencila
| null |
328 | 55283a685be3b1ac8caa13f5dba12ad55e5f3f9d | Upgrade dockerfile to 0.0.43 | Upgrade dockerfile to 0.0.43
| FROM flowdocker/play:0.0.37
ADD . /opt/play
WORKDIR /opt/play
RUN sbt clean stage
ENTRYPOINT ["java", "-jar", "/root/environment-provider.jar", "run", "play", "APP", "api/target/universal/stage/bin/APP-api"]
| FROM flowdocker/play:0.0.43
ADD . /opt/play
WORKDIR /opt/play
RUN sbt clean stage
ENTRYPOINT ["java", "-jar", "/root/environment-provider.jar", "run", "play", "APP", "api/target/universal/stage/bin/APP-api"]
| null |
102 | a2ea1af4c0d1ea87529f0f2c8c1aeb90437e8be8 | Update NPM for OS-Viewer | Update NPM for OS-Viewer
| FROM gliderlabs/alpine:latest
RUN apk add --update python
RUN apk add --update --virtual=build-dependencies ca-certificates build-base
RUN apk add git
RUN apk add nodejs
RUN git clone http://github.com/openspending/os-viewer.git app
RUN cd app && npm install
RUN cd app && node node_modules/gulp/bin/gulp.js
RUN apk del build-dependencies
RUN rm -rf /var/cache/apk/*
ENV OS_VIEWER_BASE_PATH=viewer/
ADD settings.json /app/settings.json
ADD startup.sh /startup.sh
EXPOSE 8000
CMD echo working from $WORKDIR && cd $WORKDIR && API_URL="${OS_EXTERNAL_ADDRESS}" /startup.sh
| FROM gliderlabs/alpine:3.3
RUN apk add --update python
RUN apk add --update --virtual=build-dependencies ca-certificates build-base
RUN apk add git
RUN apk add nodejs
RUN git clone http://github.com/openspending/os-viewer.git app
RUN npm install npm -g
RUN npm --version
RUN cd app && npm install
RUN cd app && node node_modules/gulp/bin/gulp.js
RUN apk del build-dependencies
RUN rm -rf /var/cache/apk/*
ENV OS_VIEWER_BASE_PATH=viewer/
ADD settings.json /app/settings.json
ADD startup.sh /startup.sh
EXPOSE 8000
CMD echo working from $WORKDIR && cd $WORKDIR && API_URL="${OS_EXTERNAL_ADDRESS}" /startup.sh
| null |
262 | null | null | null | null | null | maintenance/other |
2103 | null | null | null | null | null | maintenance/other |
374 | null | null | null | null | null | maintenance/other |
2310 | null | null | null | null | null | code refactoring |
2170 | null | null | null | null | null | feature addition |
2176 | null | null | null | null | null | maintenance/other |
44 | null | null | null | null | null | maintenance/other |
300 | null | null | null | null | null | feature addition |
69 | null | null | null | null | null | maintenance/other |
157 | null | null | null | null | null | feature addition |
2135 | null | null | null | null | null | maintenance/other |
342 | null | null | null | null | null | feature addition |
2325 | null | null | null | null | null | maintenance/other |
2284 | null | null | null | null | null | code refactoring, maintenance/other |
336 | null | null | null | null | null | Not enough inforamtion |
187 | null | null | null | null | null | maintenance/other |
2182 | null | null | null | null | null | maintenance/other |
393 | null | null | null | null | null | maintenance/other |
237 | null | null | null | null | null | maintenance/other |
2272 | null | null | null | null | null | maintenance/other |
227 | null | null | null | null | null | feature addition |
135 | null | null | null | null | null | code refactoring |
167 | null | null | null | null | null | maintenance/other |
141 | null | null | null | null | null | code refactoring |
224 | null | null | null | null | null | bug fix |
2253 | null | null | null | null | null | code refactoring |
195 | null | null | null | null | null | feature addition |
2132 | null | null | null | null | null | maintenance/other |
2063 | null | null | null | null | null | code refactoring |
188 | null | null | null | null | null | code refactoring |
2294 | null | null | null | null | null | maintenance/other |
2231 | null | null | null | null | null | bug fix |
2085 | null | null | null | null | null | maintenance/other |
2082 | null | null | null | null | null | maintenance/other |
19 | null | null | null | null | null | maintenance/other |
2092 | null | null | null | null | null | code refactoring |
111 | null | null | null | null | null | code refactoring |
59 | null | null | null | null | null | maintenance/other |
2257 | null | null | null | null | null | code refactoring |
2307 | null | null | null | null | null | maintenance/other |
154 | null | null | null | null | null | maintenance/other |
99 | null | null | null | null | null | bug fix |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.