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 |
---|---|---|---|---|---|---|
2239 | fce5eea42a59e4adf5af00645c8f9f461dbaf9e5 | Upgrade to current application | Upgrade to current application
| FROM kurron/docker-newrelic-jvm-8-agent:latest
MAINTAINER Ron Kurr <kurr@jvmguy.com>
ADD https://bintray.com/artifact/download/kurron/maven/org/kurron/example/monitor-mysql/1.1.0.RELEASE/monitor-mysql-1.1.0.RELEASE.jar /opt/example/application.jar
EXPOSE 8300
ENTRYPOINT ["java", "-server", "-javaagent:/opt/example/newrelic/newrelic.jar", "-Xmx512m", "-Dsun.net.inetaddr.ttl=60", "-jar", "/opt/example/application.jar"]
| null | null |
10 | e51e0bb534194cf804d975d81c3a1a0762db5fc6 | specify pip and setuptool version | specify pip and setuptool version
| FROM ubuntu:18.04
LABEL maintainer="stevenmi - Steven Mi <s0558366@htw-berlin.de>"
# POSTGRES need to be injected
ARG POSTGRES_USER
ARG POSTGRES_PASS
ARG POSTGRES_IP
# Python
ARG PYTHON_VERSION=3.6
# TFX Version
ARG TENSORFLOW_VERSION=1.15.0
ARG TFX_VERSION=0.15.0
# NewsCrawler version
ARG NEWSCRAWLER_VERSION=0.1.9
# Airflow
ARG AIRFLOW_HOME=/airflow
ARG AIRFLOW_VERSION=1.10.12
ARG AIRFLOW_PORT=8080
# Set enviroment variables
ENV AIRFLOW_HOME=${AIRFLOW_HOME}
ENV LANG=C.UTF-8
ENV POSTGRES_USER=${POSTGRES_USER}
ENV POSTGRES_PASS=${POSTGRES_PASS}
ENV POSTGRES_IP=${POSTGRES_IP}
# Install python and pip
RUN apt-get update \
&& apt-get install -y \
git \
nano \
python${PYTHON_VERSION} \
python3-pip \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install python packages
RUN pip3 install --upgrade pip \
&& pip install --upgrade setuptools \
&& pip install apache-airflow==${AIRFLOW_VERSION} \
&& pip install NewsCrawler3==${NEWSCRAWLER_VERSION} \
&& pip install tensorflow==${TENSORFLOW_VERSION} \
&& pip install tensorflow-serving-api==${TENSORFLOW_VERSION} \
&& pip install tfx==${TFX_VERSION} \
&& pip install SQLAlchemy==1.3.15 \
&& pip install --upgrade six==1.13.0 \
&& pip install flask-bcrypt \
&& pip install psycopg2-binary \
&& pip install pyarrow==0.14.0
# Setup Airflow
RUN airflow initdb
# Change default settings
#RUN sed -i'.orig' 's/dag_dir_list_interval = 300/dag_dir_list_interval = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/job_heartbeat_sec = 5/job_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/scheduler_heartbeat_sec = 5/scheduler_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dag_default_view = tree/dag_default_view = graph/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/parallelism = 32/parallelism = 2/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_active_runs_per_dag = 16/max_active_runs_per_dag = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dagbag_import_timeout = 30/dagbag_import_timeout = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_threads = 2/max_threads = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/authenticate = False/authenticate = True\nauth_backend = airflow.contrib.auth.backends.password_auth/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' "s|sql_alchemy_conn = sqlite:////airflow/airflow.db|sql_alchemy_conn = postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASS}@${POSTGRES_IP}:5432/airflow|g" ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/executor = SequentialExecutor/executor = LocalExecutor/g' ${AIRFLOW_HOME}/airflow.cfg
#RUN cat /airflow/airflow.cfg | grep sql_alchemy_conn
# Start inside airflow folder
WORKDIR ${AIRFLOW_HOME}
# Copy scripts into container
COPY scripts /scripts
# Start Airflow and Scheduler
RUN chmod u+x /scripts/startup.sh
CMD /scripts/startup.sh
| FROM ubuntu:18.04
LABEL maintainer="stevenmi - Steven Mi <s0558366@htw-berlin.de>"
# POSTGRES need to be injected
ARG POSTGRES_USER
ARG POSTGRES_PASS
ARG POSTGRES_IP
# Python
ARG PYTHON_VERSION=3.6
# TFX Version
ARG TENSORFLOW_VERSION=1.15.0
ARG TFX_VERSION=0.15.0
# NewsCrawler version
ARG NEWSCRAWLER_VERSION=0.1.9
# Airflow
ARG AIRFLOW_HOME=/airflow
ARG AIRFLOW_VERSION=1.10.12
ARG AIRFLOW_PORT=8080
# Set enviroment variables
ENV AIRFLOW_HOME=${AIRFLOW_HOME}
ENV LANG=C.UTF-8
ENV POSTGRES_USER=${POSTGRES_USER}
ENV POSTGRES_PASS=${POSTGRES_PASS}
ENV POSTGRES_IP=${POSTGRES_IP}
# Install python and pip
RUN apt-get update \
&& apt-get install -y \
git \
nano \
python${PYTHON_VERSION} \
python3-pip \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install python packages
RUN pip3 install --upgrade pip==19.3.1 \
&& pip install --upgrade setuptools==50.3.2 \
&& pip install apache-airflow==${AIRFLOW_VERSION} \
&& pip install NewsCrawler3==${NEWSCRAWLER_VERSION} \
&& pip install tensorflow==${TENSORFLOW_VERSION} \
&& pip install tensorflow-serving-api==${TENSORFLOW_VERSION} \
&& pip install tfx==${TFX_VERSION} \
&& pip install SQLAlchemy==1.3.15 \
&& pip install --upgrade six==1.13.0 \
&& pip install flask-bcrypt \
&& pip install psycopg2-binary \
&& pip install pyarrow==0.14.0
# Setup Airflow
RUN airflow initdb
# Change default settings
#RUN sed -i'.orig' 's/dag_dir_list_interval = 300/dag_dir_list_interval = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/job_heartbeat_sec = 5/job_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/scheduler_heartbeat_sec = 5/scheduler_heartbeat_sec = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dag_default_view = tree/dag_default_view = graph/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/parallelism = 32/parallelism = 2/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_active_runs_per_dag = 16/max_active_runs_per_dag = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/dagbag_import_timeout = 30/dagbag_import_timeout = 600/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/load_examples = True/load_examples = False/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/max_threads = 2/max_threads = 1/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/authenticate = False/authenticate = True\nauth_backend = airflow.contrib.auth.backends.password_auth/g' ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' "s|sql_alchemy_conn = sqlite:////airflow/airflow.db|sql_alchemy_conn = postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASS}@${POSTGRES_IP}:5432/airflow|g" ${AIRFLOW_HOME}/airflow.cfg \
# && sed -i'.orig' 's/executor = SequentialExecutor/executor = LocalExecutor/g' ${AIRFLOW_HOME}/airflow.cfg
#RUN cat /airflow/airflow.cfg | grep sql_alchemy_conn
# Start inside airflow folder
WORKDIR ${AIRFLOW_HOME}
# Copy scripts into container
COPY scripts /scripts
# Start Airflow and Scheduler
RUN chmod u+x /scripts/startup.sh
CMD /scripts/startup.sh
| null |
2145 | 514e289c5c6e969d74dc91cadb80df1005a8f899 | updated Centos image | updated Centos image | FROM centos7:latest
ENV MAVEN_VERSION 3.3.3
RUN yum install -y \
tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel openssl wget curl && \
yum clean all -y && \
(curl -0 http://www.eu.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | \
tar -zx -C /usr/local) && \
mv /usr/local/apache-maven-$MAVEN_VERSION /usr/local/maven && \
ln -sf /usr/local/maven/bin/mvn /usr/local/bin/mvn && \
mkdir -p /opt/openshift && \
mkdir -p /opt/app-root/source && chmod -R a+rwX /opt/app-root/source && \
mkdir -p /opt/s2i/destination && chmod -R a+rwX /opt/s2i/destination && \
mkdir -p /opt/app-root/src && chmod -R a+rwX /opt/app-root/src
ENV PATH=/opt/maven/bin/:$PATH
ENV JAVA_HOME=/etc/alternatives/java_sdk_openjdk/
ENV BUILDER_VERSION 1.0
LABEL io.k8s.description="Platform for building Spring Boot applications, layer contains java8 maven"
LABEL io.openshift.s2i.scripts-url=image:///usr/local/sti
COPY ./.sti/bin/ /usr/local/sti
RUN chmod -R a+x /usr/local/sti/*
#COPY settings.xml /usr/local/maven/conf/
RUN chown -R 1001:1001 /opt/openshift
CMD ["usage"]
| null | null |
354 | 9d112a2bff077221af4884cffe90aa5b6dc0ee7d | Bumped source to 20220710-236e6af | Bumped source to 20220710-236e6af
| FROM ghcr.io/dock0/arch:20220710-86469a7
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:20220710-236e6af
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 |
383 | 65445f3c4962c96b8eeb1d00d5b333e6e00e47f4 | Bumped source to 20210921-fa0fd96 | Bumped source to 20210921-fa0fd96
| FROM docker.pkg.github.com/dock0/arch/arch:20210921-1f208e2
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:20210921-fa0fd96
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 |
31 | e59ba565ad61b5e9d3fd9aedb4c8efd56f92da9f | update | update
| #
# Dockerfile for jenkins
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
ENV JENKINS_HOME /var/jenkins_home
RUN set -xe \
&& apk add -U curl openjdk8 ttf-dejavu \
&& adduser -h $JENKINS_HOME -u 1000 -s /bin/sh -D jenkins \
&& mkdir -p /usr/share/jenkins \
&& curl -fL http://mirrors.jenkins-ci.org/war/latest/jenkins.war -o /usr/share/jenkins/jenkins.war \
&& rm -rf /var/cache/apk/*
VOLUME $JENKINS_HOME
WORKDIR $JENKINS_HOME
USER jenkins
EXPOSE 8080
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]
| #
# Dockerfile for jenkins
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
ENV JENKINS_HOME /var/jenkins_home
RUN set -xe \
&& apk add -U curl \
openjdk8 \
openssh-client \
ttf-dejavu \
&& adduser -h $JENKINS_HOME -u 1000 -s /bin/sh -D jenkins \
&& mkdir -p /usr/share/jenkins \
&& cd /usr/share/jenkins \
&& wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war \
&& rm -rf /var/cache/apk/*
VOLUME $JENKINS_HOME
WORKDIR $JENKINS_HOME
USER jenkins
EXPOSE 8080
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]
| null |
2142 | c2515b343597ac40e6f79d991f951bb30a7e04a8 | Bumped source to 20201225-2501b05 | Bumped source to 20201225-2501b05
| FROM docker.pkg.github.com/dock0/arch/arch:20201225-5ccf536
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 |
242 | 18d0b2ec7d5a9089d09c752f4ae8fb75115214bc | Updates Alpine to 3.8 | Updates Alpine to 3.8
| FROM python:alpine3.7
MAINTAINER Frank Sachsenheim <funkyfuture@riseup.net>
ARG VERSION
ARG SOURCE_COMMIT
ARG BUILD_DATE
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.description="Job scheduler for Docker containers, configured via labels." \
org.label-schema.name="deck-chores" \
org.label-schema.version=$VERSION \
org.label-schema.usage="/src/docs/usage.rst" \
org.label-schema.url="http://deck-chores.rtfd.io" \
org.label-schema.docker.cmd="docker run --rm -d -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.docker.cmd.debug="docker run --rm -d -e DEBUG=on -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.vcs-url="https://github.com/funkyfuture/deck-chores" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$SOURCE_COMMIT
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["deck-chores"]
COPY . /src
RUN apk upgrade --no-cache \
&& apk add --no-cache --virtual .build-deps ca-certificates \
&& apk add --no-cache tini tzdata \
&& /src/setup.py install \
&& rm -Rf /root/.cache \
&& apk del .build-deps
| FROM python:alpine3.8
MAINTAINER Frank Sachsenheim <funkyfuture@riseup.net>
ARG VERSION
ARG SOURCE_COMMIT
ARG BUILD_DATE
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.description="Job scheduler for Docker containers, configured via labels." \
org.label-schema.name="deck-chores" \
org.label-schema.version=$VERSION \
org.label-schema.usage="/src/docs/usage.rst" \
org.label-schema.url="http://deck-chores.rtfd.io" \
org.label-schema.docker.cmd="docker run --rm -d -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.docker.cmd.debug="docker run --rm -d -e DEBUG=on -v /var/run/docker.sock:/var/run/docker.sock funkyfuture/deck-chores" \
org.label-schema.vcs-url="https://github.com/funkyfuture/deck-chores" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$SOURCE_COMMIT
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["deck-chores"]
COPY . /src
RUN apk upgrade --no-cache \
&& apk add --no-cache --virtual .build-deps ca-certificates \
&& apk add --no-cache tini tzdata \
&& /src/setup.py install \
&& rm -Rf /root/.cache \
&& apk del .build-deps
| null |
281 | 6ce0caf269b70eb65566914ecb0c7eeac0a11b29 | update Dockerfile with metadata labels and additional build arguments | update Dockerfile with metadata labels and additional build arguments
Signed-off-by: Daniel Nurmi <fdebf2174dd81b443340a1b87c16a0d53605a1f3@anchore.com>
| FROM ubuntu:18.04 as wheelbuilder
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV GOPATH=/go
ENV SKOPEO_VERSION=v0.1.32
RUN set -ex && \
mkdir -p /go && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install vim curl psmisc git rpm python3 python3-pip golang btrfs-tools git-core libdevmapper-dev libgpgme11-dev go-md2man libglib2.0-dev libostree-dev libssl-dev && \
git clone --branch "$SKOPEO_VERSION" https://github.com/containers/skopeo ${GOPATH}/src/github.com/containers/skopeo && \
cd ${GOPATH}/src/github.com/containers/skopeo && \
make binary-local && \
make install
COPY ./requirements.txt /requirements.txt
# Build the wheels from the requirements
RUN pip3 wheel --wheel-dir=/wheels -r /requirements.txt
# Do the final build
FROM ubuntu:18.04
ARG CLI_COMMIT
ARG ANCHORE_COMMIT
LABEL anchore_cli_commit=$CLI_COMMIT
LABEL anchore_commit=$ANCHORE_COMMIT
ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8
#VOLUME /analysis_scratch
# Default values overrideable at runtime of the container
ENV ANCHORE_CONFIG_DIR=/config \
ANCHORE_SERVICE_DIR=/anchore_service \
ANCHORE_LOG_LEVEL=INFO \
ANCHORE_ENABLE_METRICS=false \
ANCHORE_INTERNAL_SSL_VERIFY=false \
ANCHORE_WEBHOOK_DESTINATION_URL=null \
ANCHORE_FEEDS_ENABLED=true \
ANCHORE_FEEDS_SELECTIVE_ENABLED=true \
ANCHORE_FEEDS_SSL_VERIFY=true \
ANCHORE_ENDPOINT_HOSTNAME=localhost \
ANCHORE_EVENTS_NOTIFICATIONS_ENABLED=false \
ANCHORE_FEED_SYNC_INTERVAL_SEC=21600 \
ANCHORE_EXTERNAL_PORT=null \
ANCHORE_EXTERNAL_TLS=false \
ANCHORE_AUTHZ_HANDLER=native \
ANCHORE_EXTERNAL_AUTHZ_ENDPOINT=null \
ANCHORE_ADMIN_PASSWORD=foobar \
ANCHORE_ADMIN_EMAIL=admin@myanchore \
ANCHORE_HOST_ID="anchore-quickstart" \
ANCHORE_DB_PORT=5432 \
ANCHORE_DB_NAME=postgres \
ANCHORE_DB_USER=postgres \
SET_HOSTID_TO_HOSTNAME=false \
ANCHORE_CLI_USER=admin \
ANCHORE_CLI_PASS=foobar \
ANCHORE_SERVICE_PORT=8228 \
ANCHORE_CLI_URL="http://localhost:8228" \
ANCHORE_FEEDS_URL="https://ancho.re/v1/service/feeds" \
ANCHORE_FEEDS_CLIENT_URL="https://ancho.re/v1/account/users" \
ANCHORE_FEEDS_TOKEN_URL="https://ancho.re/oauth/token"
EXPOSE ${ANCHORE_SERVICE_PORT}
RUN set -ex && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install git curl psmisc rpm python3-minimal python3-pip libgpgme11 libdevmapper1.02.1 libostree-1-1 && \
pip3 install -e git+git://github.com/anchore/anchore-cli.git@$CLI_COMMIT\#egg=anchorecli && \
apt-get -y remove git && \
apt-get clean && \
apt-get -y autoremove
# Skopeo stuff
COPY --from=wheelbuilder /usr/bin/skopeo /usr/bin/skopeo
COPY --from=wheelbuilder /etc/containers/policy.json /etc/containers/policy.json
# Anchore Stuff
COPY --from=wheelbuilder /wheels /wheels
COPY . /anchore-engine
WORKDIR /anchore-engine
RUN set -ex && \
mkdir ${ANCHORE_SERVICE_DIR} && \
mkdir /config && \
cp conf/default_config.yaml /config/config.yaml && \
md5sum /config/config.yaml > /config/build_installed && \
cp docker-compose.yaml /docker-compose.yaml && \
cp docker-compose-dev.yaml /docker-compose-dev.yaml && \
cp docker-entrypoint.sh /docker-entrypoint.sh && \
chmod +x /docker-entrypoint.sh
RUN set -ex && \
pip3 install --no-index --find-links=/wheels -r requirements.txt && \
pip3 install . && \
rm -rf /anchore-engine /root/.cache /wheels
RUN set -ex && \
groupadd --gid 1000 anchore && \
useradd --uid 1000 --gid anchore --shell /bin/bash --create-home anchore && \
mkdir -p /var/log/anchore && chown -R anchore:anchore /var/log/anchore && \
mkdir -p /var/run/anchore && chown -R anchore:anchore /var/run/anchore && \
mkdir -p /analysis_scratch && chown -R anchore:anchore /analysis_scratch && \
mkdir -p ${ANCHORE_SERVICE_DIR} && chown -R anchore:anchore /anchore_service
HEALTHCHECK --start-period=20s \
CMD curl -f http://localhost:8228/health || exit 1
USER anchore:anchore
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["anchore-manager", "service", "start", "--all"]
| FROM ubuntu:18.04 as wheelbuilder
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV GOPATH=/go
ENV SKOPEO_VERSION=v0.1.32
RUN set -ex && \
mkdir -p /go && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install vim curl psmisc git rpm python3 python3-pip golang btrfs-tools git-core libdevmapper-dev libgpgme11-dev go-md2man libglib2.0-dev libostree-dev libssl-dev && \
git clone --branch "$SKOPEO_VERSION" https://github.com/containers/skopeo ${GOPATH}/src/github.com/containers/skopeo && \
cd ${GOPATH}/src/github.com/containers/skopeo && \
make binary-local && \
make install
COPY ./requirements.txt /requirements.txt
# Build the wheels from the requirements
RUN pip3 wheel --wheel-dir=/wheels -r /requirements.txt
# Do the final build
FROM ubuntu:18.04
ARG CLI_COMMIT
ARG ANCHORE_COMMIT
ARG ANCHORE_ENGINE_VERSION="0.4.0"
ARG ANCHORE_ENGINE_RELEASE="dev"
# Container metadata section
MAINTAINER dev@anchore.com
LABEL anchore_cli_commit=$CLI_COMMIT \
anchore_commit=$ANCHORE_COMMIT \
name="anchore-engine" \
maintainer="dev@anchore.com" \
vendor="Anchore Inc." \
version=$ANCHORE_ENGINE_VERSION \
release=$ANCHORE_ENGINE_RELEASE \
summary="Anchore Engine - container image scanning service for policy-based security, best-practice and compliance enforcement." \
description="Anchore is an open platform for container security and compliance that allows developers, operations, and security teams to discover, analyze, and certify container images on-premises or in the cloud. Anchore Engine is the on-prem, OSS, API accessible service that allows ops and developers to perform detailed analysis, run queries, produce reports and define policies on container images that can be used in CI/CD pipelines to ensure that only containers that meet your organization’s requirements are deployed into production."
# Environment variables to be present in running environment
ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8
# Default values overrideable at runtime of the container
ENV ANCHORE_CONFIG_DIR=/config \
ANCHORE_SERVICE_DIR=/anchore_service \
ANCHORE_LOG_LEVEL=INFO \
ANCHORE_ENABLE_METRICS=false \
ANCHORE_INTERNAL_SSL_VERIFY=false \
ANCHORE_WEBHOOK_DESTINATION_URL=null \
ANCHORE_FEEDS_ENABLED=true \
ANCHORE_FEEDS_SELECTIVE_ENABLED=true \
ANCHORE_FEEDS_SSL_VERIFY=true \
ANCHORE_ENDPOINT_HOSTNAME=localhost \
ANCHORE_EVENTS_NOTIFICATIONS_ENABLED=false \
ANCHORE_FEED_SYNC_INTERVAL_SEC=21600 \
ANCHORE_EXTERNAL_PORT=null \
ANCHORE_EXTERNAL_TLS=false \
ANCHORE_AUTHZ_HANDLER=native \
ANCHORE_EXTERNAL_AUTHZ_ENDPOINT=null \
ANCHORE_ADMIN_PASSWORD=foobar \
ANCHORE_ADMIN_EMAIL=admin@myanchore \
ANCHORE_HOST_ID="anchore-quickstart" \
ANCHORE_DB_PORT=5432 \
ANCHORE_DB_NAME=postgres \
ANCHORE_DB_USER=postgres \
SET_HOSTID_TO_HOSTNAME=false \
ANCHORE_CLI_USER=admin \
ANCHORE_CLI_PASS=foobar \
ANCHORE_SERVICE_PORT=8228 \
ANCHORE_CLI_URL="http://localhost:8228" \
ANCHORE_FEEDS_URL="https://ancho.re/v1/service/feeds" \
ANCHORE_FEEDS_CLIENT_URL="https://ancho.re/v1/account/users" \
ANCHORE_FEEDS_TOKEN_URL="https://ancho.re/oauth/token"
# Container run environment settings
#VOLUME /analysis_scratch
EXPOSE ${ANCHORE_SERVICE_PORT}
# Build dependencies
RUN set -ex && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install git curl psmisc rpm python3-minimal python3-pip libgpgme11 libdevmapper1.02.1 libostree-1-1 && \
pip3 install -e git+git://github.com/anchore/anchore-cli.git@$CLI_COMMIT\#egg=anchorecli && \
apt-get -y remove git && \
apt-get clean && \
apt-get -y autoremove
# Copy skopeo artifacts from build step
COPY --from=wheelbuilder /usr/bin/skopeo /usr/bin/skopeo
COPY --from=wheelbuilder /etc/containers/policy.json /etc/containers/policy.json
# Copy python artifacts from build step
COPY --from=wheelbuilder /wheels /wheels
COPY . /anchore-engine
# Setup container default configs and directories
WORKDIR /anchore-engine
RUN set -ex && \
mkdir ${ANCHORE_SERVICE_DIR} && \
mkdir /config && \
mkdir /licenses && \
cp LICENSE /licenses/ && \
cp conf/default_config.yaml /config/config.yaml && \
md5sum /config/config.yaml > /config/build_installed && \
cp docker-compose.yaml /docker-compose.yaml && \
cp docker-compose-dev.yaml /docker-compose-dev.yaml && \
cp docker-entrypoint.sh /docker-entrypoint.sh && \
chmod +x /docker-entrypoint.sh
# Perform the anchore-engine build and install
RUN set -ex && \
pip3 install --no-index --find-links=/wheels -r requirements.txt && \
pip3 install . && \
rm -rf /anchore-engine /root/.cache /wheels
# Setup anchore user and permissions
RUN set -ex && \
groupadd --gid 1000 anchore && \
useradd --uid 1000 --gid anchore --shell /bin/bash --create-home anchore && \
mkdir -p /var/log/anchore && chown -R anchore:anchore /var/log/anchore && \
mkdir -p /var/run/anchore && chown -R anchore:anchore /var/run/anchore && \
mkdir -p /analysis_scratch && chown -R anchore:anchore /analysis_scratch && \
mkdir -p /workspace && chown -R anchore:anchore /workspace && \
mkdir -p ${ANCHORE_SERVICE_DIR} && chown -R anchore:anchore /anchore_service
# Container runtime instructions
HEALTHCHECK --start-period=20s \
CMD curl -f http://localhost:8228/health || exit 1
USER anchore:anchore
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["anchore-manager", "service", "start", "--all"]
| null |
296 | 4be1f3b57c9c407fe69e513821215695997859a8 | Bumped source to 20210416-840ef00 | Bumped source to 20210416-840ef00
| FROM docker.pkg.github.com/dock0/service/service:20210416-caa430b
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:20210416-840ef00
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 |
2240 | 6071142c30c72276955805a33003e92c7a13f72b | Update maven version to 3.6.1 in base dockerfile | Update maven version to 3.6.1 in base dockerfile
Signed-off-by: Pol Alvarez Vecino <fc69c70bc0ae3e9754a54708f23bac12e8d3afe1@gmail.com>
| FROM ubuntu:16.04
MAINTAINER COMPSs Support <support-compss@bsc.es>
# =============================================================================
# Configuration required to use the image for jenkins testing
# =============================================================================
# Install Essentials
RUN apt-get update && \
# Install Packages
apt-get install -y --no-install-recommends \
git \
vim \
wget \
openssh-server \
sudo && \
# Create Jenkins User
useradd jenkins -m -s /bin/bash && \
# Add the jenkins user to sudoers
echo "jenkins ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
# Enable ssh to localhost for user root & jenkins
yes yes | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N '' > /dev/null && \
cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys && \
cp -r /root/.ssh /home/jenkins && \
# Make sure jenkins owns his files
chown -R jenkins /home/jenkins/ && \
chgrp -R jenkins /home/jenkins/ && \
# Enable repo compression
git config --global core.compression 9 && \
# =============================================================================
# Dependencies for building COMPSs
# =============================================================================
# Build dependencies
apt-get install -y --no-install-recommends maven \
# Runtime dependencies
openjdk-8-jdk graphviz xdg-utils \
# Bindings-common-dependencies
libtool automake build-essential \
# C-binding dependencies
libboost-all-dev libxml2-dev csh \
# Extrae dependencies
libxml2 gfortran libpapi-dev papi-tools \
# Misc. dependencies
openmpi-bin openmpi-doc libopenmpi-dev uuid-runtime curl bc \
# Python-binding dependencies
python-setuptools python3-setuptools python-dev python3-dev libpython2.7 python-pip python3-pip && \
python2 -m pip install --upgrade pip && \
python3 -m pip install --upgrade pip && \
pip2 install wheel numpy==1.15.4 dill guppy decorator mpi4py==1.3.1 && \
pip3 install wheel numpy==1.15.4 dill decorator mpi4py==3.0.1 && \
# Python-redis dependencies
pip2 install redis==2.10.6 redis-py-cluster && \
pip3 install redis==2.10.6 redis-py-cluster && \
# pycompsslib dependencies
pip2 install scipy==1.0.0 scikit-learn==0.19.1 pandas==0.23.1 && \
pip3 install scipy==1.0.0 scikit-learn==0.19.1 pandas==0.23.1 && \
# AutoParallel dependencies
apt-get install -y --no-install-recommends libgmp3-dev flex bison libbison-dev texinfo libffi-dev && \
pip2 install astor sympy enum34 islpy && \
# Streaming dependencies
apt-get install -y --no-install-recommends unzip && \
wget https://services.gradle.org/distributions/gradle-5.4.1-bin.zip && \
unzip -d /opt gradle-5.4.1-bin.zip && \
rm gradle-5.4.1-bin.zip && \
ln -s /opt/gradle-5.4.1 /opt/gradle && \
echo "GRADLE_HOME=/opt/gradle" >> /etc/environment && \
echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:${GRADLE_HOME}/bin" >> /etc/environment && \
# Testing dependencies
pip3 install enum34 tabulate && \
# Configure user environment
# =============================================================================
# System configuration
# =============================================================================
# Add environment variables
echo "JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/" >> /etc/environment && \
echo "MPI_HOME=/usr/lib/openmpi" >> /etc/environment && \
echo "LD_LIBRARY_PATH=/usr/lib/openmpi/lib" >> /etc/environment && \
mkdir /run/sshd && \
rm -rf /var/lib/apt/lists/*
| null | null |
361 | 50a74e51933441315065970a0f029c9e97e53846 | Bumped source to 20201017-3682bee | Bumped source to 20201017-3682bee
| FROM docker.pkg.github.com/dock0/service/service:20201017-4e9aa53
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:20201017-3682bee
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 |
332 | 67cf30f7951a5a920ec58528973490881b1a17ed | Fix filename fail on my part | Fix filename fail on my part
| FROM phusion/baseimage:0.9.15
MAINTAINER needo <needo@superhero.org>
#Based on the work of Eric Schultz <eric@startuperic.com>
#Thanks to Tim Haak <tim@haak.co.uk>
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# chfn workaround - Known issue within Dockers
RUN ln -s -f /bin/true /usr/bin/chfn
# Install Plex
RUN apt-get -q update
RUN apt-get install -qy gdebi-core wget
ADD install_plex.sh /
RUN bash /install_plex.sh
# Fix a Debianism of plex's uid being 101
RUN usermod -u 999 plex
RUN usermod -g 100 plex
VOLUME /config
VOLUME /data
EXPOSE 32400
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver
# Add firstrun.sh to execute during container startup
RUN mkdir -p /etc/my_init.d
ADD firstrun.sh /etc/my_init.d/firstrun.sh
RUN chmod +x /etc/my_init.d/firstrun.sh
# Add Plex to runit
RUN mkdir /etc/service/plex
ADD plex.sh /etc/service/plex/run
RUN chmod +x /etc/service/plex/run
| FROM phusion/baseimage:0.9.15
MAINTAINER needo <needo@superhero.org>
#Based on the work of Eric Schultz <eric@startuperic.com>
#Thanks to Tim Haak <tim@haak.co.uk>
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# chfn workaround - Known issue within Dockers
RUN ln -s -f /bin/true /usr/bin/chfn
# Install Plex
RUN apt-get -q update
RUN apt-get install -qy gdebi-core wget
ADD installplex.sh /
RUN bash /installplex.sh
# Fix a Debianism of plex's uid being 101
RUN usermod -u 999 plex
RUN usermod -g 100 plex
VOLUME /config
VOLUME /data
EXPOSE 32400
# Define /config in the configuration file not using environment variables
ADD plexmediaserver /etc/default/plexmediaserver
# Add firstrun.sh to execute during container startup
RUN mkdir -p /etc/my_init.d
ADD firstrun.sh /etc/my_init.d/firstrun.sh
RUN chmod +x /etc/my_init.d/firstrun.sh
# Add Plex to runit
RUN mkdir /etc/service/plex
ADD plex.sh /etc/service/plex/run
RUN chmod +x /etc/service/plex/run
| null |
329 | 82ddf0a17c5bca2266b4c5eec042bbd5c167490a | Add `tini` back to mongodb image | Add `tini` back to mongodb image
| ARG IMAGE_REPO
FROM ${IMAGE_REPO:-lagoon}/commons as commons
FROM alpine:edge
MAINTAINER amazee.io
ENV LAGOON=mongo
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/
COPY --from=commons /home /home
# When Bash is invoked via `sh` it behaves like the old Bourne Shell and sources a file that is given in `ENV`
# When Bash is invoked as non-interactive (like `bash -c command`) it sources a file that is given in `BASH_ENV`
ENV TMPDIR=/tmp TMP=/tmp HOME=/home ENV=/home/.bashrc BASH_ENV=/home/.bashrc
RUN apk --no-cache add mongodb
RUN mkdir -p /data/db /data/configdb && \
fix-permissions /data/db && \
fix-permissions /data/configdb
VOLUME /data/db
EXPOSE 27017 28017
ENTRYPOINT ["/lagoon/entrypoints.sh"]
CMD [ "mongod", "--bind_ip", "0.0.0.0" ]
| ARG IMAGE_REPO
FROM ${IMAGE_REPO:-lagoon}/commons as commons
FROM alpine:edge
MAINTAINER amazee.io
ENV LAGOON=mongo
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/
COPY --from=commons /sbin/tini /sbin/
COPY --from=commons /home /home
# When Bash is invoked via `sh` it behaves like the old Bourne Shell and sources a file that is given in `ENV`
# When Bash is invoked as non-interactive (like `bash -c command`) it sources a file that is given in `BASH_ENV`
ENV TMPDIR=/tmp TMP=/tmp HOME=/home ENV=/home/.bashrc BASH_ENV=/home/.bashrc
RUN apk --no-cache add mongodb
RUN mkdir -p /data/db /data/configdb && \
fix-permissions /data/db && \
fix-permissions /data/configdb
VOLUME /data/db
EXPOSE 27017 28017
ENTRYPOINT ["/sbin/tini", "--", "/lagoon/entrypoints.sh"]
CMD [ "mongod", "--bind_ip", "0.0.0.0" ]
| null |
2192 | ff333b3d253b950eb8b0c62f713da784c5b992e8 | Update to Apache Spark 2.3.0; align with https://github.com/archivesunleashed/aut/commit/fc8f4bf0d5d5bbd28459f2330dfbac0b9d2c226f | Update to Apache Spark 2.3.0; align with https://github.com/archivesunleashed/aut/commit/fc8f4bf0d5d5bbd28459f2330dfbac0b9d2c226f
| # Base Alpine Linux based image with OpenJDK and Maven
FROM maven:3-jdk-8-alpine
# Metadata
LABEL maintainer="Nick Ruest <ruestn@gmail.com>"
LABEL description="Docker image for the Archives Unleashed Toolkit."
LABEL website="http://archivesunleashed.org/"
## Build variables
#######################
ARG SPARK_VERSION=2.1.1
# Git and Wget
RUN apk add --update \
git \
wget
# Sample resources
RUN git clone https://github.com/archivesunleashed/aut-resources.git
# Archives Unleashed Toolkit
RUN git clone https://github.com/archivesunleashed/aut.git /aut \
&& cd /aut \
&& export JAVA_OPTS=-Xmx512m \
&& mvn clean install
# Spark shell
RUN mkdir /spark \
&& cd /tmp \
&& wget -q "https://archive.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" \
&& tar -xf "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz" -C /spark --strip-components=1 \
&& rm "/tmp/spark-$SPARK_VERSION-bin-hadoop2.7.tgz"
CMD /spark/bin/spark-shell --packages "io.archivesunleashed:aut:0.16.1-SNAPSHOT"
| null | null |
344 | e0ccdf6bab494dbe5459d566e1c968566d872a27 | Bumped source to 20211201-26e14dc | Bumped source to 20211201-26e14dc
| FROM docker.pkg.github.com/dock0/arch/arch:20211201-de045cc
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:20211201-26e14dc
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 |
355 | 097c13464c6160896820965eda91b091f387ed9c | Bumped source to 20200303-a417f49 | Bumped source to 20200303-a417f49
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200302-26d6516
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:20200303-a417f49
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 |
2305 | 5206d7ad153a3c36109722de16dd402e3800a4e2 | add bash-history | add bash-history
| FROM ubuntu:15.10
MAINTAINER "Christian Kniep <christian@qnib.org>"
RUN echo "2015-10-14.1";apt-get update && \
apt-get install -y supervisor && \
echo "supervisord -c /etc/supervisord.conf" >> /root/.bash_history && \
echo "supervisorctl status" >> /root/.bash_history && \
echo "tail -f /var/log/supervisor/" >> /root/.bash_history
ADD etc/supervisord.conf /etc/supervisord.conf
CMD ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
| null | null |
308 | 483f7ef8dbee1741bf8b948611b74fa4452a3bb5 | Bumped source to 20200302-f01d1ca | Bumped source to 20200302-f01d1ca
| FROM docker.pkg.github.com/dock0/arch/arch:20200302-474bc73
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:20200302-f01d1ca
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 |
373 | 1e3e0109e1740112a74503ed967423e8f94a1021 | Fix broken CSS (#13) | Fix broken CSS (#13)
| FROM alpine:3.4
# Install nginx and tooling we need
RUN apk update && \
apk add nginx curl unzip && \
rm -rf /var/cache/apk/*
# Use consul-template to re-write our Nginx virtualhost config
RUN curl -Lo /tmp/consul_template_0.15.0_linux_amd64.zip https://releases.hashicorp.com/consul-template/0.15.0/consul-template_0.15.0_linux_amd64.zip && \
unzip /tmp/consul_template_0.15.0_linux_amd64.zip && \
mv consul-template /bin
# Get ContainerPilot release
ENV CONTAINERPILOT_VERSION 2.4.1
RUN export CP_SHA1=198d96c8d7bfafb1ab6df96653c29701510b833c && \
curl -Lso /tmp/containerpilot.tar.gz "https://github.com/joyent/containerpilot/releases/download/${CONTAINERPILOT_VERSION}/containerpilot-${CONTAINERPILOT_VERSION}.tar.gz" && \
echo "${CP_SHA1} /tmp/containerpilot.tar.gz" | sha1sum -c && \
tar zxf /tmp/containerpilot.tar.gz -C /bin && \
rm /tmp/containerpilot.tar.gz
COPY containerpilot.json /etc/containerpilot.json
ENV CONTAINERPILOT=file:///etc/containerpilot.json
COPY reload-nginx.sh /bin/
COPY index.html /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf.ctmpl /etc/containerpilot/
EXPOSE 80
CMD ["/bin/containerpilot", "nginx"]
| FROM alpine:3.4
# Install nginx and tooling we need
RUN apk update && \
apk add nginx curl unzip && \
rm -rf /var/cache/apk/*
# Use consul-template to re-write our Nginx virtualhost config
RUN curl -Lo /tmp/consul_template_0.15.0_linux_amd64.zip https://releases.hashicorp.com/consul-template/0.15.0/consul-template_0.15.0_linux_amd64.zip && \
unzip /tmp/consul_template_0.15.0_linux_amd64.zip && \
mv consul-template /bin
# Get ContainerPilot release
ENV CONTAINERPILOT_VERSION 2.4.1
RUN export CP_SHA1=198d96c8d7bfafb1ab6df96653c29701510b833c && \
curl -Lso /tmp/containerpilot.tar.gz "https://github.com/joyent/containerpilot/releases/download/${CONTAINERPILOT_VERSION}/containerpilot-${CONTAINERPILOT_VERSION}.tar.gz" && \
echo "${CP_SHA1} /tmp/containerpilot.tar.gz" | sha1sum -c && \
tar zxf /tmp/containerpilot.tar.gz -C /bin && \
rm /tmp/containerpilot.tar.gz
COPY containerpilot.json /etc/containerpilot.json
ENV CONTAINERPILOT=file:///etc/containerpilot.json
COPY reload-nginx.sh /bin/
COPY index.html /usr/share/nginx/html/
COPY style.css /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf.ctmpl /etc/containerpilot/
EXPOSE 80
CMD ["/bin/containerpilot", "nginx"]
| null |
391 | 00aac3cc7597bbc4fc22ceba2e70cbfc0b74e57f | Bumped source to 20210421-4ce94b8 | Bumped source to 20210421-4ce94b8
| FROM docker.pkg.github.com/dock0/arch/arch:20210421-42c13f8
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:20210421-4ce94b8
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 |
2159 | e06befcf20566795231d8e4cde21a27efcda2b6d | Bumped source to 20210411-cae9883 | Bumped source to 20210411-cae9883
| FROM docker.pkg.github.com/dock0/arch/arch:20210411-d90d621
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 |
2281 | c341a495d108259d891c638664d6d89010815542 | Bumped source to 20200920-bdcf0d9 | Bumped source to 20200920-bdcf0d9
| FROM docker.pkg.github.com/dock0/arch/arch:20200920-555a91e
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 |
326 | e447acae90e9926c91a35763696f86ed024ccd31 | Pin alpine version to match Pipfile | Pin alpine version to match Pipfile
Currently running the docker image fails with 'ImportError: cannot import name 'Mapping' from 'collections'' due to pulling down the latest version of Python from alpine.
If we pinning to the version specified in the Pipfile, it resolves it. | FROM python:3-alpine
RUN pip install pipenv
ADD ./Pipfile ./Pipfile
ADD ./Pipfile.lock ./Pipfile.lock
RUN pipenv install --deploy --system
ADD ./hostthedocs/ ./hostthedocs/
ADD ./runserver.py ./runserver.py
ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000
EXPOSE 5000
CMD [ "python", "runserver.py" ]
| FROM python:3.6-alpine
RUN pip install pipenv
ADD ./Pipfile ./Pipfile
ADD ./Pipfile.lock ./Pipfile.lock
RUN pipenv install --deploy --system
ADD ./hostthedocs/ ./hostthedocs/
ADD ./runserver.py ./runserver.py
ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000
EXPOSE 5000
CMD [ "python", "runserver.py" ]
| null |
254 | 8ce9a2b2da3e0645a08da8bdc814534e437d3001 | Fix base image | Fix base image
| FROM bizeps/jenkinsuser
MAINTAINER Dominik Ebert <doe@zuehlke.com>
# Modified official Jenkins Dockerfile
# See: https://github.com/jenkinsci/docker
# install java
RUN apt-get update && apt-get install -y \
curl \
default-jre \
git \
zip \
&& rm -rf /var/lib/apt/lists/*
# Definition of jenkins user
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ENV JENKINS_HOME /var/jenkins_home
# Jenkins runs with user `jenkins:jenkins`, uid = 1000, gid = 1000
# If you bind mount a volume from the host or a data container,
# ensure you use the same uid
RUN groupadd -g ${gid} ${group} \
&& useradd -d "$JENKINS_HOME" -u ${uid} -g ${gid} -m -s /bin/bash ${user}
# `/usr/share/jenkins/ref/` contains all reference configuration we want
# to set on a fresh new installation. Use it to bundle additional plugins
# or config file with your custom jenkins Docker image.
RUN mkdir -p /usr/share/jenkins/ref/init.groovy.d
ENV TINI_SHA 066ad710107dc7ee05d3aa6e4974f01dc98f3888
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v0.5.0/tini-static -o /bin/tini && chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha1sum -c -
COPY ./resources/init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groovy
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.46.2}
ARG JENKINS_SHA=aa7f243a4c84d3d6cfb99a218950b8f7b926af7aa2570b0e1707279d464472c7
# Can be used to customize where jenkins.war get downloaded from
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war
# could use ADD but this one does not check Last-Modified header
# see https://github.com/docker/docker/issues/8331
RUN curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war \
&& echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha256sum -c -
ENV JENKINS_UC https://updates.jenkins.io
RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref
# for main web interface:
EXPOSE 8080
# will be used by attached slave agents:
EXPOSE 50000
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log
# Jenkins home directory is a volume, so configuration and build history
# can be persisted and survive image upgrades
VOLUME $JENKINS_HOME
USER ${user}
COPY ./resources/jenkins.sh /usr/local/bin/jenkins.sh
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
COPY ./resources/plugins.sh /usr/local/bin/plugins.sh
COPY ./resources/plugins.txt /usr/share/jenkins/plugins.txt
RUN bash /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
| FROM debian:jessie
MAINTAINER Dominik Ebert <doe@zuehlke.com>
# Modified official Jenkins Dockerfile
# See: https://github.com/jenkinsci/docker
# install java
RUN apt-get update && apt-get install -y \
curl \
default-jre \
git \
zip \
&& rm -rf /var/lib/apt/lists/*
# Definition of jenkins user
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ENV JENKINS_HOME /var/jenkins_home
# Jenkins runs with user `jenkins:jenkins`, uid = 1000, gid = 1000
# If you bind mount a volume from the host or a data container,
# ensure you use the same uid
RUN groupadd -g ${gid} ${group} \
&& useradd -d "$JENKINS_HOME" -u ${uid} -g ${gid} -m -s /bin/bash ${user}
# `/usr/share/jenkins/ref/` contains all reference configuration we want
# to set on a fresh new installation. Use it to bundle additional plugins
# or config file with your custom jenkins Docker image.
RUN mkdir -p /usr/share/jenkins/ref/init.groovy.d
ENV TINI_SHA 066ad710107dc7ee05d3aa6e4974f01dc98f3888
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v0.5.0/tini-static -o /bin/tini && chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha1sum -c -
COPY ./resources/init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groovy
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.46.2}
ARG JENKINS_SHA=aa7f243a4c84d3d6cfb99a218950b8f7b926af7aa2570b0e1707279d464472c7
# Can be used to customize where jenkins.war get downloaded from
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war
# could use ADD but this one does not check Last-Modified header
# see https://github.com/docker/docker/issues/8331
RUN curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war \
&& echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha256sum -c -
ENV JENKINS_UC https://updates.jenkins.io
RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref
# for main web interface:
EXPOSE 8080
# will be used by attached slave agents:
EXPOSE 50000
ENV COPY_REFERENCE_FILE_LOG $JENKINS_HOME/copy_reference_file.log
# Jenkins home directory is a volume, so configuration and build history
# can be persisted and survive image upgrades
VOLUME $JENKINS_HOME
USER ${user}
COPY ./resources/jenkins.sh /usr/local/bin/jenkins.sh
ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
COPY ./resources/plugins.sh /usr/local/bin/plugins.sh
COPY ./resources/plugins.txt /usr/share/jenkins/plugins.txt
RUN bash /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
| null |
291 | bd7cc48a023a6a6e18e51717d6a8a93acc7d3a96 | Bumped source to 20210706-c0daff4 | Bumped source to 20210706-c0daff4
| FROM docker.pkg.github.com/dock0/service/service:20210706-be0056a
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:20210706-c0daff4
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 |
261 | fb53cfbd0f6982ec4e7a9981cb21a27bcdeff0fd | Bumped source to 20210126-d9ce23a | Bumped source to 20210126-d9ce23a
| FROM docker.pkg.github.com/dock0/arch/arch:20210126-562db74
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:20210126-d9ce23a
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 |
156 | 322f2fa61f1df1ab26cc3522e351f3a2d3cccf89 | Fixed diacritical marks | Fixed diacritical marks
| FROM debian:jessie
MAINTAINER madsonic (support@madsonic.org)
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
# Madsonic Package Information
ENV PKG_NAME madsonic
ENV PKG_VER 6.0
ENV PKG_BUILD 7960
ENV PKG_DATE 20160122
# Use init system
CMD ["/sbin/my_init"]
# Fix ids
RUN usermod -u 99 nobody
RUN usermod -g 100 nobody
# Add Oracle Java8 Repo
RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 \
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
# Install apt packages
RUN apt-get update && apt-get install -y \
ca-certificates \
locales \
oracle-java8-installer \
oracle-java8-set-default \
unzip \
wget
# download madsonic
RUN mkdir -p /var/madsonic/transcode \
&& wget -O /var/madsonic/madsonic.zip http://www.madsonic.org/download/${PKG_VER}/${PKG_DATE}_${PKG_NAME}-${PKG_VER}.${PKG_BUILD}-standalone.zip \
&& wget -O /var/madsonic/transcode.zip http://www.madsonic.org/download/transcode/${PKG_DATE}_${PKG_NAME}-transcode-linux-x64.zip
# Install Madsonic
RUN mkdir -p /var/madsonic/transcode \
&& unzip /var/madsonic/madsonic.zip -d /var/madsonic \
&& unzip /var/madsonic/transcode.zip -d /var/madsonic \
&& chown -R nobody:users /var/madsonic \
&& chmod -R 755 /var/madsonic \
&& rm /var/madsonic/madsonic.zip \
&& rm /var/madsonic/transcode.zip
# Force Madsonic to run in foreground
RUN sed -i 's/-jar madsonic-booter.jar > \${LOG} 2>\&1 \&/-jar madsonic-booter.jar > \${LOG} 2>\&1/g' /var/madsonic/madsonic.sh
# apt clean
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
# Set Locale env
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Set Locale
RUN locale-gen en_US en_US.UTF-8
RUN dpkg-reconfigure locales
# default http https port
EXPOSE 4040 4050
# App configuration
VOLUME /config
# media directory
VOLUME /media
# Copy start.sh script
ADD ./start.sh /start.sh
RUN chmod +x /start.sh
RUN chown -R nobody:users /start.sh
# run App as user
USER nobody
ENTRYPOINT ["/start.sh"]
| FROM debian:jessie
MAINTAINER madsonic (support@madsonic.org)
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
# Madsonic Package Information
ENV PKG_NAME madsonic
ENV PKG_VER 6.0
ENV PKG_BUILD 7960
ENV PKG_DATE 20160122
# Use init system
CMD ["/sbin/my_init"]
# Fix ids
RUN usermod -u 99 nobody
RUN usermod -g 100 nobody
# Add Oracle Java8 Repo
RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 \
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
# Install apt packages
RUN apt-get update && apt-get install -y \
ca-certificates \
locales \
oracle-java8-installer \
oracle-java8-set-default \
unzip \
wget
# download madsonic
RUN mkdir -p /var/madsonic/transcode \
&& wget -O /var/madsonic/madsonic.zip http://www.madsonic.org/download/${PKG_VER}/${PKG_DATE}_${PKG_NAME}-${PKG_VER}.${PKG_BUILD}-standalone.zip \
&& wget -O /var/madsonic/transcode.zip http://www.madsonic.org/download/transcode/${PKG_DATE}_${PKG_NAME}-transcode-linux-x64.zip
# Install Madsonic
RUN mkdir -p /var/madsonic/transcode \
&& unzip /var/madsonic/madsonic.zip -d /var/madsonic \
&& unzip /var/madsonic/transcode.zip -d /var/madsonic \
&& chown -R nobody:users /var/madsonic \
&& chmod -R 755 /var/madsonic \
&& rm /var/madsonic/madsonic.zip \
&& rm /var/madsonic/transcode.zip
# Force Madsonic to run in foreground
RUN sed -i 's/-jar madsonic-booter.jar > \${LOG} 2>\&1 \&/-jar madsonic-booter.jar > \${LOG} 2>\&1/g' /var/madsonic/madsonic.sh
# apt clean
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
# Set Locale env
ENV LANG C.UTF-8
# default http https port
EXPOSE 4040 4050
# App configuration
VOLUME /config
# media directory
VOLUME /media
# Copy start.sh script
ADD ./start.sh /start.sh
RUN chmod +x /start.sh
RUN chown -R nobody:users /start.sh
# run App as user
USER nobody
ENTRYPOINT ["/start.sh"]
| null |
117 | 2c7f289ada09a9ec5527d1f7710f29c7ad7ce854 | Bumped source to 20201115-bc8e5e0 | Bumped source to 20201115-bc8e5e0
| FROM docker.pkg.github.com/dock0/service/service:20201115-16ac26c
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:20201115-bc8e5e0
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 |
2093 | b8bed1176b170d9480df32d96cca436bdffd7dd7 | Update to Java 8u131 and JNA 4.4.0 | Update to Java 8u131 and JNA 4.4.0
Download unlimited JCE policy.
| # OpenWrt with a Java installation
#
# Many thanks to the original author:
#
# Jean Blanchard <jean@blanchard.io>
#
# cf. https://github.com/jeanblanchard/docker-busybox-java
#
FROM mcreations/openwrt-x64
MAINTAINER Kambiz Darabi <darabi@m-creations.net>
# Java Version
ENV JAVA_VERSION_MAJOR 8
ENV JAVA_VERSION_MINOR 60
ENV JAVA_VERSION_BUILD 27
ENV JAVA_PACKAGE server-jre
ENV JNA_VERSION 4.1.0
# Runtime environment
ENV JAVA_HOME /opt/jre
ENV PATH ${PATH}:${JAVA_HOME}/bin
CMD [ "java", "-version" ]
# Download and unarchive Java
RUN opkg update && opkg install curl &&\
curl -kLOH "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie"\
http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-b${JAVA_VERSION_BUILD}/${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz &&\
mkdir /opt &&\
tar -xzf ${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz -C /opt &&\
cp -r /opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR}/jre /opt/ &&\
curl -kL -o /opt/jre/lib/ext/jna.jar https://github.com/twall/jna/raw/${JNA_VERSION}/dist/jna.jar &&\
echo "export PATH=\$PATH:${JAVA_HOME}/bin" >> /etc/profile &&\
opkg remove curl libcurl libpolarssl &&\
rm -rf ${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz \
/opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR}/ \
/opt/jre/lib/plugin.jar \
/opt/jre/lib/ext/jfxrt.jar \
/opt/jre/bin/javaws \
/opt/jre/lib/javaws.jar \
/opt/jre/lib/desktop \
/opt/jre/plugin \
/opt/jre/lib/deploy* \
/opt/jre/lib/*javafx* \
/opt/jre/lib/*jfx* \
/opt/jre/lib/amd64/libdecora_sse.so \
/opt/jre/lib/amd64/libprism_*.so \
/opt/jre/lib/amd64/libfxplugins.so \
/opt/jre/lib/amd64/libglass.so \
/opt/jre/lib/amd64/libgstreamer-lite.so \
/opt/jre/lib/amd64/libjavafx*.so \
/opt/jre/lib/amd64/libjfx*.so
CMD [ "java", "-version" ]
| null | null |
273 | 1828c3cc14a2034b40e7b26b2ee2fbbdff65e0ca | add upgrade | add upgrade | #
# Nginx & PHP-FPM Dockerfile
#
# https://github.com/umeice/nginx
#
# Pull base image.
FROM umeice/python
# Install Nginx.
RUN \
add-apt-repository -y ppa:nginx/stable && \
apt-get update && \
apt-get install -y nginx && \
chown -R www-data:www-data /var/lib/nginx
# Install php5-fpm, mysql-client.
RUN \
apt-get install -y php5-fpm php5-mysql && \
apt-get install -y php5-cli mysql-client-5.6
# php-fpm config
# http://www.tokumaru.org/d/20100927.html
# https://github.com/eugeneware/docker-wordpress-nginx/blob/master/Dockerfile
RUN \
sed -i 's/^;\?\(max_execution_time =\).*$/\1 300/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(memory_limit =\).*$/\1 256M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(post_max_size =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(upload_max_filesize =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(date.timezone =\).*$/\1 "Asia\/Tokyo"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(output_buffering =\).*$/\1 Off/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(default_charset =\).*$/\1 "UTF-8"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.language =\).*$/\1 Japanese/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.internal_encoding =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_input =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_output =\).*$/\1 pass/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.encoding_translation =\).*$/\1 On/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.substitute_character =\).*$/\1 "?"/' /etc/php5/fpm/php.ini
# Add Supervisor conf.
ADD supervisord.conf /etc/supervisord.conf
# Define mountable directories.
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
# Define working directory.
WORKDIR /etc/nginx
# Define default command.
CMD ["supervisord"]
# Expose ports.
EXPOSE 80
EXPOSE 443
| #
# Nginx & PHP-FPM Dockerfile
#
# https://github.com/umeice/nginx
#
# Pull base image.
FROM umeice/python
# Install Nginx.
RUN \
add-apt-repository -y ppa:nginx/stable && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y nginx && \
chown -R www-data:www-data /var/lib/nginx
# Install php5-fpm, mysql-client.
RUN \
apt-get install -y php5-fpm php5-mysql && \
apt-get install -y php5-cli mysql-client-5.6
# php-fpm config
# http://www.tokumaru.org/d/20100927.html
# https://github.com/eugeneware/docker-wordpress-nginx/blob/master/Dockerfile
RUN \
sed -i 's/^;\?\(max_execution_time =\).*$/\1 300/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(memory_limit =\).*$/\1 256M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(post_max_size =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(upload_max_filesize =\).*$/\1 32M/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(date.timezone =\).*$/\1 "Asia\/Tokyo"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(output_buffering =\).*$/\1 Off/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(default_charset =\).*$/\1 "UTF-8"/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.language =\).*$/\1 Japanese/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.internal_encoding =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_input =\).*$/\1 UTF-8/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.http_output =\).*$/\1 pass/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.encoding_translation =\).*$/\1 On/' /etc/php5/fpm/php.ini && \
sed -i 's/^;\?\(mbstring.substitute_character =\).*$/\1 "?"/' /etc/php5/fpm/php.ini
# Add Supervisor conf.
ADD supervisord.conf /etc/supervisord.conf
# Define mountable directories.
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
# Define working directory.
WORKDIR /etc/nginx
# Define default command.
CMD ["supervisord"]
# Expose ports.
EXPOSE 80
EXPOSE 443
| null |
2119 | 60bbd06897e532922ec4a34f66839638d7fc5532 | fixed curl: not found | fixed curl: not found
| #Inspiration 1: DotCloud
#Inspiration 2: https://github.com/justnidleguy/
#Inspiration 3: https://bitbucket.org/xcgd/ubuntu4b
FROM softapps/docker-ubuntubase
MAINTAINER Arun T K <arun.kalikeri@xxxxxxxx.com>
# generate locales
RUN locale-gen en_US.UTF-8 && update-locale
RUN echo 'LANG="en_US.UTF-8"' > /etc/default/locale
# add some system packages
RUN TERM=linux apt-get update && TERM=linux apt-get -y -q install \
libterm-readline-perl-perl \
dialog sudo \
&& rm -rf /var/lib/apt/lists/*
# Add the PostgreSQL PGP key to verify their Debian packages.
# It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
# Add PostgreSQL's repository. It contains the most recent stable release
# of PostgreSQL, ``9.4``.
# install dependencies as distrib packages when system bindings are required
# some of them extend the basic odoo requirements for a better "apps" compatibility
# most dependencies are distributed as wheel packages at the next step
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
TERM=linux apt-get update && \
TERM=linux apt-get -yq install \
adduser \
ghostscript \
postgresql-client-9.4 \
python \
python-pip \
python-support \
python-imaging \
python-pychart python-libxslt1 xfonts-base xfonts-75dpi \
libxrender1 libxext6 fontconfig \
python-zsi \
python-lasso \
&& rm -rf /var/lib/apt/lists/*
ADD sources/pip-req.txt /opt/sources/pip-req.txt
# use wheels from our public wheelhouse for proper versions of listed packages
# as described in sourced pip-req.txt
# these are python dependencies for odoo and "apps" as precompiled wheel packages
RUN pip install --upgrade --use-wheel --no-index --pre \
--find-links=https://googledrive.com/host/0Bz-lYS0FYZbIfklDSm90US16S0VjWmpDQUhVOW1GZlVOMUdXb1hENFFBc01BTGpNVE1vZGM \
--requirement=/opt/sources/pip-req.txt
# install wkhtmltopdf based on QT5
ADD http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb /opt/sources/wkhtmltox.deb
RUN dpkg -i /opt/sources/wkhtmltox.deb
# Install some deps, lessc and less-plugin-clean-css
RUN curl https://deb.nodesource.com/node012/pool/main/n/nodejs/nodejs_0.12.0-1nodesource1~precise1_amd64.deb > node.deb \
&& dpkg -i node.deb \
&& rm node.deb
RUN npm install -g less less-plugin-clean-css \
&& npm cache clear
RUN ln -s /usr/bin/nodejs /usr/bin/node
# create the odoo user
RUN adduser --home=/opt/odoo --disabled-password --gecos "" --shell=/bin/bash odoo
# ADD sources for the oe components
# ADD an URI always gives 600 permission with UID:GID 0 => need to chmod accordingly
# /!\ carefully select the source archive depending on the version
ADD https://github.com/trabacus-softapps/odoo/archive/saas-6.tar.gz /opt/odoo/odoo.tar.gz
RUN chown odoo:odoo /opt/odoo/odoo.tar.gz
# changing user is required by openerp which won't start with root
# makes the container more unlikely to be unwillingly changed in interactive mode
USER odoo
RUN /bin/bash -c "mkdir -p /opt/odoo/{bin,etc,sources/odoo/addons,additional_addons,data}" && \
cd /opt/odoo/sources/odoo && \
tar -xvf /opt/odoo/odoo.tar.gz --strip 1 && \
rm /opt/odoo/odoo.tar.gz
RUN /bin/bash -c "mkdir -p /opt/odoo/var/{run,log,egg-cache,ftp}"
# Execution environment
USER 0
ADD sources/odoo.conf /opt/sources/odoo.conf
WORKDIR /app
VOLUME ["/opt/odoo/var", "/opt/odoo/etc", "/opt/odoo/additional_addons", "/opt/odoo/data"]
# Set the default entrypoint (non overridable) to run when starting the container
ENTRYPOINT ["/app/bin/boot"]
CMD ["help"]
# Expose the odoo ports (for linked containers)
EXPOSE 8069 8072
ADD bin /app/bin/
| null | null |
2086 | 10cada6230fe9d437f3b58337bb6695079e95b5c | Bumped source to 20200422-2d7110c | Bumped source to 20200422-2d7110c
| FROM docker.pkg.github.com/dock0/arch/arch:20200422-9d8599d
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 |
228 | 7244ca5103dbb78f044626d4e1f4ba54e34372b9 | Changes base image to `ruby:alpine` to keep up with version changes | Changes base image to `ruby:alpine` to keep up with version changes
| FROM ruby:2.3-alpine
MAINTAINER John Allen <john.allen@technekes.com>
MAINTAINER Jack Ross <jack.ross@technekes.com>
VOLUME /var/s3
ARG S3FS_VERSION=v1.79
RUN \
cd /tmp && \
apk --no-cache add wget ca-certificates && \
wget "s3.amazonaws.com/aws-cli/awscli-bundle.zip" -O "awscli-bundle.zip" && \
unzip awscli-bundle.zip && \
apk --no-cache add groff less python && \
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
# install build related tools
apk --no-cache add --virtual .build_deps \
git \
autoconf \
automake \
build-base \
glib \
glib-dev \
libc-dev \
libtool \
linux-headers \
openssl-dev \
ruby-dev && \
apk --no-cache add --virtual .s3fs_deps \
fuse \
alpine-sdk \
automake \
autoconf \
libxml2-dev \
fuse-dev \
curl-dev \
git \
bash && \
apk --no-cache add --virtual .gem_deps \
postgresql-dev \
sqlite-dev \
libxml2-dev \
libxslt-dev \
tzdata && \
# install s3fs
cd /tmp && \
git clone https://github.com/s3fs-fuse/s3fs-fuse.git && \
cd s3fs-fuse && \
git checkout tags/${S3FS_VERSION} && \
./autogen.sh && \
./configure --prefix=/usr && make && make install && \
cd /tmp && \
# install csvquote
cd /tmp && \
wget "https://github.com/dbro/csvquote/archive/master.zip" && \
unzip master.zip && rm master.zip && \
cd csvquote-master && \
make && make install && \
cd /tmp && \
# install mdb-tools
cd /tmp && \
wget "https://github.com/brianb/mdbtools/archive/0.7.1.zip" && \
unzip 0.7.1.zip && rm 0.7.1.zip && \
cd mdbtools-0.7.1 && \
autoreconf -i -f && \
./configure --disable-man && make && make install && \
cd /tmp && \
# install apk versions of tools
apk --no-cache add \
bash \
zsh \
coreutils \
freetds \
gawk \
gzip \
jq \
postgresql-client \
sed \
gpgme && \
# fix for gpg
apk --no-cache add \
gnupg1 && \
rm /etc/freetds.conf && \
# symlink gsed to sed
ln -s /bin/sed /bin/gsed && \
#clean up
# apk del build-base libtool autoconf automake glib-dev openssl && \
rm -rf /tmp/*
RUN sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" || true
WORKDIR /etc
COPY alpine/etc/ .
ENV HOME /root
WORKDIR $HOME
COPY alpine/root/ .
# override entry point from parent image
ENTRYPOINT ["/bin/zsh"]
| FROM ruby:alpine
MAINTAINER John Allen <john.allen@technekes.com>
MAINTAINER Jack Ross <jack.ross@technekes.com>
VOLUME /var/s3
ARG S3FS_VERSION=v1.79
RUN \
cd /tmp && \
apk --no-cache add wget ca-certificates && \
wget "s3.amazonaws.com/aws-cli/awscli-bundle.zip" -O "awscli-bundle.zip" && \
unzip awscli-bundle.zip && \
apk --no-cache add groff less python && \
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
# install build related tools
apk --no-cache add --virtual .build_deps \
git \
autoconf \
automake \
build-base \
glib \
glib-dev \
libc-dev \
libtool \
linux-headers \
openssl-dev \
ruby-dev && \
apk --no-cache add --virtual .s3fs_deps \
fuse \
alpine-sdk \
automake \
autoconf \
libxml2-dev \
fuse-dev \
curl-dev \
git \
bash && \
apk --no-cache add --virtual .gem_deps \
postgresql-dev \
sqlite-dev \
libxml2-dev \
libxslt-dev \
tzdata && \
# install s3fs
cd /tmp && \
git clone https://github.com/s3fs-fuse/s3fs-fuse.git && \
cd s3fs-fuse && \
git checkout tags/${S3FS_VERSION} && \
./autogen.sh && \
./configure --prefix=/usr && make && make install && \
cd /tmp && \
# install csvquote
cd /tmp && \
wget "https://github.com/dbro/csvquote/archive/master.zip" && \
unzip master.zip && rm master.zip && \
cd csvquote-master && \
make && make install && \
cd /tmp && \
# install mdb-tools
cd /tmp && \
wget "https://github.com/brianb/mdbtools/archive/0.7.1.zip" && \
unzip 0.7.1.zip && rm 0.7.1.zip && \
cd mdbtools-0.7.1 && \
autoreconf -i -f && \
./configure --disable-man && make && make install && \
cd /tmp && \
# install apk versions of tools
apk --no-cache add \
bash \
zsh \
coreutils \
freetds \
gawk \
gzip \
jq \
postgresql-client \
sed \
gpgme && \
# fix for gpg
apk --no-cache add \
gnupg1 && \
rm /etc/freetds.conf && \
# symlink gsed to sed
ln -s /bin/sed /bin/gsed && \
#clean up
# apk del build-base libtool autoconf automake glib-dev openssl && \
rm -rf /tmp/*
RUN sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" || true
WORKDIR /etc
COPY alpine/etc/ .
ENV HOME /root
WORKDIR $HOME
COPY alpine/root/ .
# override entry point from parent image
ENTRYPOINT ["/bin/zsh"]
| null |
2252 | 6d4039f04611a1c9893f2346210fd60f01d94420 | Add JDK 11 to Asylo Dockerfile | Add JDK 11 to Asylo Dockerfile
PiperOrigin-RevId: 288751173
Change-Id: Idf9d80d21e86091615e698c0452e3f1dcaafbdc4
| #
# Copyright 2018 Asylo authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Use fixed snapshot of Debian to create a deterministic environment.
# Snapshot tags can be found at https://hub.docker.com/r/debian/snapshot/tags
ARG debian_snapshot=buster-20191118
# Start with a temporary image just for building the toolchain.
FROM debian/snapshot:${debian_snapshot} as toolchain
# Add build dependencies from Debian.
RUN apt-get update && \
apt-get install -y \
bison \
build-essential \
flex \
libisl-dev \
libmpc-dev \
libmpfr-dev \
rsync \
texinfo \
wget \
zlib1g-dev
COPY . /opt/asylo/distrib/toolchain/
# Build and install the toolchain.
RUN /opt/asylo/distrib/toolchain/install-toolchain \
--system \
--prefix /opt/asylo/toolchains/default
## Now, create the final image.
FROM debian/snapshot:${debian_snapshot}
# Use a fixed version of Bazel.
ARG bazel_version=1.2.1
ARG bazel_sha=4bbb2718d451db5922223fda3aed3810c4ca50f431481e86a7fec4c585f18b1f
ARG bazel_url=https://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_${bazel_version}_amd64.deb
# Install development tools
RUN apt-get update && \
apt-get install -y wget && \
wget "${bazel_url}" -nv -o- -O bazel.deb && \
echo "${bazel_sha} bazel.deb" > bazel.sha256 && \
sha256sum --check bazel.sha256 && \
apt-get install -y \
./bazel.deb \
bash-completion \
build-essential \
git \
libfl2 \
ocaml-nox \
ocamlbuild \
python-dev \
python2.7-dev \
python3-dev \
vim \
&& \
rm bazel.deb bazel.sha256 && \
apt-get clean && \
echo ". /etc/bash_completion" >> /root/.bashrc
# Copy the built toolchain from the earlier image.
COPY --from=toolchain /opt/asylo/toolchains/ /opt/asylo/toolchains/
COPY --from=toolchain /usr/local/share/asylo/ /usr/local/share/asylo/
# Default command to run if not specified otherwise.
CMD ["/bin/bash"]
| null | null |
2301 | ad28fb24adaa13e775ff0abdd418a9fdb671bd80 | Bumped source to 20200811-6cc1b0a | Bumped source to 20200811-6cc1b0a
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200811-e17ced9
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | null |
49 | 2b720d3a1e78150a5920c0025994265e7e2d1290 | Bumped source to 20201111-35f9132 | Bumped source to 20201111-35f9132
| FROM docker.pkg.github.com/dock0/arch/arch:20201111-2fbdfd7
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:20201111-35f9132
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 |
18 | bb71344786f24234012047a3b85865b21625b58a | Bumped source to 20200610-4d706a3 | Bumped source to 20200610-4d706a3
| FROM docker.pkg.github.com/dock0/arch/arch:20200610-195d543
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:20200610-4d706a3
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 |
379 | 8d0629b42cfe518605c7ca93acc6e6db6c60b43a | Remove meteor file version from docker compose file | Remove meteor file version from docker compose file
| FROM centos:7
MAINTAINER mozdef@mozilla.com
#updated meteor version to avoid EXDEV: cross-device link not permitted errors
ENV NODE_VERSION 4.7.0
ENV METEOR_VERSION 1.4.4.2
ENV METEOR_FILE_VERSION 1.4.4-1
ENV MONGO_URL=mongodb://mongodb:3002/meteor
ENV ROOT_URL=http://localhost
ENV PORT=3000
RUN \
useradd -ms /bin/bash -d /opt/mozdef -m mozdef && \
mkdir -p /opt/mozdef/envs/mozdef && \
cd /opt/mozdef && \
curl -sL -o /opt/mozdef/nodesource.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm && \
rpm -i --nosignature --force /opt/mozdef/nodesource.rpm && \
yum install -y \
wget \
make \
glibc-devel \
gcc \
gcc-c++ \
libstdc++ \
libffi-devel \
zlib-devel && \
yum install -y nodejs-$NODE_VERSION && \
npm install source-map-support@0.4.2 \
semver@5.3.0 \
fibers@1.0.13 \
amdefine@1.0.0 \
underscore@1.8.3 \
bcrypt && \
mkdir /opt/mozdef/meteor && \
curl -sL -o /opt/mozdef/meteor.tar.gz https://static-meteor.netdna-ssl.com/packages-bootstrap/$METEOR_VERSION/meteor-bootstrap-os.linux.x86_64.tar.gz && \
tar -xzf /opt/mozdef/meteor.tar.gz -C /opt/mozdef/meteor && \
mv /opt/mozdef/meteor/.meteor /opt/mozdef && \
rm -r /opt/mozdef/meteor && \
cp /opt/mozdef/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor
#copy our source dir and set ownership
USER mozdef
COPY meteor /opt/mozdef/envs/mozdef/meteor
USER root
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor
#avoiding -R due to massive list of files from meteor
RUN chown mozdef:mozdef /opt/mozdef/envs
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor npm install --save babel-runtime && \
meteor add accounts-password && \
meteor add npm-bcrypt && \
mkdir -p /opt/mozdef/envs/meteor/mozdef
USER root
COPY docker/compose/mozdef_meteor/files/settings.js /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef/ --allow-incompatible-update
WORKDIR /opt/mozdef/envs/meteor/mozdef
EXPOSE 3000
| FROM centos:7
MAINTAINER mozdef@mozilla.com
#updated meteor version to avoid EXDEV: cross-device link not permitted errors
ENV NODE_VERSION 4.7.0
ENV METEOR_VERSION 1.4.4.2
ENV MONGO_URL=mongodb://mongodb:3002/meteor
ENV ROOT_URL=http://localhost
ENV PORT=3000
RUN \
useradd -ms /bin/bash -d /opt/mozdef -m mozdef && \
mkdir -p /opt/mozdef/envs/mozdef && \
cd /opt/mozdef && \
curl -sL -o /opt/mozdef/nodesource.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm && \
rpm -i --nosignature --force /opt/mozdef/nodesource.rpm && \
yum install -y \
wget \
make \
glibc-devel \
gcc \
gcc-c++ \
libstdc++ \
libffi-devel \
zlib-devel && \
yum install -y nodejs-$NODE_VERSION && \
npm install source-map-support@0.4.2 \
semver@5.3.0 \
fibers@1.0.13 \
amdefine@1.0.0 \
underscore@1.8.3 \
bcrypt && \
mkdir /opt/mozdef/meteor && \
curl -sL -o /opt/mozdef/meteor.tar.gz https://static-meteor.netdna-ssl.com/packages-bootstrap/$METEOR_VERSION/meteor-bootstrap-os.linux.x86_64.tar.gz && \
tar -xzf /opt/mozdef/meteor.tar.gz -C /opt/mozdef/meteor && \
mv /opt/mozdef/meteor/.meteor /opt/mozdef && \
rm -r /opt/mozdef/meteor && \
cp /opt/mozdef/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor
#copy our source dir and set ownership
USER mozdef
COPY meteor /opt/mozdef/envs/mozdef/meteor
USER root
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor
#avoiding -R due to massive list of files from meteor
RUN chown mozdef:mozdef /opt/mozdef/envs
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor npm install --save babel-runtime && \
meteor add accounts-password && \
meteor add npm-bcrypt && \
mkdir -p /opt/mozdef/envs/meteor/mozdef
USER root
COPY docker/compose/mozdef_meteor/files/settings.js /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor/app/lib/settings.js
USER mozdef
RUN \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef/ --allow-incompatible-update
WORKDIR /opt/mozdef/envs/meteor/mozdef
EXPOSE 3000
| null |
83 | 47e131104756cdd10b2d4c9a090feb539475dfa0 | Bumped source to 20200726-6718f32 | Bumped source to 20200726-6718f32
| FROM docker.pkg.github.com/dock0/arch/arch:20200725-ca53f93
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:20200726-6718f32
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 |
2227 | 64bfbab8a5a127560dc46001ddb9fec1e8eafbfd | Bump Alpine Linux to v3.4 | Bump Alpine Linux to v3.4
| FROM alpine:3.3
MAINTAINER Akiyoshi Sakaguchi <a-sakaguchi@groovenauts.jp>
ENV NGINX_VERSION 1.10.0
RUN apk --update add pcre-dev openssl-dev \
&& apk add --virtual build-dependencies build-base curl \
&& curl -SLO http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
&& tar xzvf nginx-${NGINX_VERSION}.tar.gz \
&& cd nginx-${NGINX_VERSION} \
&& ./configure \
--with-http_ssl_module \
--with-http_gzip_static_module \
--prefix=/usr/share/nginx \
--sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/conf/nginx.conf \
--pid-path=/var/run/nginx.pid \
--http-log-path=/var/log/nginx/access.log \
--error-log-path=/var/log/nginx/error.log \
&& make \
&& make install \
&& cd / \
&& apk del build-dependencies \
&& ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log \
&& rm -rf \
nginx-${NGINX_VERSION} \
nginx-${NGINX_VERSION}.tar.gz \
/var/cache/apk/*
VOLUME ["/var/cache/nginx"]
EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]
| null | null |
2190 | 4522b37875f7fbcf5c66b47230996ec8a78276c2 | version bump 2.10.0 | version bump 2.10.0
| FROM php:7.2-fpm
LABEL maintainer="diego@passbolt.com"
ARG PASSBOLT_VERSION="2.9.0"
ARG PASSBOLT_URL="https://github.com/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz"
ARG PASSBOLT_CURL_HEADERS=""
ARG PHP_EXTENSIONS="gd \
intl \
pdo_mysql \
opcache \
xsl"
ARG PECL_PASSBOLT_EXTENSIONS="gnupg \
redis \
mcrypt"
ARG PASSBOLT_DEV_PACKAGES="libgpgme11-dev \
libpng-dev \
libjpeg62-turbo-dev \
libicu-dev \
libxslt1-dev \
libmcrypt-dev \
unzip"
ARG PASSBOLT_BASE_PACKAGES="nginx \
gnupg \
libgpgme11 \
libmcrypt4 \
mysql-client \
supervisor \
cron"
ENV PECL_BASE_URL="https://pecl.php.net/get"
ENV PHP_EXT_DIR="/usr/src/php/ext"
WORKDIR /var/www/passbolt
RUN apt-get update \
&& apt-get -y install --no-install-recommends \
$PASSBOLT_DEV_PACKAGES \
$PASSBOLT_BASE_PACKAGES \
&& mkdir /home/www-data \
&& chown -R www-data:www-data /home/www-data \
&& usermod -d /home/www-data www-data \
&& docker-php-source extract \
&& for i in $PECL_PASSBOLT_EXTENSIONS; do \
mkdir $PHP_EXT_DIR/$i; \
curl -sSL $PECL_BASE_URL/$i | tar zxf - -C $PHP_EXT_DIR/$i --strip-components 1; \
done \
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j4 $PHP_EXTENSIONS $PECL_PASSBOLT_EXTENSIONS \
&& docker-php-ext-enable $PHP_EXTENSIONS $PECL_PASSBOLT_EXTENSIONS \
&& docker-php-source delete \
&& EXPECTED_SIGNATURE=$(curl -s https://composer.github.io/installer.sig) \
&& curl -o composer-setup.php https://getcomposer.org/installer \
&& ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") \
&& if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]; then \
>&2 echo 'ERROR: Invalid installer signature'; \
rm composer-setup.php; \
exit 1; \
fi \
&& php composer-setup.php \
&& mv composer.phar /usr/local/bin/composer \
&& rm composer-setup.php \
&& curl -sSL -H "$PASSBOLT_CURL_HEADERS" "$PASSBOLT_URL" | tar zxf - -C . --strip-components 1 \
&& composer install -n --no-dev --optimize-autoloader \
&& chown -R www-data:www-data . \
&& chmod 775 $(find /var/www/passbolt/tmp -type d) \
&& chmod 664 $(find /var/www/passbolt/tmp -type f) \
&& chmod 775 $(find /var/www/passbolt/webroot/img/public -type d) \
&& chmod 664 $(find /var/www/passbolt/webroot/img/public -type f) \
&& rm /etc/nginx/sites-enabled/default \
&& apt-get purge -y --auto-remove $PASSBOLT_DEV_PACKAGES \
&& rm -rf /var/lib/apt/lists/* \
&& rm /usr/local/bin/composer \
&& echo 'php_flag[expose_php] = off' > /usr/local/etc/php-fpm.d/expose.conf \
&& sed -i 's/# server_tokens/server_tokens/' /etc/nginx/nginx.conf \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY conf/passbolt.conf /etc/nginx/conf.d/default.conf
COPY conf/supervisor/*.conf /etc/supervisor/conf.d/
COPY bin/docker-entrypoint.sh /docker-entrypoint.sh
COPY scripts/wait-for.sh /usr/bin/wait-for.sh
EXPOSE 80 443
CMD ["/docker-entrypoint.sh"]
| null | null |
32 | 16cc6f8a0f95f12d735870050d0bc92cedb05cde | Bumped source to 20201005-0e0dca5 | Bumped source to 20201005-0e0dca5
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201004-69d0856
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:20201005-0e0dca5
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 |
93 | daf1b8a394b5805fcf9754e1e03df9217bdaef41 | Add a marked dependency volume folder | Add a marked dependency volume folder
| # Use the base Python 3.6 image. It is sufficient for accomplishing
# most of the stuff, and includes some handy build tools like gcc.
#
# NOTE This could be changed to something like `python:latest` if we
# find that there is no dependency on 3.6 itself.
FROM python:3.6
# Set the MAINTAINER flag of the docker image.
#
# NOTE Consider changing this or removing it; it is not necessary
# unless pushing to Docker Hub.
MAINTAINER Kristofer Rye <kristofer.rye@gmail.com>
# Add the entire project directory to the /cs251tk/ directory in the
# image.
ADD . /cs251tk/
# Create the SSH config directory on the root user account home directory.
RUN mkdir -p /root/.ssh/
# Build a smart SSH config (and prepare to use our id_rsa from the host)
RUN echo "Host *.stolaf.edu\n\tUserKnownHostsFile /dev/null\n\tStrictHostKeyChecking no\n\tIdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
# Lock down our SSH config
RUN chmod 600 /root/.ssh/config
# Change into our project directory.
WORKDIR /cs251tk
# Install the toolkit from the source directory.
RUN pip3 install .
# Update the package cache.
RUN apt-get update
# TODO Install any additional requirements. Do we have any?
# RUN apt-get install -y cool-package
# Clean up to reduce our overall image size.
RUN apt-get clean
# Print out the versions of the installed tools.
RUN gcc --version \
&& g++ --version \
&& make --version \
&& git --version \
&& python --version
# Finally, set our default command to just "cs251tk".
CMD ["cs251tk"]
| # Use the base Python 3.6 image. It is sufficient for accomplishing
# most of the stuff, and includes some handy build tools like gcc.
#
# NOTE This could be changed to something like `python:latest` if we
# find that there is no dependency on 3.6 itself.
FROM python:3.6
# Set the MAINTAINER flag of the docker image.
#
# NOTE Consider changing this or removing it; it is not necessary
# unless pushing to Docker Hub.
MAINTAINER Kristofer Rye <kristofer.rye@gmail.com>
# Add the entire project directory to the /cs251tk/ directory in the
# image.
ADD . /cs251tk/
# Create the SSH config directory on the root user account home directory.
RUN mkdir -p /root/.ssh/
# Build a smart SSH config (and prepare to use our id_rsa from the host)
RUN echo "Host *.stolaf.edu\n\tUserKnownHostsFile /dev/null\n\tStrictHostKeyChecking no\n\tIdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
# Lock down our SSH config
RUN chmod 600 /root/.ssh/config
# Add a marked dependency volume folder.
VOLUME /cs251tk_share/
# Change into our project directory.
WORKDIR /cs251tk
# Install the toolkit from the source directory.
RUN pip3 install .
# Update the package cache.
RUN apt-get update
# TODO Install any additional requirements. Do we have any?
# RUN apt-get install -y cool-package
# Clean up to reduce our overall image size.
RUN apt-get clean
# Print out the versions of the installed tools.
RUN gcc --version \
&& g++ --version \
&& make --version \
&& git --version \
&& python --version
# Finally, set our default command to just "cs251tk".
CMD ["cs251tk"]
| null |
2183 | 8116154f96316229d8423e58b173d77305b5ec64 | Add DFSET & PACKAGER ARGs to Exporter Dockerfile (#1827) | Add DFSET & PACKAGER ARGs to Exporter Dockerfile (#1827)
Adds the DFSET and PACKAGER ARG instructions to the
crunchy-postgres-exporter Dockerfile as needed to ensure the proper
detection of "rhel" or "centos" for the DFSET env var, and the use of
the proper package manager when installing the packages required by the
Crunchy PostgreSQL Exporter. | ARG BASEOS
ARG BASEVER
ARG PREFIX
FROM ${PREFIX}/pgo-base:${BASEOS}-${BASEVER}
ARG PGVERSION
LABEL name="crunchy-postgres-exporter" \
summary="Metrics exporter for PostgreSQL" \
description="When run with the crunchy-postgres family of containers, crunchy-postgres-exporter reads the PostgreSQL data directory and has a SQL interface to a database to allow for metrics collection." \
io.k8s.description="Crunchy PostgreSQL Exporter" \
io.k8s.display-name="Crunchy PostgreSQL Exporter" \
io.openshift.tags="postgresql,postgres,monitoring,database,crunchy"
RUN if [ "$DFSET" = "centos" ] ; then \
${PACKAGER} -y install epel-release \
&& ${PACKAGER} install -y \
--setopt=skip_missing_names_on_install=False \
postgresql${PGVERSION} \
&& ${PACKAGER} -y clean all ; \
fi
RUN if [ "$DFSET" = "rhel" ] ; then \
${PACKAGER} install -y \
--setopt=skip_missing_names_on_install=False \
postgresql${PGVERSION} \
&& ${PACKAGER} -y clean all ; \
fi
RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
ADD postgres_exporter.tar.gz /opt/cpm/bin
ADD tools/pgmonitor/exporter/postgres /opt/cpm/conf
ADD bin/crunchy-postgres-exporter /opt/cpm/bin
ADD bin/uid_daemon.sh /opt/cpm/bin
RUN chgrp -R 0 /opt/cpm/bin /opt/cpm/conf && \
chmod -R g=u /opt/cpm/bin/ opt/cpm/conf
# postgres_exporter
EXPOSE 9187
RUN chmod g=u /etc/passwd
# The VOLUME directive must appear after all RUN directives to ensure the proper
# volume permissions are applied when building the image
VOLUME ["/conf"]
ENTRYPOINT ["/opt/cpm/bin/uid_daemon.sh"]
USER 2
CMD ["/opt/cpm/bin/start.sh"]
| null | null |
2191 | c901eecd337d83690eef054be3d9f8dd880ca983 | Bumped source to 20200903-989688f | Bumped source to 20200903-989688f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200903-83219f3
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | null |
302 | 3b247335e1ef00bb699d2ff11ea877a637fa1136 | update dep | update dep
| FROM centos:6.8
MAINTAINER lysu <sulifx@gmail.com>
RUN yum update
RUN yum install -y \
man \
cmake \
git \
clang \
vim \
emacs \
unzip \
valgrind \
net-tools \
doxygen \
tmux \
cscope \
make \
gcc \
gcc-c++ \
openssl-devel \
gdb \
zsh \
ctags \
xdg-utils \
python-setuptools \
rubygems \
fontconfig \
psmisc \
tcpdump \
autoconf \
boost-devel \
openmpi-devel \
python-devel \
libxml2-devel \
glib2-devel \
gsl-devel \
curl-devel \
python-pip \
ack \
&& yum clean all
RUN cd /tmp \
&& curl https://www.samba.org/ftp/ccache/ccache-3.2.5.tar.xz | tar xJ \
&& cd ccache-3.2.5 \
&& ./configure \
&& make \
&& make install \
&& cd \
&& rm -r /tmp/ccache-3.2.5
ENV CCACHE_DIR=/ccache
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 999 \
&& update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 999
ENV CC="ccache clang" CXX="ccache clang++"
RUN git clone git://github.com/amix/vimrc.git ~/.vim_runtime \
&& sh ~/.vim_runtime/install_awesome_vimrc.sh
RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \
&& chsh -s /bin/zsh
RUN git clone https://github.com/Valloric/YouCompleteMe ~/.vim_runtime/sources_non_forked/YouCompleteMe
RUN cd ~/.vim_runtime/sources_non_forked/YouCompleteMe && git submodule update --init --recursive && ./install.sh --clang-completer
RUN git clone https://github.com/rhysd/vim-clang-format.git ~/.vim_runtime/sources_non_forked/vim-clang-format
ADD my_configs.vim /root/.vim_runtime/my_configs.vim
ADD ycm_extra_conf.py /root/.ycm_extra_conf.py
ADD tmux.conf /root/.tmux.conf
ENV TERM=xterm-256color
| FROM centos:6.8
MAINTAINER lysu <sulifx@gmail.com>
RUN yum update
| null |
56 | 5be8bf4c6cab72052901d322de5669a2fba8482b | Fix the ADD command | Fix the ADD command
I not see the change. Take with corrected | # Run Warsaw in a container
# Base docker image
FROM ubuntu
LABEL maintainer "Fabio Rodrigues Ribeiro <farribeiro@gmail.com>"
# Install Firefox
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
language-pack-pt \
openssl \
libnss3-tools \
firefox \
firefox-locale-pt \
xauth \
--no-install-recommends \
&& apt-get purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb
# ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/GBPCEFwr64.deb
COPY startup.sh /home/ff/startup.sh
# Add ff user
RUN groupadd -g 1000 -r ff \
&& useradd -u 1000 -r -g ff -G audio,video ff \
&& mkdir -p /home/ff \
&& chmod 744 /home/ff/startup.sh \
&& chown -R ff:ff /home/ff \
&& passwd -d root
# Run firefox as non privileged user
USER ff
# Autorun chrome
CMD [ "/home/ff/startup.sh" ]
| # Run Warsaw in a container
# Base docker image
FROM ubuntu
LABEL maintainer "Fabio Rodrigues Ribeiro <farribeiro@gmail.com>"
# Install Firefox
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
language-pack-pt \
openssl \
libnss3-tools \
firefox \
firefox-locale-pt \
xauth \
--no-install-recommends \
&& apt-get purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /src/*.deb
ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/GBPCEFwr64.deb
COPY startup.sh /home/ff/startup.sh
# Add ff user
RUN groupadd -g 1000 -r ff \
&& useradd -u 1000 -r -g ff -G audio,video ff \
&& mkdir -p /home/ff \
&& chmod 744 /home/ff/startup.sh \
&& chown -R ff:ff /home/ff \
&& passwd -d root
# Run firefox as non privileged user
USER ff
# Autorun chrome
CMD [ "/home/ff/startup.sh" ]
| null |
2321 | 76a7f1e81d002dc40540b9aa431fd3640de4737f | Fixed awscli install command | Fixed awscli install command
| # use latest Node LTS (Boron)
FROM node:boron
RUN export AWS_DEFAULT_OUTPUT=json
RUN pip install --upgrade --user awscli
RUN cd /opt && git clone https://github.com/14kw/docker-firebase-admin.git
RUN cd /opt/docker-firebase-admin && npm install | null | null |
2148 | aafe4253f1929539eb473e560577e3d0e35d3c1d | Bumped version to 2016.05.20-1 | Bumped version to 2016.05.20-1
| FROM vladshub/python-virtualenv
MAINTAINER Vladislav Shub <vlad6il@gmail.com>
RUN apk add --no-cache --update libffi-dev py-imaging && rm -rf /var/cache/apk/*
EXPOSE 8081
COPY ./entrypoint.sh /
ENV SICKRAGE_VERSION 2016.05.09-2
RUN wget -q "https://github.com/SickRage/SickRage/archive/${SICKRAGE_VERSION}.tar.gz" \
&& tar xzf *.tar.gz && rm *.tar.gz \
&& mv SickRage-* /sickrage
RUN virtualenv /env
WORKDIR /sickrage
ENTRYPOINT ["/entrypoint.sh"]
| null | null |
2180 | cee5b6fdaf666da3a82663fae8d63d8654429dcd | added permissions to run entrypoint.sh | added permissions to run entrypoint.sh
| FROM nginx:1.13.5-alpine
MAINTAINER Alt Three <support@alt-three.com>
EXPOSE 8000
CMD ["/sbin/entrypoint.sh"]
ARG cachet_ver
ENV cachet_ver ${cachet_ver:-master}
ENV COMPOSER_VERSION 1.4.1
# Using repo packages instead of compiling from scratch
ADD https://php.codecasts.rocks/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN echo "@php http://php.codecasts.rocks/v3.5/php-7.0" >> /etc/apk/repositories
RUN apk add --no-cache --update \
postgresql-client \
postgresql \
mysql-client \
php7 \
php7-redis@php \
php7-apcu \
php7-bcmath \
php7-dom \
php7-ctype \
php7-curl \
php7-fpm \
php7-gd \
php7-iconv \
php7-intl \
php7-json \
php7-mbstring \
php7-mcrypt \
php7-mysqlnd \
php7-opcache \
php7-openssl \
php7-pdo \
php7-pdo_mysql \
php7-pdo_pgsql \
php7-pdo_sqlite \
php7-phar \
php7-posix \
php7-session \
php7-soap \
php7-xml \
php7-zip \
php7-zlib \
wget sqlite git sudo curl bash grep \
supervisor
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log && \
ln -sf /dev/stdout /var/log/php7/error.log && \
ln -sf /dev/stderr /var/log/php7/error.log
RUN addgroup -S www-data
RUN adduser -S -s /bin/bash -G www-data www-data
RUN touch /var/run/nginx.pid /var/run/php5-fpm.pid && \
chown -R www-data:www-data /var/run/nginx.pid /var/run/php5-fpm.pid
RUN echo 'www-data ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN mkdir -p /var/www/html
RUN mkdir -p /usr/share/nginx/cache
RUN mkdir -p /var/cache/nginx && \
mkdir -p /var/lib/nginx && \
chown -R www-data:www-data /var/www /usr/share/nginx/cache /var/cache/nginx /var/lib/nginx/
RUN ln -s /usr/bin/php7 /usr/bin/php
# Install composer
RUN php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" && \
php -r "copy('https://composer.github.io/installer.sig', '/tmp/composer-setup.sig');" && \
php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" && \
php /tmp/composer-setup.php --version=$COMPOSER_VERSION --install-dir=bin && \
php -r "unlink('/tmp/composer-setup.php');"
WORKDIR /var/www/html/
USER www-data
RUN wget https://github.com/cachethq/Cachet/archive/${cachet_ver}.tar.gz && \
tar xzvf ${cachet_ver}.tar.gz --strip-components=1 && \
chown -R www-data /var/www/html && \
rm -r ${cachet_ver}.tar.gz && \
php /bin/composer.phar global require "hirak/prestissimo:^0.3" && \
php /bin/composer.phar install --no-dev -o && \
rm -rf bootstrap/cache/*
COPY conf/php-fpm-pool.conf /etc/php7/php-fpm.d/www.conf
COPY conf/supervisord.conf /etc/supervisor/supervisord.conf
COPY conf/nginx.conf /etc/nginx/nginx.conf
COPY conf/nginx-site.conf /etc/nginx/conf.d/default.conf
COPY conf/.env.docker /var/www/html/.env
COPY entrypoint.sh /sbin/entrypoint.sh
| null | null |
392 | f4b84d6ee0403a268dad4221e1305b97193f1ea6 | add .sh | add .sh
| FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
MAINTAINER Moch. Ainun Najib <ec2ainun@gmail.com>
ARG TENSORFLOW_VERSION=1.2.0
ARG TENSORFLOW_ARCH=gpu
# Install dependencies
RUN apt-get update && apt-get install -y \
bc \
build-essential \
cmake \
curl \
g++ \
gfortran \
git \
nano \
pkg-config \
python-dev \
software-properties-common \
unzip \
vim \
wget \
yasm \
python3-dev \
python3-tk \
python3-numpy \
python3-pip \
ant \
default-jdk \
doxygen \
ffmpeg \
qtbase5-dev \
qt5-default \
libssl-dev \
libffi-dev \
libfreetype6-dev \
libhdf5-dev \
liblcms2-dev \
libwebp-dev \
libzmq3-dev \
libopencv-dev \
libgtk-3-dev \
libdc1394-22 \
libdc1394-22-dev \
libjpeg-dev \
libopenjpeg5 \
libpng12-dev \
libpng-dev \
libtiff5-dev \
libjasper-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libxine2-dev \
libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev \
libv4l-dev \
libtbb-dev \
libeigen3-dev \
libfaac-dev \
libmp3lame-dev \
libopencore-amrnb-dev \
libopencore-amrwb-dev \
libtheora-dev \
libvorbis-dev \
libxvidcore-dev \
v4l-utils \
libvtk6-dev \
zlib1g-dev \
libx264-dev \
liblapacke-dev \
libopenblas-dev \
liblapack-dev \
libopenexr-dev \
libgdal-dev \
checkinstall \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip
# Add SNI support to Python
RUN pip3 --no-cache-dir install \
pyopenssl \
ndg-httpsclient \
pyasn1
# Install other useful Python packages using pip3
RUN pip3 --no-cache-dir install --upgrade ipython && \
pip3 --no-cache-dir install \
Cython \
ipykernel \
jupyter \
path.py \
Pillow \
h5py \
pygments \
six \
sphinx \
wheel \
zmq \
matplotlib \
numpy \
pandas \
scipy \
scikit-learn \
&& \
python3 -m ipykernel.kernelspec
RUN apt-get update && apt-get install -y \
python3-nose \
python3-skimage \
python3-sympy \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# Install TensorFlow
RUN pip3 --no-cache-dir install \
https://storage.googleapis.com/tensorflow/linux/${TENSORFLOW_ARCH}/tensorflow_gpu-${TENSORFLOW_VERSION}-cp35-cp35m-linux_x86_64.whl
# Install Opencv
RUN bash Opencv.sh
# Set up notebook config
COPY jupyter_notebook_config.py /root/.jupyter/
COPY jalankan.sh /root/
EXPOSE 6006 8888
ADD *.ipynb /notebooks/
WORKDIR /notebooks
RUN chmod +x /root/jalankan.sh
CMD ["/root/jalankan.sh"] | FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
MAINTAINER Moch. Ainun Najib <ec2ainun@gmail.com>
ARG TENSORFLOW_VERSION=1.2.0
ARG TENSORFLOW_ARCH=gpu
# Install dependencies
RUN apt-get update && apt-get install -y \
bc \
build-essential \
cmake \
curl \
g++ \
gfortran \
git \
nano \
pkg-config \
python-dev \
software-properties-common \
unzip \
vim \
wget \
yasm \
python3-dev \
python3-tk \
python3-numpy \
python3-pip \
ant \
default-jdk \
doxygen \
ffmpeg \
qtbase5-dev \
qt5-default \
libssl-dev \
libffi-dev \
libfreetype6-dev \
libhdf5-dev \
liblcms2-dev \
libwebp-dev \
libzmq3-dev \
libopencv-dev \
libgtk-3-dev \
libdc1394-22 \
libdc1394-22-dev \
libjpeg-dev \
libopenjpeg5 \
libpng12-dev \
libpng-dev \
libtiff5-dev \
libjasper-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libxine2-dev \
libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev \
libv4l-dev \
libtbb-dev \
libeigen3-dev \
libfaac-dev \
libmp3lame-dev \
libopencore-amrnb-dev \
libopencore-amrwb-dev \
libtheora-dev \
libvorbis-dev \
libxvidcore-dev \
v4l-utils \
libvtk6-dev \
zlib1g-dev \
libx264-dev \
liblapacke-dev \
libopenblas-dev \
liblapack-dev \
libopenexr-dev \
libgdal-dev \
checkinstall \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip
# Add SNI support to Python
RUN pip3 --no-cache-dir install \
pyopenssl \
ndg-httpsclient \
pyasn1
# Install other useful Python packages using pip3
RUN pip3 --no-cache-dir install --upgrade ipython && \
pip3 --no-cache-dir install \
Cython \
ipykernel \
jupyter \
path.py \
Pillow \
h5py \
pygments \
six \
sphinx \
wheel \
zmq \
matplotlib \
numpy \
pandas \
scipy \
scikit-learn \
&& \
python3 -m ipykernel.kernelspec
RUN apt-get update && apt-get install -y \
python3-nose \
python3-skimage \
python3-sympy \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# Install TensorFlow
RUN pip3 --no-cache-dir install \
https://storage.googleapis.com/tensorflow/linux/${TENSORFLOW_ARCH}/tensorflow_gpu-${TENSORFLOW_VERSION}-cp35-cp35m-linux_x86_64.whl
ADD *.sh
# Install Opencv
RUN bash Opencv.sh
# Set up notebook config
COPY jupyter_notebook_config.py /root/.jupyter/
COPY jalankan.sh /root/
EXPOSE 6006 8888
ADD *.ipynb /notebooks/
WORKDIR /notebooks
RUN chmod +x /root/jalankan.sh
CMD ["/root/jalankan.sh"] | null |
26 | 7cfcc7520b199f379d69491092cc52f66f5cb7ed | Bumped source to 20201204-2497f3f | Bumped source to 20201204-2497f3f
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201204-dd2b38a
MAINTAINER akerl <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:20201204-2497f3f
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null |
301 | fbd2c7325e145de9b4a9de81a4b2303bc0453cb6 | Add vesion of geminabox and unicorn in Dockerfile | Add vesion of geminabox and unicorn in Dockerfile
| #
# Geminabox
#
# Pull base image.
FROM ashangit/base:latest
MAINTAINER Nicolas Fraison <nfraison@yahoo.fr>
# Deploy geminabox.
RUN yum install ruby ruby-devel gcc make -y && \
gem install geminabox && \
gem install unicorn
# Remove compiler package
RUN yum remove ruby-devel gcc make -y
# Create required folders
RUN mkdir -p /data/geminabox/conf && \
mkdir -p /data/geminabox/data
# Set working directory
WORKDIR /data/geminabox/conf
# Copy default config file
COPY conf/config.ru /data/geminabox/conf/config.ru
COPY conf/unicorn.rb /data/geminabox/conf/unicorn.rb
# Declare default env variables
ENV RUBYGEMS_PROXY true
ENV ALLOW_REMOTE_FAILURE true
ENV WORKER_PROCESSES 2
ENV TIMEOUT 60
# Expose geminabox port
EXPOSE 9292
# Default command
CMD unicorn -p 9292 -c /data/geminabox/conf/unicorn.rb | #
# Geminabox
#
# Pull base image.
FROM ashangit/base:latest
MAINTAINER Nicolas Fraison <nfraison@yahoo.fr>
ENV GEMINABOX_VERSION 0.12.4
ENV UNICORN_VERSION 4.9.0
# Deploy geminabox.
RUN yum install ruby ruby-devel gcc make -y && \
gem install geminabox -v ${GEMINABOX_VERSION} && \
gem install unicorn -v ${UNICORN_VERSION}
# Remove compiler package
RUN yum remove ruby-devel gcc make -y
# Create required folders
RUN mkdir -p /data/geminabox/conf && \
mkdir -p /data/geminabox/data
# Set working directory
WORKDIR /data/geminabox/conf
# Copy default config file
COPY conf/config.ru /data/geminabox/conf/config.ru
COPY conf/unicorn.rb /data/geminabox/conf/unicorn.rb
# Declare default env variables
ENV RUBYGEMS_PROXY true
ENV ALLOW_REMOTE_FAILURE true
ENV WORKER_PROCESSES 2
ENV TIMEOUT 60
# Expose geminabox port
EXPOSE 9292
# Default command
CMD unicorn -p 9292 -c /data/geminabox/conf/unicorn.rb | null |
2105 | 1ab5be572a2dff6420337cb6175a35fe88ee52f0 | Upgrade Dockerfile to newer Ubuntu. | Upgrade Dockerfile to newer Ubuntu.
| FROM ubuntu:trusty
ENV cwd /opt/pyhole
WORKDIR ${cwd}
RUN apt-get update && apt-get install --no-install-recommends -y \
build-essential \
ca-certificates \
libffi-dev \
libssl-dev \
python-dev \
python-setuptools \
&& rm -rf /var/lib/apt/lists/*
COPY . ${cwd}
RUN python setup.py install
EXPOSE 5000
CMD pyhole
| null | null |
2312 | b93c9e72860eabf9bc2bd2e5b5d31e26e656cf11 | Bumped source to 20210424-b00bb9f | Bumped source to 20210424-b00bb9f
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210424-8798bab
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm --needed cpio dnsutils htop lockfile-progs lsof mtr net-tools whois zsh neovim
RUN usermod --shell /usr/bin/zsh $ADMIN
RUN su - $ADMIN -c "git clone git://github.com/akerl/....git /home/$ADMIN/..."
RUN su - $ADMIN -c '.../... conf https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf'
RUN su - $ADMIN -c '.../... supi'
| null | null |
80 | aa9291f6bff30df64518bb03c896c3bf6aa625a8 | Bumped source to 20210122-c775b49 | Bumped source to 20210122-c775b49
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210122-bc73317
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:20210122-c775b49
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 |
384 | 1905e167228c22824d838e8090268d31b8e518a3 | added firmware manager submodule | added firmware manager submodule
| FROM chriz2600/quartus-lite
RUN apt-get install -y curl
ADD files/51-usbblaster.rules /etc/udev/rules.d/51-usbblaster.rules
RUN mkdir -p /srv && cd /root && git clone https://github.com/chriz2600/DreamcastHDMI.git
ADD files/build /root/build
ADD files/build.projects /root/build.projects
ADD files/program /root/program
RUN mkdir -p /root/JIC/
ADD files/JIC.tgz /root/JIC/
| FROM chriz2600/quartus-lite
RUN apt-get install -y curl
ADD files/51-usbblaster.rules /etc/udev/rules.d/51-usbblaster.rules
RUN mkdir -p /srv && cd /root && git clone --recurse-submodules https://github.com/chriz2600/DreamcastHDMI.git
ADD files/build /root/build
ADD files/build.projects /root/build.projects
ADD files/program /root/program
RUN mkdir -p /root/JIC/
ADD files/JIC.tgz /root/JIC/
| null |
2228 | e24a2d488fe72ba524ac3a4395e01b5a13b14b02 | Add glibc | Add glibc
| FROM rawmind/alpine-monit:0.5.20-4
MAINTAINER Sebastien LANGOUREAUX (linuxworkgroup@hotmail.com)
ENV SERVICE_NAME=minio \
SERVICE_HOME=/opt/minio \
SERVICE_VERSION=RELEASE.2017-01-25T03-14-52Z \
SERVICE_CONF=/opt/minio/conf/minio-server.cfg \
SERVICE_USER=minio \
SERVICE_UID=10003 \
SERVICE_GROUP=minio \
SERVICE_GID=10003 \
SERVICE_VOLUME=/opt/tools \
PATH=/opt/minio/bin:${PATH}
# Install Glibc
ENV GLIBC_VERSION="2.23-r1"
RUN \
apk add --update -t deps wget ca-certificates \
&& cd /tmp \
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-bin-${GLIBC_VERSION}.apk \
&& apk add --allow-untrusted glibc-${GLIBC_VERSION}.apk glibc-bin-${GLIBC_VERSION}.apk \
&& /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib/ \
&& echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
&& apk del --purge deps \
&& rm /tmp/* /var/cache/apk/*
# Install service software
RUN apk update && apk add openrc &&\
mkdir -p ${SERVICE_HOME}/logs ${SERVICE_HOME}/data ${SERVICE_HOME}/bin ${SERVICE_HOME}/conf && \
addgroup -g ${SERVICE_GID} ${SERVICE_GROUP} && \
adduser -g "${SERVICE_NAME} user" -D -h ${SERVICE_HOME} -G ${SERVICE_GROUP} -s /sbin/nologin -u ${SERVICE_UID} ${SERVICE_USER} &&\
&& apk del --purge deps \
&& rm /tmp/* /var/cache/apk/*
ADD https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.${SERVICE_VERSION} ${SERVICE_HOME}/bin/minio
ADD root /
RUN chmod +x ${SERVICE_HOME}/bin/* \
&& chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SERVICE_HOME} /opt/monit
USER $SERVICE_USER
WORKDIR $SERVICE_HOME
VOLUME ${SERVICE_HOME}/data
EXPOSE 9000
| null | null |
2275 | bdee3d84e6b166084896a840799150c04580dd87 | fix(docker): remove default Docker command | fix(docker): remove default Docker command
This was added in https://github.com/pelias/openstreetmap/pull/454 and
while it may be nice to have importer containers know how to start
themselves, it means that running `pelias compose up` (or
`docker-compose up`) in the pelias/docker repo would _always_ start all
the importers.
With that in mind, it's best to leave this off for now, and have the
`pelias` executable know to call `./bin/start` on each importer.
| # base image
FROM pelias/baseimage
# downloader apt dependencies
# note: this is done in one command in order to keep down the size of intermediate containers
RUN apt-get update && apt-get install -y bzip2 unzip && rm -rf /var/lib/apt/lists/*
# change working dir
ENV WORKDIR /code/pelias/openstreetmap
WORKDIR ${WORKDIR}
# copy package.json first to prevent npm install being rerun when only code changes
COPY ./package.json ${WORKDIR}
RUN npm install
# add local code
ADD . ${WORKDIR}
# run as the pelias user, starting with tests
USER pelias
# run tests
RUN npm test
CMD [ "./bin/start" ]
| null | null |
15 | 64052272ce2db83e222d4c1feb6fd7c9c9372619 | Added a Dockerfile | Added a Dockerfile
| # Pull base image.
FROM quay.io/verygoodsecurity/aws-cli-tools:latest
MAINTAINER Gordon Young <gjyoung1974@gmail.com>
ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1
ADD gemrc /root/.gemrc
RUN apk update \
&& apk add ruby \
ruby-bigdecimal \
ruby-bundler \
ruby-io-console \
ruby-irb \
ca-certificates \
libressl \
gnupg \
tar \
curl \
bash \
procps \
sudo \
graphviz \
ttf-freefont \
&& apk add --virtual build-dependencies \
build-base \
ruby-dev \
libressl-dev \
\
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure irue \
&& gem install json --no-rdoc --no-ri \
\
&& gem cleanup \
&& apk del build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
# Add the sgviz user
RUN adduser -u 1000 -G wheel -D sgviz
RUN echo "sgviz ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
WORKDIR /home/sgviz
RUN chown -R sgviz:users /home/sgviz
USER sgviz
RUN sudo cp -R /root/.aws . && sudo chown -R sgviz:users /home/sgviz/.aws
ADD gemrc /home/sgviz/.gemrc
# install RVM, Ruby, and Bundler
# Download and Build
RUN curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
RUN curl -L -o stable.tar.gz https://github.com/rvm/rvm/archive/stable.tar.gz && tar -xvf stable.tar.gz
RUN cd ./rvm-stable && ./scripts/install
RUN /bin/bash -l -c "sudo gem install bundler --no-ri --no-rdoc"
RUN /bin/bash -l -c "sudo gem install sgviz --no-ri --no-rdoc"
| # Pull base image.
FROM gjyoung1974/aws-cli-tools:latest
MAINTAINER Gordon Young <gjyoung1974@gmail.com>
ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1
ADD gemrc /root/.gemrc
RUN apk update \
&& apk add ruby \
ruby-bigdecimal \
ruby-bundler \
ruby-io-console \
ruby-irb \
ca-certificates \
libressl \
gnupg \
tar \
curl \
bash \
procps \
sudo \
graphviz \
ttf-freefont \
&& apk add --virtual build-dependencies \
build-base \
ruby-dev \
libressl-dev \
\
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure irue \
&& gem install json --no-rdoc --no-ri \
\
&& gem cleanup \
&& apk del build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
# Add the sgviz user
RUN adduser -u 1000 -G wheel -D sgviz
RUN echo "sgviz ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
WORKDIR /home/sgviz
RUN chown -R sgviz:users /home/sgviz
USER sgviz
RUN sudo cp -R /root/.aws . && sudo chown -R sgviz:users /home/sgviz/.aws
ADD gemrc /home/sgviz/.gemrc
# install RVM, Ruby, and Bundler
# Download and Build
RUN curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
RUN curl -L -o stable.tar.gz https://github.com/rvm/rvm/archive/stable.tar.gz && tar -xvf stable.tar.gz
RUN cd ./rvm-stable && ./scripts/install
RUN /bin/bash -l -c "sudo gem install bundler --no-ri --no-rdoc"
RUN /bin/bash -l -c "sudo gem install sgviz --no-ri --no-rdoc"
| null |
337 | 7872941a1b37726c90b7745ebd9ca5707a28d058 | Bumped source to 20200413-57a1f30 | Bumped source to 20200413-57a1f30
| FROM docker.pkg.github.com/dock0/ssh/ssh:20200413-215dd6b
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:20200413-57a1f30
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 |
278 | d7fe8e904e391c63d428e61926afef83c535ab35 | Bumped source to 20200710-c2869e3 | Bumped source to 20200710-c2869e3
| FROM docker.pkg.github.com/dock0/service/service:20200710-dc4078e
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:20200710-c2869e3
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 |
2088 | fb4a90fdac6b94d2a24801415036b952af7a77fa | Bumped source to 20210111-9bb3cef | Bumped source to 20210111-9bb3cef
| FROM docker.pkg.github.com/dock0/arch/arch:20210111-961e33e
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 |
2283 | b7a323749e91c383d0b4f7a62fd7fd731822d40d | chore(craft): update version to 2.6.2994 | chore(craft): update version to 2.6.2994
+ add simplexml module
+ add zlib module
| FROM alpine:3.6
MAINTAINER Enrico Icardi "enrico@welance.com"
# Set craft cms version
ENV CRAFT_VERSION=2.6
ENV CRAFT_BUILD=2992
ENV CRAFT_ZIP=Craft-$CRAFT_VERSION.$CRAFT_BUILD.zip
# install php/apache2/sha256sum
RUN apk add --no-cache \
apache2 \
apache2-ssl \
php7 \
php7-apache2 \
php7-pdo \
php7-pdo_mysql \
php7-mcrypt \
php7-gd \
php7-openssl \
php7-mbstring \
php7-json \
php7-curl \
php7-phar \
php7-mysqli \
php7-session \
php7-iconv \
php7-ctype \
php7-zip \
php7-xml \
unzip \
tar \
coreutils \
wget; \
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"; \
php composer-setup.php --install-dir=/usr/local/bin --filename=composer; \
mkdir -p /data; mkdir -p /run/apache2; \
cd /data; \
composer require nerds-and-company/schematic:3.8.*
# create the folder if not exists or apache will not start
# Download the latest Craft (https://craftcms.com/support/download-previous-versions)
ADD https://download.buildwithcraft.com/craft/$CRAFT_VERSION/$CRAFT_VERSION.$CRAFT_BUILD/$CRAFT_ZIP /tmp/$CRAFT_ZIP
# Extract craft to webroot & remove default template files
RUN unzip -qo /tmp/$CRAFT_ZIP -d /data
# Add the environment variable settings to public/index.php
#RUN mv $WEBROOT/index.php $CRAFTROOT/index.php.original
#RUN awk '!found && /\$craftPath/ {print;print "define(\"CRAFT_ENVIRONMENT\", env(\"CRAFT_ENVIRONMENT\"));";found=1;next} 1' $CRAFTROOT/index.php.original > $WEBROOT/index.php
# Cleanup
RUN rm /tmp/$CRAFT_ZIP
#&& chown -Rf www-data:www-data $CRAFTROOT
ADD scripts /data/scripts
RUN chmod +x /data/scripts/*.sh
# this script will be used to orchestrate the startup of the containers
ADD scripts/poll-db.php /data/scripts/poll-db.php
EXPOSE 80
CMD ["/data/scripts/run-craft.sh"]
| null | null |
225 | 41afb5e038ab679d284d85d9653ade6c69abf673 | Updated Atlassian JIRA Software master branch to latest version 9.1.1 | Updated Atlassian JIRA Software master branch to latest version 9.1.1
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 9.2.0
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.25.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| FROM openjdk:8-alpine
# Configuration variables.
ENV JIRA_HOME /var/atlassian/jira
ENV JIRA_INSTALL /opt/atlassian/jira
ENV JIRA_VERSION 9.1.1
# Install Atlassian JIRA and helper tools and setup initial home
# directory structure.
RUN set -x \
&& apk add --no-cache curl xmlstarlet bash ttf-dejavu libc6-compat \
&& mkdir -p "${JIRA_HOME}" \
&& mkdir -p "${JIRA_HOME}/caches/indexes" \
&& chmod -R 700 "${JIRA_HOME}" \
&& chown -R daemon:daemon "${JIRA_HOME}" \
&& mkdir -p "${JIRA_INSTALL}/conf/Catalina" \
&& curl -Ls "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.13.26.tar.gz" | tar -xz --directory "${JIRA_INSTALL}" --strip-components=1 --no-same-owner \
&& curl -Ls "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz" | tar -xz --directory "${JIRA_INSTALL}/lib" --strip-components=1 --no-same-owner "mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar" \
&& rm -f "${JIRA_INSTALL}/lib/postgresql-9.1-903.jdbc4-atlassian-hosted.jar" \
&& curl -Ls "https://jdbc.postgresql.org/download/postgresql-42.2.1.jar" -o "${JIRA_INSTALL}/lib/postgresql-42.2.1.jar" \
&& chmod -R 700 "${JIRA_INSTALL}/conf" \
&& chmod -R 700 "${JIRA_INSTALL}/logs" \
&& chmod -R 700 "${JIRA_INSTALL}/temp" \
&& chmod -R 700 "${JIRA_INSTALL}/work" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/conf" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/logs" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/temp" \
&& chown -R daemon:daemon "${JIRA_INSTALL}/work" \
&& sed --in-place "s/java version/openjdk version/g" "${JIRA_INSTALL}/bin/check-java.sh" \
&& echo -e "\njira.home=$JIRA_HOME" >> "${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/jira-application.properties" \
&& touch -d "@0" "${JIRA_INSTALL}/conf/server.xml"
# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
# here we only ever run one process anyway.
USER daemon:daemon
# Expose default HTTP connector port.
EXPOSE 8080
# Set volume mount points for installation and home directory. Changes to the
# home directory needs to be persisted as well as parts of the installation
# directory due to eg. logs.
VOLUME ["/var/atlassian/jira", "/opt/atlassian/jira/logs"]
# Set the default working directory as the installation directory.
WORKDIR /var/atlassian/jira
COPY "docker-entrypoint.sh" "/"
ENTRYPOINT ["/docker-entrypoint.sh"]
# Run Atlassian JIRA as a foreground process by default.
CMD ["/opt/atlassian/jira/bin/start-jira.sh", "-fg"]
| null |
2185 | 0fbbddadfc3ebc2d9ddd3c8e3f0f5dd4fe567505 | added comments | added comments
| FROM ubuntu:latest
#ENV DEBIAN_FRONTEND=noninteractive
# Install packages
RUN apt-get update
RUN apt-get install -y \
supervisor \
curl \
vim \
wget \
php-fpm \
php-mysql \
php-mcrypt \
php-gd \
php-memcached \
php-curl \
php-xdebug \
php-dev \
php-pear \
php7.0-ldap \
unzip \
nginx \
openssh-server \
rsync
# installs add-apt-repository
RUN apt-get install software-properties-common -y
RUN apt-get update -y
# Create required directories
RUN mkdir -p /var/log/supervisor
RUN mkdir -p /etc/nginx
RUN mkdir -p /var/run/php
# Oracle instantclient
ADD oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip /tmp/instantclient-basic-linux.x64-12.1.0.2.0.zip
ADD oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip /tmp/instantclient-sdk-linux.x64-12.1.0.2.0.zip
ADD oracle/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip /tmp/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip
RUN unzip /tmp/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN unzip /tmp/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip -d /usr/local/
RUN ln -s /usr/local/instantclient_12_1 /usr/local/instantclient
RUN ln -s /usr/local/instantclient/libclntsh.so.12.1 /usr/local/instantclient/libclntsh.so
RUN ln -s /usr/local/instantclient/sqlplus /usr/bin/sqlplus
RUN apt-get install libaio-dev -y
RUN echo 'instantclient,/usr/local/instantclient' | pecl install oci8
RUN apt-get clean -y
#Install Drush
RUN apt-get install drush -y
# Add configuration filess
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD php.ini /etc/php/7.0/fpm/conf.d/40-custom.ini
ADD startup.sh /opt/startup.sh
RUN sed -i 's/;daemonize = yes/daemonize = no/g' /etc/php/7.0/fpm/php-fpm.conf
RUN cp -r /etc/php/7.0/fpm /tmp/fpm
# Expose volumes
VOLUME ["/etc/php/7.0/fpm", "/var/www", "/etc/nginx/sites-enabled"]
RUN service php7.0-fpm start
CMD ["/bin/bash", "/opt/startup.sh"]#,["/usr/bin/supervisord"]
| null | null |
97 | 7a99e7c5dac4a2f73a7e4229d42fbc8bf7b4fe4f | dockerfile: upgrade to `quay.io/sameersbn/ubuntu:14.04.20151011` | dockerfile: upgrade to `quay.io/sameersbn/ubuntu:14.04.20151011`
| FROM sameersbn/ubuntu:14.04.20150825
MAINTAINER sameer@damagehead.com
ENV WOWZA_VERSION=4.1.2 \
WOWZA_DATA_DIR=/var/lib/wowza \
WOWZA_LOG_DIR=/var/log/wowza
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget supervisor openjdk-7-jre \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /app/install.sh
RUN bash /app/install.sh
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 1935/tcp 8086/tcp 8087/tcp 8088/tcp
VOLUME ["${WOWZA_DATA_DIR}", "${WOWZA_LOG_DIR}"]
ENTRYPOINT ["/sbin/entrypoint.sh"]
| FROM quay.io/sameersbn/ubuntu:14.04.20151011
MAINTAINER sameer@damagehead.com
ENV WOWZA_VERSION=4.1.2 \
WOWZA_DATA_DIR=/var/lib/wowza \
WOWZA_LOG_DIR=/var/log/wowza
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget supervisor openjdk-7-jre \
&& rm -rf /var/lib/apt/lists/*
COPY install.sh /app/install.sh
RUN bash /app/install.sh
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 1935/tcp 8086/tcp 8087/tcp 8088/tcp
VOLUME ["${WOWZA_DATA_DIR}", "${WOWZA_LOG_DIR}"]
ENTRYPOINT ["/sbin/entrypoint.sh"]
| null |
2154 | 129501193d76ba1ede6659a555ed3570202c36e1 | Avoid package version bug | Avoid package version bug
| FROM ubuntu:trusty
MAINTAINER KIYOHIRO ADACHI <kiyoad@da2.so-net.ne.jp>
ENV REFRESHED_AT 2015-04-25
ENV DEBIAN_FRONTEND noninteractive
RUN \
echo "deb http://ftp.riken.jp/Linux/ubuntu/ trusty main multiverse" >> /etc/apt/sources.list && \
echo "deb-src http://ftp.riken.jp/Linux/ubuntu/ trusty main multiverse" >> /etc/apt/sources.list && \
apt-get update && apt-get upgrade -y && \
apt-get install -qy openssh-server xz-utils && \
apt-get install -qy gcc make && \
apt-get install -qy libtinfo-dev libx11-dev libxaw7-dev libgif-dev libjpeg-turbo8-dev libpng12-dev libtiff5-dev libxml2-dev librsvg2-dev libxft-dev libxpm-dev libgpm-dev libsm-dev libice-dev libxrandr-dev libxinerama-dev && \
apt-get install -qy aspell wamerican && \
apt-get install -qy fonts-takao fonts-takao-gothic fonts-takao-mincho fonts-takao-pgothic && \
apt-get install -qy language-pack-ja-base language-pack-ja && \
apt-get install -qy cmigemo libncurses5-dev exuberant-ctags && \
apt-get install -qy sdic sdic-edict sdic-gene95 && \
apt-get install -qy git libpython2.7-dev silversearcher-ag texinfo install-info && \
rm -rf /var/lib/apt/lists/*
RUN \
mkdir /var/run/sshd && \
adduser --disabled-password --gecos "Developer" --uid 1000 developer && \
mkdir /home/developer/.ssh
ADD id_rsa.pub /home/developer/.ssh/authorized_keys
RUN \
echo "lang en_US" > /home/developer/.aspell.conf && \
chown -R developer:developer /home/developer && \
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
chmod 0440 /etc/sudoers.d/developer && \
update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" && \
cp -p /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
echo "Asia/Tokyo" > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
ENV LANG ja_jp.UTF-8
WORKDIR /home/developer
RUN \
export emacs=emacs-24.5 && \
wget -q -O - http://ftpmirror.gnu.org/emacs/${emacs}.tar.xz | tar xJf - && \
mv ${emacs} .build_emacs && \
(cd .build_emacs && ./configure && make install && make clean && cd ..)
RUN \
export global=global-6.4 && \
wget -q -O - http://ftpmirror.gnu.org/global/${global}.tar.gz | tar zxf - && \
mv ${global} .build_global && \
(cd .build_global && ./configure --with-exuberant-ctags=/usr/bin/ctags-exuberant && make install && make clean && cd ..) && \
cp /usr/local/share/gtags/gtags.conf .globalrc && \
export ecgtags_path=/usr/local/bin/ecgtags && \
echo '#!/bin/bash' > ${ecgtags_path} && \
echo 'gtags --gtagslabel=exuberant-ctags $*' >> ${ecgtags_path} && \
chmod a+x ${ecgtags_path} && \
export pygtags_path=/usr/local/bin/pygtags && \
echo '#!/bin/bash' > ${pygtags_path} && \
echo 'gtags --gtagslabel=pygments-parser $*' >> ${pygtags_path} && \
chmod a+x ${pygtags_path}
RUN \
mkdir .build_pip && \
(cd .build_pip && wget -q https://bootstrap.pypa.io/get-pip.py && python get-pip.py && cd ..)
RUN \
pip install grip virtualenv flake8 pygments && \
export markdown_path=/usr/local/bin/markdown && \
echo '#!/bin/bash' > ${markdown_path} && \
echo 'set -eu' >> ${markdown_path} && \
echo 'grip --gfm --export ${1} > /dev/null' >> ${markdown_path} && \
echo 'cat ${1%.*}.html' >> ${markdown_path} && \
chmod a+x ${markdown_path}
ENTRYPOINT ["/usr/sbin/sshd", "-D"]
EXPOSE 22
| null | null |
2166 | 27e72e326418609e25e8278e038df9c38b4f5f74 | Container build throws 404 error on graphviz repo | Container build throws 404 error on graphviz repo
- external graphviz repository URL is no longer valid
- drop the dependency on the external graphviz repository since
a previous commit changed the container to use Fedora which
provides a suitable version of graphviz
Signed-off-by: Robert Marshall <0465b3b4f3ae0103ad50d09ff86a3523700a2979@redhat.com>
| # 1. Automated build:
# https://hub.docker.com/r/lao605/product-definition-center/builds/
#
###########################################
# Guide:
# 1. Use this to build a new image
# docker build -t <YOUR_NAME>/pdc <the directory your Dockerfile is located>
#
# 2. Running the container
# 2.1 To display the log interactively (with a terminal)
# docker run -it -P -v $PWD:$PWD <YOUR_NAME>/pdc python $PWD/manage.py runserver 0.0.0.0:8000
#
# 2.2 To run the container in daemon mode
# docker run -d -P -v $PWD:$PWD <YOUR_NAME>/pdc python $PWD/manage.py runserver 0.0.0.0:8000
#
#
# 3. Check the addresses
# 3.1 Check the address of the docker machine
# *For Mac OS or Windows Users*
# docker-machine env <the name of your docker machine> --> DOCKER_HOST
#
# *For Linux Users*
# docker inspect <container_id> | grep IPAddress | cut -d '"' -f 4 --> DOCKER_HOST
#
# 3.2 Check the mapped port of your running container
# docker ps -l --> PORTS
#
# 4. Access it
# visit <DOCKER_HOST:PORTS> on your web browser
#
# 5. Edit code and see changes
# save after editing code in your $PWD directory and see changes will happen in the container (changes need more time to take effect than in local env)
FROM fedora:26
MAINTAINER Zhikun Lao <zlao@redhat.com>
LABEL Description = "product-definition-center"
LABEL Vendor = "Red Hat"
LABEL Version = "0.5"
# patternfly1
RUN curl -L https://copr.fedorainfracloud.org/coprs/patternfly/patternfly1/repo/fedora-26/patternfly-patternfly1-fedora-26.repo > /etc/yum.repos.d/patternfly-patternfly1-fedora-26.repo
RUN curl -L http://www.graphviz.org/graphviz-rhel.repo > /etc/yum.repos.d/graphviz-rhel.repo
# solve dependencies
RUN dnf -y upgrade && \
dnf install -y \
rpm-build \
sudo \
passwd \
tar \
git \
make \
gcc \
libuuid-devel \
python-devel \
python-setuptools \
python-pip \
swig \
openldap-devel \
krb5-devel \
koji \
patternfly1 \
vim-enhanced \
'graphviz*' \
libxml2 \
libxslt \
libxml2-devel \
libxslt-devel \
# openssh-server \
net-tools && \
dnf clean all
RUN echo "123" | passwd root --stdin
COPY requirements /tmp/requirements/
RUN pip install -r /tmp/requirements/devel.txt
# RUN echo "Port 22" >> /etc/ssh/sshd_config
# RUN echo "ListenAddress 0.0.0.0" >> /etc/ssh/sshd_config
# RUN ssh-keygen -A
# RUN systemctl enable sshd.service
# EXPOSE 8000 22
EXPOSE 8000
CMD ["/bin/bash"]
| null | null |
2224 | 9aefd0572273816a04db29b29185b407a2d945fb | Run docker/update.sh | Run docker/update.sh
| FROM alpine:3.2
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
ENV DOCKER_VERSION 1.10.0-dev
ENV DOCKER_URL https://experimental.docker.com/builds/Linux/x86_64/docker-1.10.0-dev
ENV DOCKER_SHA256 1e92f0fb52969a2c88500ce282a4aa4f3753ff00a113dea324e9dbb976bcddc6
RUN curl -fSL "${DOCKER_URL}" -o /usr/local/bin/docker \
&& echo "${DOCKER_SHA256} /usr/local/bin/docker" | sha256sum -c - \
&& chmod +x /usr/local/bin/docker
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
| null | null |
89 | 5ec2d0249b136c35d5d65169d000c30c1c0114a6 | Bumped source to 20210817-73272a1 | Bumped source to 20210817-73272a1
| FROM docker.pkg.github.com/dock0/arch/arch:20210817-964e6c8
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:20210817-73272a1
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 |
247 | ffa308770c1538db4bab7ee390c5bd25ce6185b1 | fixed | fixed
| FROM ubuntu:16.04
MAINTAINER Michal Olejniczak <kaomanster@gmail.com>
# Run, run so far away!
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake pkg-config \
libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libxvidcore-dev libx264-dev \
libatlas-base-dev gfortran \
unzip wget \
python3.5-dev python3-pip python3-setuptools \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip && unzip opencv.zip && rm opencv.zip \
&& wget -O opencv_contrib.zip https://github.com/Itseez/opencv_contrib/archive/3.1.0.zip && unzip opencv_contrib.zip && rm opencv_contrib.zip
&& pip3 --no-cache-dir install matplotlib numpy scipy keras sklearn scikit-image imutils h5py \
&& http://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0rc2-cp35-cp35m-linux_x86_64.wh \
&& cd opencv-3.1.0/ && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=/opencv_contrib-3.1.0/modules \
-D PYTHON_EXECUTABLE=/usr/bin/python3.5 .. \
&& make -j4 && make install && ldconfig && cd && rm -rf opencv*
CMD ["/bin/bash"]
| FROM ubuntu:16.04
MAINTAINER Michal Olejniczak <kaomanster@gmail.com>
# Run, run so far away!
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake pkg-config \
libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libxvidcore-dev libx264-dev \
libatlas-base-dev gfortran \
unzip wget \
python3.5-dev python3-pip python3-setuptools \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip && unzip opencv.zip && rm opencv.zip \
&& wget -O opencv_contrib.zip https://github.com/Itseez/opencv_contrib/archive/3.1.0.zip && unzip opencv_contrib.zip && rm opencv_contrib.zip \
&& pip3 --no-cache-dir install matplotlib numpy scipy keras sklearn scikit-image imutils h5py \
&& http://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0rc2-cp35-cp35m-linux_x86_64.wh \
&& cd opencv-3.1.0/ && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=/opencv_contrib-3.1.0/modules \
-D PYTHON_EXECUTABLE=/usr/bin/python3.5 .. \
&& make -j4 && make install && ldconfig && cd / && rm -rf opencv*
CMD ["/bin/bash"]
| null |
149 | abc9b30bdcc4bd942ab998cbcf1f1beef8860014 | Bumped source to 20210420-1ec0a3a | Bumped source to 20210420-1ec0a3a
| FROM docker.pkg.github.com/dock0/ssh/ssh:20210420-4a55864
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:20210420-1ec0a3a
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 |
220 | 7af6052b6c9166eced2b8d8fcc1a972b0ae41652 | Bumped source to 20201110-83e2d64 | Bumped source to 20201110-83e2d64
| FROM docker.pkg.github.com/dock0/ssh/ssh:20201110-bb2e701
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:20201110-83e2d64
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 |
359 | 527c8c7070224061db14d6956b2aa571d6e7bf23 | added ruby gem scss_lint to dockerfile | added ruby gem scss_lint to dockerfile
| FROM alpine:edge
RUN apk --no-cache add nodejs ruby git python make g++
#Copy over the default Package.json
COPY ./gulp/package.json /usr/src/app/
#Copy over the default Gulpfile
COPY ./gulp/Gulpfile.js /usr/src/app/
WORKDIR /usr/src/app/
RUN npm update && npm install && npm cache clean
#Copy over, and grant executable permission to the startup script
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
#Run Startup script
ENTRYPOINT [ "/entrypoint.sh" ]
| FROM alpine:edge
RUN apk --no-cache add nodejs ruby git python make g++
#Copy over the default Package.json
COPY ./gulp/package.json /usr/src/app/
#Copy over the default Gulpfile
COPY ./gulp/Gulpfile.js /usr/src/app/
WORKDIR /usr/src/app/
RUN npm update \
&& npm install \
&& npm cache clean \
&& gem install scss_lint
#Copy over, and grant executable permission to the startup script
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
#Run Startup script
ENTRYPOINT [ "/entrypoint.sh" ]
| null |
2251 | c19e8b793e786f14de2d7ad8768872c87f917ba5 | Fix order of update command during build | Fix order of update command during build
| # Build environment for CyanogenMod
#
# VERSION 0.1
FROM ubuntu:12.04
MAINTAINER Michael Stucki <mundaun@gmx.ch>
# Newer images of ubuntu:12.04 already contain this entry, and if the line appears twice in the file, apt would throw a warning.
RUN grep -q "universe" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update
RUN apt-get install -y python-software-properties bsdmainutils curl file screen
RUN add-apt-repository ppa:nilarimogard/webupd8
RUN apt-get update
RUN apt-get install -y android-tools-adb android-tools-fastboot
RUN apt-get install -y bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev
RUN apt-get install -y g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
RUN apt-get install -y tig
RUN apt-get -qqy upgrade
# Workaround for apt-get upgrade issue described here: https://github.com/dotcloud/docker/issues/1724
# If you still have problems with upgrading this image, you most likely use an outdated base image
RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot
RUN useradd --create-home cmbuild
RUN mkdir /home/cmbuild/bin
RUN curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > /home/cmbuild/bin/repo
RUN chmod a+x /home/cmbuild/bin/repo
RUN echo "export PATH=${PATH}:/home/cmbuild/bin" >> /etc/bash.bashrc
RUN echo "export USE_CCACHE=1" >> /etc/bash.bashrc
WORKDIR /home/cmbuild/android
VOLUME /home/cmbuild/android
| null | null |
4 | 1fa81ebdb8583c39f35de042669bf10f71ffbb83 | Update Dockerfile to use LLVM 3.9 (#1368) | Update Dockerfile to use LLVM 3.9 (#1368)
The Dockerfile was using the apt package llvm-dev which installed llvm 3.8.0.
This change will Install the prebuilt binary of llvm 3.9.0 instead. | FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y make g++ git \
zlib1g-dev libncurses5-dev libssl-dev \
llvm-dev libpcre2-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src/ponyc
COPY Makefile LICENSE VERSION /src/ponyc/
COPY src /src/ponyc/src
COPY lib /src/ponyc/lib
COPY test /src/ponyc/test
COPY packages /src/ponyc/packages
RUN make config=release install \
&& rm -rf /src/ponyc/build
RUN mkdir /src/main
WORKDIR /src/main
CMD ponyc
| FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y make g++ git wget xz-utils \
zlib1g-dev libncurses5-dev libssl-dev \
libpcre2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& wget http://llvm.org/releases/3.9.0/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz \
&& tar xf clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz \
&& cp -r clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04/* /usr/local \
&& rm -rf /clang*
WORKDIR /src/ponyc
COPY Makefile LICENSE VERSION /src/ponyc/
COPY src /src/ponyc/src
COPY lib /src/ponyc/lib
COPY test /src/ponyc/test
COPY packages /src/ponyc/packages
RUN make \
&& make install \
&& rm -rf /src/ponyc/build
RUN mkdir /src/main
WORKDIR /src/main
CMD ponyc
| null |
161 | 67ee728371a402091946763782d525ee200ed9a0 | Revert compatibility issue fix | Revert compatibility issue fix
| # Dockerfile for EventStore
# http://geteventstore.com/
FROM debian:jessie
MAINTAINER Wadim Kruse <wadim.kruse@gmail.com>
# Install curl
RUN apt-get update && apt-get install -y curl
# Create user
RUN addgroup eventstore \
&& adduser --ingroup eventstore --disabled-password --gecos "Database" eventstore \
&& usermod -L eventstore
# Set environment variables
USER eventstore
ENV ES_VERSION 3.0.1
ENV ES_HOME /opt/EventStore-OSS-Linux-v$ES_VERSION
ENV EVENTSTORE_DB /data/db
ENV EVENTSTORE_LOG /data/logs
# Download and extract EventStore
USER root
RUN curl http://download.geteventstore.com/binaries/EventStore-OSS-Linux-v$ES_VERSION.tar.gz | tar xz --directory /opt \
&& chown -R eventstore:eventstore $ES_HOME
# Add volumes
RUN mkdir -p $EVENTSTORE_DB && mkdir -p $EVENTSTORE_LOG \
&& chown -R eventstore:eventstore $EVENTSTORE_DB $EVENTSTORE_LOG
VOLUME /data/db
VOLUME /data/logs
# Change working directory
WORKDIR $ES_HOME
# Fix "exec format error"
RUN sed -i '1 c #!/bin/bash' run-node.sh
# Run
ENTRYPOINT ["./run-node.sh"]
CMD ["--help"]
# Expose the HTTP and TCP ports
EXPOSE 2113 1113
# Clean up.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | # Dockerfile for EventStore
# http://geteventstore.com/
FROM debian:jessie
MAINTAINER Wadim Kruse <wadim.kruse@gmail.com>
# Install curl
RUN apt-get update && apt-get install -y curl
# Create user
RUN addgroup eventstore \
&& adduser --ingroup eventstore --disabled-password --gecos "Database" eventstore \
&& usermod -L eventstore
# Set environment variables
USER eventstore
ENV ES_VERSION 3.0.1
ENV ES_HOME /opt/EventStore-OSS-Linux-v$ES_VERSION
ENV EVENTSTORE_DB /data/db
ENV EVENTSTORE_LOG /data/logs
# Download and extract EventStore
USER root
RUN curl http://download.geteventstore.com/binaries/EventStore-OSS-Linux-v$ES_VERSION.tar.gz | tar xz --directory /opt \
&& chown -R eventstore:eventstore $ES_HOME
# Add volumes
RUN mkdir -p $EVENTSTORE_DB && mkdir -p $EVENTSTORE_LOG \
&& chown -R eventstore:eventstore $EVENTSTORE_DB $EVENTSTORE_LOG
VOLUME $EVENTSTORE_DB
VOLUME $EVENTSTORE_LOG
# Change working directory
WORKDIR $ES_HOME
# Fix "exec format error"
RUN sed -i '1 c #!/bin/bash' run-node.sh
# Run
ENTRYPOINT ["./run-node.sh"]
CMD ["--help"]
# Expose the HTTP and TCP ports
EXPOSE 2113 1113
# Clean up.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | null |
164 | 1882f56f349a0352ad97ee33fbedf6288b0a8e81 | Update dockerfile | Update dockerfile
| FROM ubuntu:14.04
# Time zone
ENV DEBIAN_FRONTEND noninteractive
RUN echo "Europe/Oslo" > /etc/timezone
RUN dpkg-reconfigure tzdata
# Install ca-certificates
RUN apt-get -y update
RUN apt-get -y install ca-certificates
# Add app
RUN mkdir /app
ADD bin/nrk-spotify /app/nrk-spotify
RUN chmod 0755 /app/nrk-spotify
ENTRYPOINT ["/app/nrk-spotify"]
| FROM ubuntu:14.04
# Time zone
ENV DEBIAN_FRONTEND noninteractive
RUN echo "Europe/Oslo" > /etc/timezone
RUN dpkg-reconfigure tzdata
# Install ca-certificates
RUN apt-get -y update
RUN apt-get -y install ca-certificates
# Add app
RUN mkdir /app
ADD nrk-spotify /app/nrk-spotify
RUN chmod 0755 /app/nrk-spotify
ENTRYPOINT ["/app/nrk-spotify"]
| null |
214 | 7bc11468cd9dbcbc17a504269cd437cd450d278d | bump dockerfile to 1.0 | bump dockerfile to 1.0
| FROM ubuntu:12.04
RUN echo deb http://packages.flapjack.io/deb precise main >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y --force-yes flapjack
CMD /etc/init.d/redis-flapjack start && /opt/flapjack/bin/flapjack start --no-daemonize
| FROM ubuntu:12.04
RUN echo deb http://packages.flapjack.io/deb/1.0 precise main >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y --force-yes flapjack
#CMD /etc/init.d/redis-flapjack start && /opt/flapjack/bin/flapjack start --no-daemonize
| null |
2175 | aaef0d8307db8205c88dce6a9dfa7ffd2bda7d8d | fix version | fix version
| ARG BASEIMAGES=3.15
FROM alpine:${BASEIMAGES} AS builder
LABEL maintainer="chaiyd <chaiyd.cn@gmail.com>"
ARG YEARNING_VER=2.3.5
ARG YEARNING_URL=https://github.com/cookieY/Yearning/releases/download/${YEARNING_VER}/Yearning-${YEARNING_VER}-linux-amd64.zip
RUN wget -cO yearning.zip $YEARNING_URL && \
unzip yearning.zip && \
mv Yearning/* /opt
FROM alpine:${BASEIMAGES}
LABEL maintainer="chaiyd <chaiyd.cn@gmail.com>"
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache ca-certificates bash tree tzdata libc6-compat dumb-init \
&& cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
COPY --from=builder /opt/Yearning /opt/Yearning
#COPY --from=builder /opt/Yearning-go/dist /opt/Yearning-go/dist
COPY --from=builder /opt/conf.toml /opt/conf.toml
WORKDIR /opt/
EXPOSE 8000
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/opt/Yearning", "run"]
| null | null |
2229 | 1a6d08e527559342e60f3badf0681b7a6d08f47d | Update to 8.4.3 | Update to 8.4.3
| # Kibana 8.4.2
# This image re-bundles the Docker image from the upstream provider, Elastic.
FROM docker.elastic.co/kibana/kibana:8.4.2@sha256:7047f011c3806314f7151b3628d117edf909a2208a8fc65cc77c3d3bf5f48874
# Supported Bashbrew Architectures: amd64 arm64v8
# The upstream image was built by:
# https://github.com/elastic/dockerfiles/tree/v8.4.2/kibana
# The build can be reproduced locally via:
# docker build 'https://github.com/elastic/dockerfiles.git#v8.4.2:kibana'
# For a full list of supported images and tags visit https://www.docker.elastic.co
# For documentation visit https://www.elastic.co/guide/en/kibana/current/docker.html
# See https://github.com/docker-library/official-images/pull/4917 for more details.
| null | null |
2167 | 050f0205cfc1a50ffa603663ea2518de18933aba | Bumped source to 20201120-d60fc5f | Bumped source to 20201120-d60fc5f
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20201120-dfaed75
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null | null |
61 | 66618494e5d528fead7d4194af9ab0e50d315a9e | Bump python version to 3.8 | Bump python version to 3.8
Everything else should be the same, but this version of python should
support the newer numpy some dependencies need
| FROM python:3.7-buster
ENV RNA /rna
WORKDIR $RNA
RUN apt-get update
RUN apt-get upgrade -y
# Install all required packages
RUN apt-get install -y \
bedtools \
ca-certificates \
curl \
default-mysql-client \
devscripts \
freetds-dev \
gawk \
gcc \
git \
gzip \
hmmer \
jq \
lftp \
libsqlite3-dev \
libssl1.1 \
libxml2-utils \
libzip-dev \
moreutils \
mysql-common \
openssl \
pandoc \
patch \
pgloader \
postgresql-11 \
postgresql-client-11 \
procps \
python3 \
python3-dev \
python3-pip \
rsync \
sbcl \
tabix \
tar \
time \
unzip \
wget
# Install Infernal
RUN \
cd $RNA/ && \
curl -OL http://eddylab.org/infernal/infernal-1.1.2.tar.gz && \
tar -xvzf infernal-1.1.2.tar.gz && \
rm infernal-1.1.2.tar.gz && \
cd infernal-1.1.2 && \
./configure --prefix=$RNA/infernal-1.1.2 && \
make && \
make install && \
cd easel && \
make install
# Install blat
RUN \
wget https://users.soe.ucsc.edu/~kent/src/blatSrc35.zip && \
unzip blatSrc35.zip && \
rm blatSrc35.zip && \
cd blatSrc && \
mkdir bin && \
make MACHTYPE=x86_64 BINDIR=$PWD/bin
# Install seqkit
RUN \
mkdir seqkit && \
cd seqkit && \
wget https://github.com/shenwei356/seqkit/releases/download/v0.10.0/seqkit_linux_amd64.tar.gz && \
tar xvf seqkit_linux_amd64.tar.gz && \
rm seqkit_linux_amd64.tar.gz
# Install ribovore
RUN git clone https://github.com/nawrockie/epn-ofile.git && cd epn-ofile && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/epn-options.git && cd epn-options && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/epn-test.git && cd epn-test && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/ribovore.git && cd ribovore && git fetch && git fetch --tags && git checkout ribovore-0.40
# Install useful pip version
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py
# Install python requirements
ENV RNACENTRAL_IMPORT_PIPELINE "$RNA/rnacentral-import-pipeline"
ADD requirements.txt $RNACENTRAL_IMPORT_PIPELINE/requirements.txt
RUN pip3 install --upgrade pip
RUN pip3 install -r $RNACENTRAL_IMPORT_PIPELINE/requirements.txt
RUN python3 -m textblob.download_corpora
WORKDIR /
COPY openssl/openssl.cnf /etc/ssl/
WORKDIR $RNA
# Setup environmental variables
ENV PERL5LIB="/usr/bin/env:$PERL5LIB"
ENV RIBOINFERNALDIR="$RNA/infernal-1.1.2/bin"
ENV RIBODIR="$RNA/ribovore"
ENV RIBOEASELDIR="$RNA/infernal-1.1.2/bin"
ENV EPNOPTDIR="$RNA/epn-options"
ENV EPNOFILEDIR="$RNA/epn-ofile"
ENV EPNTESTDIR="$RNA/epn-test"
ENV RIBOTIMEDIR="/usr/bin"
ENV BIOEASELDIR="$RNA/Bio-Easel/blib/lib:$RNA/Bio-Easel/blib/arch:$RNA/Bio-Easel:$RNA/Bio-Easel/lib"
ENV PERL5LIB="$BIOEASELDIR:$RIBODIR:$EPNOPTDIR:$EPNOFILEDIR:$EPNTESTDIR:$PERL5LIB"
ENV PATH="$RNA/infernal-1.1.2/bin:$PATH"
ENV PATH="$RNA/blatSrc/bin:$PATH"
ENV PATH="$RNA/seqkit:$PATH"
ENV PATH="$RNACENTRAL_IMPORT_PIPELINE:$PATH"
ENTRYPOINT ["/bin/bash"]
| FROM python:3.8-buster
ENV RNA /rna
WORKDIR $RNA
RUN apt-get update
RUN apt-get upgrade -y
# Install all required packages
RUN apt-get install -y \
bedtools \
ca-certificates \
curl \
default-mysql-client \
devscripts \
freetds-dev \
gawk \
gcc \
git \
gzip \
hmmer \
jq \
lftp \
libsqlite3-dev \
libssl1.1 \
libxml2-utils \
libzip-dev \
moreutils \
mysql-common \
openssl \
pandoc \
patch \
pgloader \
postgresql-11 \
postgresql-client-11 \
procps \
python3 \
python3-dev \
python3-pip \
rsync \
sbcl \
tabix \
tar \
time \
unzip \
wget
# Install Infernal
RUN \
cd $RNA/ && \
curl -OL http://eddylab.org/infernal/infernal-1.1.2.tar.gz && \
tar -xvzf infernal-1.1.2.tar.gz && \
rm infernal-1.1.2.tar.gz && \
cd infernal-1.1.2 && \
./configure --prefix=$RNA/infernal-1.1.2 && \
make && \
make install && \
cd easel && \
make install
# Install blat
RUN \
wget https://users.soe.ucsc.edu/~kent/src/blatSrc35.zip && \
unzip blatSrc35.zip && \
rm blatSrc35.zip && \
cd blatSrc && \
mkdir bin && \
make MACHTYPE=x86_64 BINDIR=$PWD/bin
# Install seqkit
RUN \
mkdir seqkit && \
cd seqkit && \
wget https://github.com/shenwei356/seqkit/releases/download/v0.10.0/seqkit_linux_amd64.tar.gz && \
tar xvf seqkit_linux_amd64.tar.gz && \
rm seqkit_linux_amd64.tar.gz
# Install ribovore
RUN git clone https://github.com/nawrockie/epn-ofile.git && cd epn-ofile && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/epn-options.git && cd epn-options && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/epn-test.git && cd epn-test && git fetch && git fetch --tags && git checkout ribovore-0.40
RUN git clone https://github.com/nawrockie/ribovore.git && cd ribovore && git fetch && git fetch --tags && git checkout ribovore-0.40
# Install useful pip version
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py
# Install python requirements
ENV RNACENTRAL_IMPORT_PIPELINE "$RNA/rnacentral-import-pipeline"
ADD requirements.txt $RNACENTRAL_IMPORT_PIPELINE/requirements.txt
RUN pip3 install --upgrade pip
RUN pip3 install -r $RNACENTRAL_IMPORT_PIPELINE/requirements.txt
RUN python3 -m textblob.download_corpora
WORKDIR /
COPY openssl/openssl.cnf /etc/ssl/
WORKDIR $RNA
# Setup environmental variables
ENV PERL5LIB="/usr/bin/env:$PERL5LIB"
ENV RIBOINFERNALDIR="$RNA/infernal-1.1.2/bin"
ENV RIBODIR="$RNA/ribovore"
ENV RIBOEASELDIR="$RNA/infernal-1.1.2/bin"
ENV EPNOPTDIR="$RNA/epn-options"
ENV EPNOFILEDIR="$RNA/epn-ofile"
ENV EPNTESTDIR="$RNA/epn-test"
ENV RIBOTIMEDIR="/usr/bin"
ENV BIOEASELDIR="$RNA/Bio-Easel/blib/lib:$RNA/Bio-Easel/blib/arch:$RNA/Bio-Easel:$RNA/Bio-Easel/lib"
ENV PERL5LIB="$BIOEASELDIR:$RIBODIR:$EPNOPTDIR:$EPNOFILEDIR:$EPNTESTDIR:$PERL5LIB"
ENV PATH="$RNA/infernal-1.1.2/bin:$PATH"
ENV PATH="$RNA/blatSrc/bin:$PATH"
ENV PATH="$RNA/seqkit:$PATH"
ENV PATH="$RNACENTRAL_IMPORT_PIPELINE:$PATH"
ENTRYPOINT ["/bin/bash"]
| null |
2260 | a87d48590185aa81acc5732a6133f37aeef34aae | Updated Dockerfile to cache node_modules | Updated Dockerfile to cache node_modules
| FROM node:8.5.0
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Bundle app source
COPY . /usr/src/app
RUN yarn install
RUN yarn build
ENV PORT=80
EXPOSE 5000
CMD [ "yarn", "start" ]
| null | null |
2138 | 687e9f7367510c03d97ecac5524cddc3af37bb93 | update command on Dockerfile | update command on Dockerfile | FROM scratch
EXPOSE 80
COPY rel/kanban_x86_64_linux /kanban
CMD ["/kanban"]
| null | null |
412 | 44c2d0dbf3781b6398b78c180a834deb7d96e092 | fix Dockerfile | fix Dockerfile
| FROM ubuntu:12.04
MAINTAINER Anton Romanovich <anthony.romanovich@gmail.com>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" > /etc/apt/sources.list.d/universe.list
RUN echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
RUN apt-get install -y curl
RUN curl -s https://get.docker.io/gpg | apt-key add -
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E63A3B44CF61F28A8A477DE5563540C431533D8 # syslog
RUN echo "deb http://ppa.launchpad.net/tmortensen/rsyslogv7/ubuntu precise main" >> /etc/apt/sources.list
RUN apt-get update -qq
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python-apt ca-certificates \
python-pip python-dev libev4 libev-dev libssh-dev libpcre3-dev rsyslog \
cron mysql-server redis-server git lxc-docker-0.10.0
RUN pip install supervisor
RUN useradd -m -d /home/kozmic -G docker -s /bin/bash kozmic
RUN git clone https://github.com/aromanovich/kozmic-ci.git /src/
RUN pip install -r /src/requirements/kozmic.txt
RUN pip install -r /src/requirements/tailer.txt
ADD ./files/rsyslog.conf /etc/rsyslog.d/50-default.conf
ADD ./files/rsyslog-logrotate /etc/logrotate.d/rsyslog
ADD ./files/supervisor.conf /etc/supervisor.conf
ADD ./files/kozmic-uwsgi.ini /etc/kozmic-uwsgi.ini
ADD ./files/tailer-uwsgi.ini /etc/tailer-uwsgi.ini
ADD ./files/wrapped-docker /bin/wrapped-docker
ADD ./files/crontab /etc/crontab
ADD ./files/config.py-docker /config.py-docker
ADD ./files/run.sh /run.sh
RUN chmod +x /bin/wrapped-docker /bin/docker /run.sh && \
chown root /etc/crontab && \
chmod 644 /etc/crontab
VOLUME /var/lib/docker
VOLUME /var/lib/mysql
ENTRYPOINT ["/run.sh"]
| FROM ubuntu:12.04
MAINTAINER Anton Romanovich <anthony.romanovich@gmail.com>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" > /etc/apt/sources.list.d/universe.list
RUN echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
RUN apt-get install -y curl
RUN curl -s https://get.docker.io/gpg | apt-key add -
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E63A3B44CF61F28A8A477DE5563540C431533D8 # syslog
RUN echo "deb http://ppa.launchpad.net/tmortensen/rsyslogv7/ubuntu precise main" >> /etc/apt/sources.list
RUN apt-get update -qq
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python-apt ca-certificates \
python-pip python-dev libev4 libev-dev libssh-dev libpcre3-dev rsyslog \
cron mysql-server redis-server git lxc-docker-0.10.0
RUN pip install supervisor
RUN useradd -m -d /home/kozmic -G docker -s /bin/bash kozmic
RUN git clone https://github.com/aromanovich/kozmic-ci.git /src/
RUN pip install -r /src/requirements/kozmic.txt
RUN pip install -r /src/requirements/tailer.txt
ADD ./files/rsyslog.conf /etc/rsyslog.d/50-default.conf
ADD ./files/rsyslog-logrotate /etc/logrotate.d/rsyslog
ADD ./files/supervisor.conf /etc/supervisor.conf
ADD ./files/kozmic-uwsgi.ini /etc/kozmic-uwsgi.ini
ADD ./files/tailer-uwsgi.ini /etc/tailer-uwsgi.ini
ADD ./files/wrapped-docker /bin/wrapped-docker
ADD ./files/crontab /etc/crontab
ADD ./files/config.py-docker /config.py-docker
ADD ./files/run.sh /run.sh
RUN chmod +x /bin/wrapped-docker /run.sh && \
chown root /etc/crontab && \
chmod 644 /etc/crontab
VOLUME /var/lib/docker
VOLUME /var/lib/mysql
ENTRYPOINT ["/run.sh"]
| null |
223 | 0330149f2b21567572eeefd8c51bd5cb08dd90d8 | Fix wrong entrypoint in dockerfile | Fix wrong entrypoint in dockerfile
| # Start by building the application.
FROM golang:1.13-buster as build
WORKDIR /opt
ADD . .
RUN make build
# Now copy it into our base image.
FROM gcr.io/distroless/base-debian10
COPY --from=build /opt/app /
COPY --from=busybox /bin/busybox /busybox/busybox
RUN ["/busybox/busybox", "--install", "/bin"]
ENV TZ=Asia/Chongqing
ENTRYPOINT ["/app" "/config.yaml"]
| # Start by building the application.
FROM golang:1.13-buster as build
WORKDIR /opt
ADD . .
RUN make build
# Now copy it into our base image.
FROM gcr.io/distroless/base-debian10
COPY --from=build /opt/app /
COPY --from=busybox /bin/busybox /busybox/busybox
RUN ["/busybox/busybox", "--install", "/bin"]
ENV TZ=Asia/Chongqing
ENTRYPOINT ["/app", "/config.yaml"]
| null |
398 | 76d429b63187092ec5fd453ce3c366527639098c | Update Dockerfile | Update Dockerfile
added JAVA_HOME | FROM ubuntu
MAINTAINER Wurstmeister
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list; apt-get update; apt-get install -y unzip openjdk-6-jdk wget supervisor
RUN wget -q -N http://mirror.ox.ac.uk/sites/rsync.apache.org/incubator/storm/apache-storm-0.9.2-incubating/apache-storm-0.9.2-incubating.zip; unzip -o /apache-storm-0.9.2-incubating.zip -d /usr/share/; rm apache-storm-0.9.2-incubating.zip
ENV STORM_HOME /usr/share/apache-storm-0.9.2-incubating
RUN groupadd storm; useradd --gid storm --home-dir /home/storm --create-home --shell /bin/bash storm; chown -R storm:storm $STORM_HOME; mkdir /var/log/storm ; chown -R storm:storm /var/log/storm
RUN ln -s $STORM_HOME/bin/storm /usr/bin/storm
ADD storm.yaml $STORM_HOME/conf/storm.yaml
ADD cluster.xml $STORM_HOME/logback/cluster.xml
ADD config-supervisord.sh /usr/bin/config-supervisord.sh
ADD start-supervisor.sh /usr/bin/start-supervisor.sh
RUN echo [supervisord] | tee -a /etc/supervisor/supervisord.conf ; echo nodaemon=true | tee -a /etc/supervisor/supervisord.conf
| FROM ubuntu
MAINTAINER Wurstmeister
RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list; apt-get update; apt-get install -y unzip openjdk-6-jdk wget supervisor
RUN wget -q -N http://mirror.ox.ac.uk/sites/rsync.apache.org/incubator/storm/apache-storm-0.9.2-incubating/apache-storm-0.9.2-incubating.zip; unzip -o /apache-storm-0.9.2-incubating.zip -d /usr/share/; rm apache-storm-0.9.2-incubating.zip
ENV STORM_HOME /usr/share/apache-storm-0.9.2-incubating
ENV JAVA_HOME /usr/lib/jvm/java-6-openjdk-amd64/
RUN groupadd storm; useradd --gid storm --home-dir /home/storm --create-home --shell /bin/bash storm; chown -R storm:storm $STORM_HOME; mkdir /var/log/storm ; chown -R storm:storm /var/log/storm
RUN ln -s $STORM_HOME/bin/storm /usr/bin/storm
ADD storm.yaml $STORM_HOME/conf/storm.yaml
ADD cluster.xml $STORM_HOME/logback/cluster.xml
ADD config-supervisord.sh /usr/bin/config-supervisord.sh
ADD start-supervisor.sh /usr/bin/start-supervisor.sh
RUN echo [supervisord] | tee -a /etc/supervisor/supervisord.conf ; echo nodaemon=true | tee -a /etc/supervisor/supervisord.conf
| null |
2181 | 10a5357b9ea6ab574c43153e85070566b21c1806 | Dockerfile version bump | Dockerfile version bump
| FROM debian:stretch
MAINTAINER David Personette <dperson@gmail.com>
# Install kibana
RUN export DEBIAN_FRONTEND='noninteractive' && \
export url='https://artifacts.elastic.co/downloads/kibana' && \
export version='5.6.2' && \
export shasum='e9ef4f8dee16b1274d4b0399c0df938a5c99d450f8b8f8b1e56b341' && \
groupadd -r kibana && \
useradd -c 'Kibana' -d /opt/kibana -g kibana -r kibana && \
apt-get update -qq && \
apt-get install -qqy --no-install-recommends ca-certificates curl \
procps libfontconfig libfreetype6 \
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
file="kibana-${version}-linux-x86_64.tar.gz" && \
echo "downloading $file ..." && \
curl -LOSs ${url}/$file && \
sha512sum $file | grep -q "$shasum" || \
{ echo "expected $shasum, got $(sha512sum $file)"; exit 13; } && \
tar -xf $file -C /tmp && \
mv /tmp/kibana-* /opt/kibana && \
chown -Rh kibana. /opt/kibana && \
apt-get purge -qqy ca-certificates curl && \
apt-get autoremove -qqy && apt-get clean -qqy && \
rm -rf /tmp/* /var/lib/apt/lists/* $file
COPY kibana.sh /usr/bin/
EXPOSE 5601
VOLUME ["/opt/kibana"]
ENTRYPOINT ["kibana.sh"] | null | null |
2297 | a826f8fb929357c8604e236a11e6556baf7fac99 | Update Liberty to latest version | Update Liberty to latest version
Update liberty to the latest versions: 17.0.0_01 | # (C) Copyright IBM Corporation 2015.
#
# 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 ibmjava:8-jre
MAINTAINER David Currie <david_currie@uk.ibm.com> (@davidcurrie)
RUN apt-get update \
&& apt-get install -y --no-install-recommends unzip \
&& rm -rf /var/lib/apt/lists/*
# Install WebSphere Liberty
ENV LIBERTY_VERSION 16.0.0_04
ARG LIBERTY_URL
ARG DOWNLOAD_OPTIONS=""
RUN LIBERTY_URL=${LIBERTY_URL:-$(wget -q -O - https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/wlp/index.yml | grep $LIBERTY_VERSION -A 6 | sed -n 's/\s*kernel:\s//p' | tr -d '\r' )} \
&& wget $DOWNLOAD_OPTIONS $LIBERTY_URL -U UA-IBM-WebSphere-Liberty-Docker -O /tmp/wlp.zip \
&& unzip -q /tmp/wlp.zip -d /opt/ibm \
&& rm /tmp/wlp.zip
ENV PATH=/opt/ibm/wlp/bin:$PATH
# Set Path Shortcuts
ENV LOG_DIR=/logs \
WLP_OUTPUT_DIR=/opt/ibm/wlp/output
RUN mkdir /logs \
&& ln -s $WLP_OUTPUT_DIR/defaultServer /output \
&& ln -s /opt/ibm/wlp/usr/servers/defaultServer /config
# Configure WebSphere Liberty
RUN /opt/ibm/wlp/bin/server create \
&& rm -rf $WLP_OUTPUT_DIR/.classCache /output/workarea
COPY docker-server /opt/ibm/docker/
EXPOSE 9080 9443
CMD ["/opt/ibm/docker/docker-server", "run", "defaultServer"]
| null | null |
76 | 6dcbb372d51cf5227f16c387c5658c6db3b73a28 | Bump Dockerfile to 10.1.0-755-e9f0cde8 | Bump Dockerfile to 10.1.0-755-e9f0cde8
| FROM stellar/base:latest
MAINTAINER Mat Schaffer <mat@stellar.org>
ENV STELLAR_CORE_VERSION 10.1.0-754-e412f56f
EXPOSE 11625
EXPOSE 11626
VOLUME /data
VOLUME /postgresql-unix-sockets
VOLUME /heka
ADD install /
RUN /install
ADD heka /heka
ADD confd /etc/confd
ADD utils /utils
ADD start /
CMD ["/start"]
| FROM stellar/base:latest
MAINTAINER Mat Schaffer <mat@stellar.org>
ENV STELLAR_CORE_VERSION 10.1.0-755-e9f0cde8
EXPOSE 11625
EXPOSE 11626
VOLUME /data
VOLUME /postgresql-unix-sockets
VOLUME /heka
ADD install /
RUN /install
ADD heka /heka
ADD confd /etc/confd
ADD utils /utils
ADD start /
CMD ["/start"]
| null |
2130 | 8e07169967058da674579ff215453b76376f1e4f | Bumped source to 20200319-e4c1911 | Bumped source to 20200319-e4c1911
| FROM docker.pkg.github.com/dock0/service/service:20200319-be7623a
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 |
172 | 6643296faf98e35dcfff755a4e99df0c646a6f8e | Update docker file to not kill existing | Update docker file to not kill existing
| FROM phusion/baseimage:0.9.11
MAINTAINER Jack Lindamood <jack@signalfuse.com>
ENV DEBIAN_FRONTEND noninteractive
# Clean/refresh apt-get
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update
RUN apt-get -y upgrade
# Install dependencies
RUN apt-get -y install golang git mercurial curl
RUN mkdir -p /opt/sfproxy
# Invalidate cache so "go get" gets the latest code
RUN mkdir -p /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD config /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/config
ADD core /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/core
ADD forwarder /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/forwarder
ADD listener /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/listener
ADD protocoltypes /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/protocoltypes
ADD signalfxproxy.go /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD signalfxproxy_test.go /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD travis_check.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD lint_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD vet_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD format_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ENV GOPATH /opt/sfproxy
RUN go get github.com/golang/lint/golint
RUN go get code.google.com/p/go.tools/cmd/vet
RUN go get github.com/stretchr/testify/mock
RUN go get code.google.com/p/go.tools/cmd/cover
RUN go env
RUN go get -u ./...
RUN export PATH=$GOPATH/bin:$PATH
RUN /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/travis_check.sh
# Add run command
VOLUME /var/log/sfproxy
VOLUME /var/config/sfproxy
USER root
CMD ["/opt/sfproxy/bin/signalfxproxy", "-configfile", "/var/config/sfproxy/sfdbproxy.conf", "-signalfxproxypid", "/var/config/sfproxy/sfproxy.pid" ,"-log_dir", "/var/log/sfproxy"]
| FROM phusion/baseimage:0.9.11
MAINTAINER Jack Lindamood <jack@signalfuse.com>
ENV DEBIAN_FRONTEND noninteractive
# Clean/refresh apt-get
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update
RUN apt-get -y upgrade
# Install dependencies
RUN apt-get -y install golang git mercurial curl
RUN mkdir -p /opt/sfproxy
# Invalidate cache so "go get" gets the latest code
RUN mkdir -p /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD config /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/config
ADD core /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/core
ADD forwarder /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/forwarder
ADD listener /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/listener
ADD protocoltypes /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/protocoltypes
ADD signalfxproxy.go /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD signalfxproxy_test.go /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD travis_check.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD lint_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD vet_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ADD format_all.sh /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/
ENV GOPATH /opt/sfproxy
RUN go get github.com/golang/lint/golint
RUN go get code.google.com/p/go.tools/cmd/vet
RUN go get github.com/stretchr/testify/mock
RUN go get code.google.com/p/go.tools/cmd/cover
RUN go env
RUN go get ./...
RUN export PATH=$GOPATH/bin:$PATH
RUN /opt/sfproxy/src/github.com/signalfuse/signalfxproxy/travis_check.sh
# Add run command
VOLUME /var/log/sfproxy
VOLUME /var/config/sfproxy
USER root
CMD ["/opt/sfproxy/bin/signalfxproxy", "-configfile", "/var/config/sfproxy/sfdbproxy.conf", "-signalfxproxypid", "/var/config/sfproxy/sfproxy.pid" ,"-log_dir", "/var/log/sfproxy"]
| null |
388 | 7447cefec7f34e7af27da38070875a5cec8827d3 | Bumped source to 20210807-b064247 | Bumped source to 20210807-b064247
| FROM docker.pkg.github.com/dock0/arch/arch:20210807-3e34b9c
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:20210807-b064247
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 |
410 | 4d8831a8589a13d580792ec253665ca7b551cc9b | Bumped source to 20210310-d7a680d | Bumped source to 20210310-d7a680d
| FROM docker.pkg.github.com/dock0/amylum_arch/amylum_arch:20210309-426b957
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:20210310-d7a680d
MAINTAINER akerl <me@lesaker.org>
RUN pacman -S --noconfirm s6 execline musl-amylum
ADD service /service
ADD init /init
CMD ["/init"]
| null |
94 | 085c1654b1c63736384834b6084676ea7b5096be | Bumped source to 20200619-d7233b1 | Bumped source to 20200619-d7233b1
| FROM docker.pkg.github.com/dock0/service/service:20200618-8fb93f0
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:20200619-d7233b1
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 |
51 | f8e66b4e7e386a343fe96ef3336e874cab4dd53b | Update AWS CLI version to 1.14.22 | Update AWS CLI version to 1.14.22
| FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.name="AWS CLI" \
org.label-schema.url="https://aws.amazon.com/cli/" \
org.label-schema.vcs-url="https://github.com/GreyTeardrop/docker-awscli" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version="1.14.21"
RUN \
apt-get update && \
apt-get install -y --no-install-recommends groff-base && \
mkdir -p /aws && \
pip install --upgrade awscli==1.14.21 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT ["aws"]
| FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.name="AWS CLI" \
org.label-schema.url="https://aws.amazon.com/cli/" \
org.label-schema.vcs-url="https://github.com/GreyTeardrop/docker-awscli" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version="1.14.22"
RUN \
apt-get update && \
apt-get install -y --no-install-recommends groff-base && \
mkdir -p /aws && \
pip install --upgrade awscli==1.14.22 && \
rm -rf /root/.cache && \
rm -rf /var/lib/apt/lists/*
WORKDIR /aws
ENTRYPOINT ["aws"]
| null |
2121 | 933d350409e3e7c04456b12988e9de3879d1b005 | update the ppa to shogun-team nightly in shogun runtime env | update the ppa to shogun-team nightly in shogun runtime env
| FROM ubuntu:14.04
MAINTAINER shogun@shogun-toolbox.org
RUN apt-get update && apt-get install -qq software-properties-common lsb-release
RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse"
RUN add-apt-repository ppa:shogun-daily/ppa
RUN apt-get update -qq
RUN apt-get upgrade -y
# install shogun
RUN apt-get install -qq --force-yes --no-install-recommends libshogun17
| null | null |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.