hexsha
stringlengths 40
40
| size
int64 30
1.05M
| ext
stringclasses 24
values | lang
stringclasses 5
values | max_stars_repo_path
stringlengths 4
355
| max_stars_repo_name
stringlengths 5
110
| max_stars_repo_head_hexsha
stringlengths 40
40
| max_stars_repo_licenses
sequence | max_stars_count
float64 1
208k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 4
355
| max_issues_repo_name
stringlengths 5
116
| max_issues_repo_head_hexsha
stringlengths 40
40
| max_issues_repo_licenses
sequence | max_issues_count
float64 1
77k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 4
355
| max_forks_repo_name
stringlengths 5
116
| max_forks_repo_head_hexsha
stringlengths 40
40
| max_forks_repo_licenses
sequence | max_forks_count
float64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 30
1.05M
| avg_line_length
float64 2.67
1.04M
| max_line_length
int64 9
1.04M
| alphanum_fraction
float64 0.01
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
931f72f8d23b2fad4cb377885b4544dbaa10fa45 | 695 | null | Dockerfile | Dockerfile | testthedocs/vale-demo | 70201f105c290278220c050d8e2014295afaf2db | [
"MIT"
] | null | null | null | Dockerfile | testthedocs/vale-demo | 70201f105c290278220c050d8e2014295afaf2db | [
"MIT"
] | 1 | 2019-02-01T12:09:14.000Z | 2019-02-01T12:09:14.000Z | Dockerfile | testthedocs/vale-demo | 70201f105c290278220c050d8e2014295afaf2db | [
"MIT"
] | null | null | null | FROM alpine:3.9
LABEL maintainer "Sven <sven@testthedocs.org>" \
org.label-schema.vendor = "TestTheDocs"
ENV VALE_VERSION 1.3.2
COPY styles /srv/styles
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
COPY vale.ini /srv/.vale.ini
RUN adduser -s /bin/false -D -H ttd \
&& apk --no-cache add \
tini \
su-exec \
bash \
&& wget -O vale.tgz https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz \
&& tar zxvf vale.tgz \
&& mv vale /usr/local/bin/vale \
&& rm LICENSE \
&& rm README.md
WORKDIR /srv
VOLUME /srv
#ENTRYPOINT [ "bash" ]
ENTRYPOINT [ "/sbin/tini", "--", "/usr/local/bin/entrypoint.sh" ]
| 24.821429 | 135 | 0.657554 |
a6c17cef42112c6d4d6d8a94a0fd83182714e9dc | 924 | null | Dockerfile | Dockerfile | aurlien/deep-cv-docker | 27ce281308c2e8c9b2dc9759fe4d5cc55a92e809 | [
"Apache-2.0"
] | null | null | null | Dockerfile | aurlien/deep-cv-docker | 27ce281308c2e8c9b2dc9759fe4d5cc55a92e809 | [
"Apache-2.0"
] | null | null | null | Dockerfile | aurlien/deep-cv-docker | 27ce281308c2e8c9b2dc9759fe4d5cc55a92e809 | [
"Apache-2.0"
] | null | null | null | # Base image
FROM gcr.io/tensorflow/tensorflow:latest-py3
# Installing ubuntu packages
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
wget \
unzip \
yasm \
pkg-config \
libswscale-dev \
libtbb2 \
libtbb-dev \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libjasper-dev \
libavformat-dev \
libhdf5-dev \
libpq-dev \
libxext-dev \
libsm6 \
libxrender1 \
libfontconfig1
RUN pip3 install --no-cache-dir \
keras \
opencv-contrib-python \
seaborn \
watermark
WORKDIR /app
# Setting up volumes
VOLUME ["/app"]
# TensorBoard
RUN mkdir /logs/
EXPOSE 6006
# jupyter
EXPOSE 8888
CMD jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token='deep-cv'
CMD tensorboard --logdir=/logs/
| 19.659574 | 89 | 0.584416 |
34b85e429274206f1772a7fdc1b6868e2a19fd9a | 2,708 | null | Dockerfile | Dockerfile | dinivas/ansible-galaxy | 5e00cb23a65ca775efb4c23cbf50b2f0c0d7c33e | [
"Apache-2.0"
] | null | null | null | Dockerfile | dinivas/ansible-galaxy | 5e00cb23a65ca775efb4c23cbf50b2f0c0d7c33e | [
"Apache-2.0"
] | null | null | null | Dockerfile | dinivas/ansible-galaxy | 5e00cb23a65ca775efb4c23cbf50b2f0c0d7c33e | [
"Apache-2.0"
] | null | null | null | # vim: set ft=Dockerfile:
FROM centos:7
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV PIP_NO_CACHE_DIR off
ENV GALAXY_VENV /usr/share/galaxy/venv
# Install packages and create virtual environment
RUN yum -y install epel-release \
&& yum -y install git gcc make python36 python36-devel nginx \
&& yum -y clean all \
&& rm -rf /var/cache/yum
# Install python dependencies
COPY requirements/requirements.txt /tmp/requirements.txt
RUN python3.6 -m venv ${GALAXY_VENV} \
&& "${GALAXY_VENV}/bin/pip" install -U \
'pip' \
'wheel' \
'setuptools' \
&& "${GALAXY_VENV}/bin/pip" install -r /tmp/requirements.txt
RUN mkdir -p /galaxy
COPY . /galaxy
RUN "${GALAXY_VENV}/bin/pip" install -q -e '/galaxy/'
# Install tini
ENV TINI_VERSION v0.18.0
RUN curl -sL -o '/usr/local/bin/tini' \
"https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" \
&& chmod +x /usr/local/bin/tini \
&& yum -y clean all \
&& rm -rf /var/cache/yum
# Create galaxy user
ENV HOME /var/lib/galaxy
RUN mkdir -p /var/lib/galaxy \
&& useradd --system --gid root --home-dir "${HOME}" galaxy
# Create directories structure
RUN mkdir -p /etc/galaxy \
/usr/share/galaxy/public \
/var/lib/galaxy/media \
/var/run/galaxy \
/var/tmp/galaxy/imports \
/var/tmp/galaxy/uploads
RUN ln -s ${GALAXY_VENV}/lib/python3.6/site-packages/django/contrib/admin/static/ /usr/share/galaxy/public/static
# COPY --from=galaxy-builder /galaxy/dist/VERSION /usr/share/galaxy/
# COPY --from=galaxy-builder /galaxy/dist/*.whl /tmp
# RUN _galaxy_wheel="/tmp/galaxy-$(< /usr/share/galaxy/VERSION)-py3-none-any.whl" \
# && "${GALAXY_VENV}/bin/pip" install "${_galaxy_wheel}" \
# && rm -f "${_galaxy_wheel}"
# Fix directory permissions
RUN chown -R galaxy:root \
/etc/galaxy \
/usr/share/galaxy \
/var/lib/galaxy \
/var/run/galaxy \
/var/tmp/galaxy \
/etc/nginx \
/var/log/nginx \
/var/lib/nginx \
/run \
&& chmod -R u=rwX,g=rwX\
/etc/galaxy \
/usr/share/galaxy \
/var/lib/galaxy \
/var/run/galaxy \
/var/tmp/galaxy
VOLUME ["/var/lib/galaxy", "/var/tmp/galaxy", "/etc/nginx"]
WORKDIR /var/lib/galaxy
COPY scripts/docker/release/entrypoint.sh /entrypoint
ENV DJANGO_SETTINGS_MODULE galaxy.settings.production
# Workaround for git running under different users
# See https://github.com/jenkinsci/docker/issues/519
ENV GIT_COMMITTER_NAME 'Ansible Galaxy'
ENV GIT_COMMITTER_EMAIL 'galaxy@ansible.com'
USER galaxy
EXPOSE 8000
ENTRYPOINT ["/entrypoint"]
CMD ["run", "api"] | 28.208333 | 113 | 0.650665 |
86881d47b17d0c62274ee5a395449f05721461d8 | 219 | null | Dockerfile | Dockerfile | duangenquan/mxnet-face | 552fa311ea06b03fd52442ed957cea152f24faae | [
"Apache-2.0"
] | null | null | null | Dockerfile | duangenquan/mxnet-face | 552fa311ea06b03fd52442ed957cea152f24faae | [
"Apache-2.0"
] | null | null | null | Dockerfile | duangenquan/mxnet-face | 552fa311ea06b03fd52442ed957cea152f24faae | [
"Apache-2.0"
] | null | null | null | FROM duangenquan/base:1.0
COPY . /opt/app/
RUN cd /opt/app/mxnet && \
make clean && \
make -j 4 USE_OPENCV=1 USE_BLAS=openblas &&\
cd python && \
pip2 install --upgrade pip && \
pip install -e .
| 18.25 | 48 | 0.589041 |
fa7684f4c8c0540055e4f57001c904dee70e8d88 | 887 | null | Dockerfile | python/Dockerfile | tateishi/docker-python | cb3f257ca3afaf120415f29dd7d43e89ac1a39f0 | [
"BSD-2-Clause"
] | null | null | null | python/Dockerfile | tateishi/docker-python | cb3f257ca3afaf120415f29dd7d43e89ac1a39f0 | [
"BSD-2-Clause"
] | null | null | null | python/Dockerfile | tateishi/docker-python | cb3f257ca3afaf120415f29dd7d43e89ac1a39f0 | [
"BSD-2-Clause"
] | null | null | null | FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
libffi-dev \
libssl-dev \
zlib1g-dev \
liblzma-dev \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
git \
wget \
curl
RUN useradd -u 1000 -m -s /bin/bash ubuntu
RUN apt-get install -y libpq-dev
USER ubuntu
WORKDIR /home/ubuntu
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv
RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
RUN echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
RUN echo 'eval "$(pyenv init -)"' >> ~/.bashrc
RUN eval "$(.pyenv/bin/pyenv init -)"
RUN .pyenv/bin/pyenv install 3.9.0
RUN .pyenv/bin/pyenv global 3.9.0
COPY ./requirements.txt /tmp
RUN .pyenv/shims/pip install -r /tmp/requirements.txt
| 22.74359 | 59 | 0.639233 |
d16e323b0450797dfa3620ce5624f7b26ebdf1a8 | 1,115 | null | Dockerfile | Dockerfile | vorpalko/sn-controller | cdc7da066148c3ef307d7c52b6997dd3d549f18f | [
"CC0-1.0"
] | null | null | null | Dockerfile | vorpalko/sn-controller | cdc7da066148c3ef307d7c52b6997dd3d549f18f | [
"CC0-1.0"
] | null | null | null | Dockerfile | vorpalko/sn-controller | cdc7da066148c3ef307d7c52b6997dd3d549f18f | [
"CC0-1.0"
] | null | null | null | # cannot use alpine because collectd-java plugin is missing there :-(
FROM openjdk:8-jre
# install & configure collectd
RUN apt-get update && apt-get install -y \
collectd \
&& rm -rf /var/lib/apt/lists/*
# https://github.com/collectd/collectd/issues/1965
RUN ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so
# add application user
ENV APPLICATION_USER app
RUN useradd -ms /bin/bash $APPLICATION_USER
# create installation directory & assign permissions
RUN mkdir /app
RUN mkdir /app/frontend
RUN mkdir /var/run/collectd
RUN chown -R $APPLICATION_USER /app
RUN chown -R $APPLICATION_USER /var/log
RUN chown -R $APPLICATION_USER /var/run/collectd
RUN chown -R $APPLICATION_USER /var/lib/collectd
# change user to application user
USER $APPLICATION_USER
# install application
COPY docker-build/collectd.conf /app/collectd.conf
COPY backend/build/libs/backend-all.jar /app
COPY frontend/build/bundle/* /app/frontend/
COPY docker-build/start.sh /app
# set working directory into application directory
WORKDIR /app
# start java application
CMD ["sh", "start.sh"]
| 28.589744 | 93 | 0.765919 |
9482480e603f620e13812c8a45c62787aa998c47 | 2,679 | null | Dockerfile | mariadb/Dockerfile | itwars/docker-webserver | eca5861266795ece9e1c587a1f691edeea32e2df | [
"MIT"
] | null | null | null | mariadb/Dockerfile | itwars/docker-webserver | eca5861266795ece9e1c587a1f691edeea32e2df | [
"MIT"
] | null | null | null | mariadb/Dockerfile | itwars/docker-webserver | eca5861266795ece9e1c587a1f691edeea32e2df | [
"MIT"
] | 1 | 2019-03-24T21:36:36.000Z | 2019-03-24T21:36:36.000Z | FROM mariadb:10.1
MAINTAINER Nazar Mokrynskyi <nazar@mokrynskyi.com>
RUN \
# percona-xtrabackup and socat packages contain innobackupex and socat apps that are necessary for Snapshot State Transfer (for initial replication)
# We'll need inotify-tools package to watch for files changes
# We'll use pwgen to generate password
apt-get update && \
apt-get upgrade -y && \
apt-get install -y inotify-tools socat pwgen && \
# Percona repository for fresh version of percona-xtrabackup because version from repository doesn't support MariaDB 10.1
PERCONA_PACKAGE=percona-release_0.1-3.jessie_all.deb && \
apt-get install -y --no-install-recommends wget ca-certificates && \
wget https://repo.percona.com/apt/$PERCONA_PACKAGE && \
apt-get purge -y --auto-remove wget ca-certificates && \
dpkg -i $PERCONA_PACKAGE && \
rm $PERCONA_PACKAGE && \
apt-get update && \
apt-get install -y percona-xtrabackup && \
# Ceph repository for up to date version of ceph-fuse package; Ceph itself is used as cluster filesystem
CEPH_VERSION=infernalis && \
apt-get install -y --no-install-recommends curl ca-certificates && \
curl -sSL 'https://download.ceph.com/keys/release.asc' | apt-key add - && \
apt-get purge -y --auto-remove curl ca-certificates && \
echo "deb http://ceph.com/debian-$CEPH_VERSION/ jessie main" > /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list && \
apt-get update && \
apt-get install -y --no-install-recommends ceph-fuse && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
# Append Galera cluster config inclusion to default config
echo '!include /etc/mysql/galera.cfg' >> /etc/mysql/my.cnf && \
# We'll keep files in /var/lib/mysql_local which will be symlink to /var/lib/mysql on first instance and local directory on others (changed locally in container)
sed -i 's/\/var\/lib\/mysql/&_local/g' /etc/mysql/my.cnf && \
ln -s /var/lib/mysql /var/lib/mysql_local && \
# This is to redirect logs to stderr instead of non-running syslog (otherwise error messages will be lost)
truncate --size=0 /etc/mysql/conf.d/mysqld_safe_syslog.cnf && \
mv /etc/mysql /etc/mysql_dist && \
# Copy original entrypoint without exec call in order to use it as MariaDB initialization script
sed 's/exec "$@"//g' /docker-entrypoint.sh > /docker-entrypoint-init.sh && \
chmod +x /docker-entrypoint-init.sh
COPY ceph-mount.sh /
COPY consul-dns.sh /
COPY galera.cnf /etc/mysql_dist/galera.cfg
COPY webserver-entrypoint.sh /
VOLUME \
/data \
/etc/mysql \
/var/lib/mysql \
/var/log/mysql
ENV \
CONSUL_SERVICE=consul \
CEPH_MON_SERVICE=ceph-mon \
CEPHFS_MOUNT=0 \
SERVICE_NAME=mariadb
ENTRYPOINT ["/webserver-entrypoint.sh"]
CMD ["mysqld"]
| 33.4875 | 161 | 0.725644 |
cb60f7c670a7b40f5cf8dec6e2d97cd1276e131f | 3,804 | null | Dockerfile | Dockerfile | keqiongpan/taiga-docker | d855be9fd9ed3ae348183823c487e025a1610f70 | [
"MIT"
] | null | null | null | Dockerfile | keqiongpan/taiga-docker | d855be9fd9ed3ae348183823c487e025a1610f70 | [
"MIT"
] | null | null | null | Dockerfile | keqiongpan/taiga-docker | d855be9fd9ed3ae348183823c487e025a1610f70 | [
"MIT"
] | null | null | null | # Use an official ubuntu runtime as a parent image.
FROM ubuntu
MAINTAINER keqiongpan@163.com
# Set environment variable default values.
ENV TAIGA_SCHEME http
ENV TAIGA_DOMAIN yourdomain.com
ENV TAIGA_EMAIL system@taiga.io
ENV TAIGA_SECRET taiga
ENV TAIGA_PASSWORD taiga
# Expose nginx ports.
EXPOSE 80/tcp
# Set the working directory to root-directory.
WORKDIR /
# Update apt source to http://mirrors.aliyun.com/ubuntu/.
ENV DEBIAN_APTSOURCE http://mirrors.aliyun.com/ubuntu/
RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak
RUN sed -i "s#\\(http\\|https\\)://[^/]*/ubuntu/\\?#${DEBIAN_APTSOURCE}#g" /etc/apt/sources.list
# Install Basic Tools.
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y apt-utils
RUN apt-get install -y sudo inetutils-tools telnet ftp vsftpd openssh-client openssh-server vim
# Install tzdata with Asia/Shanghai.
ENV DEBIAN_TIMEZONE Asia/Shanghai
RUN apt-get install -y tzdata
RUN ln -fs /usr/share/zoneinfo/${DEBIAN_TIMEZONE} /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
# Install Essential packages.
RUN apt-get install -y build-essential binutils-doc autoconf flex bison libjpeg-dev
RUN apt-get install -y libfreetype6-dev zlib1g-dev libzmq3-dev libgdbm-dev libncurses5-dev
RUN apt-get install -y automake libtool libffi-dev curl git tmux gettext
RUN apt-get install -y nginx
RUN apt-get install -y rabbitmq-server redis-server
RUN apt-get install -y circus
RUN apt-get install -y postfix mailutils
# The component taiga-back uses postgresql (>= 9.4) as database.
RUN apt-get install -y postgresql postgresql-contrib
RUN apt-get install -y postgresql-doc postgresql-server-dev-10
# Python (3.5) and virtualenvwrapper must be installed along with a few third-party libraries.
RUN apt-get install -y python3 python3-pip python-dev python3-dev python-pip virtualenvwrapper
RUN apt-get install -y libxml2-dev libxslt-dev
RUN apt-get install -y libssl-dev libffi-dev
# Install nodejs.
RUN apt-get install -y nodejs npm
RUN npm install -g coffeescript
# Create a user named taiga, and give it root permissions.
RUN useradd -ms /bin/bash taiga
RUN adduser taiga sudo
# Create the taiga folders.
USER taiga
RUN mkdir -p /home/taiga/taiga/bin /home/taiga/taiga/conf /home/taiga/taiga/log /home/taiga/taiga/src
WORKDIR /home/taiga/taiga/src
# Download taiga-back sources.
RUN git clone https://github.com/taigaio/taiga-back.git taiga-back
RUN cd ./taiga-back && git checkout stable
# Download taiga-front-dist sources.
RUN git clone https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
RUN cd ./taiga-front-dist && git checkout stable
# Download taiga-events sources.
RUN git clone https://github.com/taigaio/taiga-events.git taiga-events
RUN cd ./taiga-events && npm install
# Setup taiga-back.
USER root
RUN su - taiga -c '/bin/bash -ic "cd /home/taiga/taiga/src/taiga-back && mkvirtualenv -p /usr/bin/python3 taiga"'
RUN su - taiga -c '/bin/bash -ic "cd /home/taiga/taiga/src/taiga-back && workon taiga && pip install -r requirements.txt && pip install psycopg2-binary"'
# Grant to taiga.
RUN chmod 777 /etc/circus/conf.d
RUN chmod 777 /etc/nginx/conf.d
RUN rm -f /etc/nginx/sites-enabled/default
RUN sed -i 's/^[[:space:]]*bind[[:space:]]*.*$/bind 127.0.0.1/g' /etc/redis/redis.conf
# Copy taiga predefine files.
USER taiga
WORKDIR /home/taiga/taiga
COPY ./taiga ./
# Change taiga's date format.
WORKDIR /home/taiga/taiga/src/taiga-front-dist/dist/v-1537436040060/locales/taiga
RUN sed -i -E 's/D+[^[:alpha:]]*M+[^[:alpha:]]*Y+|M+[^[:alpha:]]*D+[^[:alpha:]]*Y+|Y+[^[:alpha:]]*M+[^[:alpha:]]*D+/YYYY-MM-DD/g' locale-zh-hans.json
RUN sed -i -E 's/\[at\] hh/HH/g' locale-zh-hans.json
# Sets entry-point to bash.
USER root
WORKDIR /home/taiga/taiga
CMD ./bin/startup.sh && tail -f ./log/nginx.access.log
| 36.932039 | 153 | 0.753417 |
00cc35c84200e324e9a212d90dce532c68d7f739 | 566 | null | Dockerfile | cli/0.991.0/Dockerfile | mgudmund/github-actions | dd961cade66b33112f949c9dc754b8806a5a10e5 | [
"Apache-2.0"
] | null | null | null | cli/0.991.0/Dockerfile | mgudmund/github-actions | dd961cade66b33112f949c9dc754b8806a5a10e5 | [
"Apache-2.0"
] | null | null | null | cli/0.991.0/Dockerfile | mgudmund/github-actions | dd961cade66b33112f949c9dc754b8806a5a10e5 | [
"Apache-2.0"
] | null | null | null | FROM ballerina/ballerina:0.991.0
LABEL version="0.991.0"
LABEL maintainer="WSO2 Inc."
LABEL "com.github.actions.name"="GitHub Action for Ballerina"
LABEL "com.github.actions.description"="Wraps the Ballerina CLI for all the `ballerina <args>` commands"
LABEL "com.github.actions.icon"="triange"
LABEL "com.github.actions.color"="blue"
LABEL "repository"="https://github.com/ballerina-platform/github-actions"
LABEL "homepage"="https://ballerina.io/"
ADD entrypoint.sh /entrypoint.sh
ENV DOCKER_API_VERSION "v1.38"
USER root
ENTRYPOINT ["/entrypoint.sh"]
| 21.769231 | 104 | 0.757951 |
48dc037e439beaa5684c7bce012f994869cafb44 | 265 | null | Dockerfile | client/Dockerfile | noorsheikh/checker-game | 430af990541a3257802e699dca6a8248415c4e5e | [
"MIT"
] | null | null | null | client/Dockerfile | noorsheikh/checker-game | 430af990541a3257802e699dca6a8248415c4e5e | [
"MIT"
] | null | null | null | client/Dockerfile | noorsheikh/checker-game | 430af990541a3257802e699dca6a8248415c4e5e | [
"MIT"
] | null | null | null | FROM node:12.11.1-alpine
WORKDIR /client/
COPY ./client/ /client/
COPY ./client/client.key /client/
COPY ./client/client.crt /client/
COPY ./client/.eslintrc.js /client/
COPY ./client/.prettierrc.js /client/
RUN yarn install
EXPOSE 3000
CMD ["yarn", "start"]
| 15.588235 | 37 | 0.709434 |
568838d6ec35ec6ecb91f279baeb6fe646b8ac2f | 298 | null | Dockerfile | test/image/Dockerfile | cpuguy83/containerd-wasm | d03fd0d3035025a642036afc2c481cade3ceda5d | [
"Apache-2.0"
] | null | null | null | test/image/Dockerfile | cpuguy83/containerd-wasm | d03fd0d3035025a642036afc2c481cade3ceda5d | [
"Apache-2.0"
] | null | null | null | test/image/Dockerfile | cpuguy83/containerd-wasm | d03fd0d3035025a642036afc2c481cade3ceda5d | [
"Apache-2.0"
] | null | null | null | FROM --platform=${BUILDPLATFORM} rust:1.59 AS build
RUN rustup target add wasm32-wasi
WORKDIR /opt/wasmtest
COPY . .
RUN cargo build --target=wasm32-wasi --release
FROM scratch
ENTRYPOINT ["/wasm"]
COPY --from=build /opt/wasmtest/target/wasm32-wasi/release/containerd-shim-wasmtime-demo.wasm /wasm | 33.111111 | 99 | 0.775168 |
0a352683a1d1a20f0576cdadb3906cdebb6d6baf | 4,330 | null | Dockerfile | Dockerfile | lukekalbfleisch/ironclad | a1f9b4059e64b9819cf96fb6b42b3a5a65b9425f | [
"Apache-2.0"
] | null | null | null | Dockerfile | lukekalbfleisch/ironclad | a1f9b4059e64b9819cf96fb6b42b3a5a65b9425f | [
"Apache-2.0"
] | null | null | null | Dockerfile | lukekalbfleisch/ironclad | a1f9b4059e64b9819cf96fb6b42b3a5a65b9425f | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Heptio Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.17-alpine3.14 AS build
ARG GITHUB_TOKEN
RUN apk add git && \
mkdir -p /go/src/github.com/lukekalbfleisch/ironclad && \
git config --global http.extraheader "GITHUB_TOKEN: ${GITHUB_TOKEN}}"
COPY ./go.mod /go/src/github.com/lukekalbfleisch/ironclad
COPY ./go.sum /go/src/github.com/lukekalbfleisch/ironclad
COPY ./cmd /go/src/github.com/lukekalbfleisch/ironclad/cmd
COPY ./pkg /go/src/github.com/lukekalbfleisch/ironclad/pkg
RUN go install github.com/lukekalbfleisch/ironclad/cmd/ironclad@latest
FROM alpine:3.14
# this is passed in from the Makefile
ARG IRONCLAD_VERSION
################################################################################
# 0. libModSecurity
################################################################################
# libModSecurity source repo and tag/branch
ARG LIBMODSECURITY_REPO=https://github.com/SpiderLabs/ModSecurity
ARG LIBMODSECURITY_VERSION=v3.0.2
# download, compile, and install libmodååsecurity
WORKDIR /tmp/libmodsecurity
COPY build/install-libmodsecurity .
RUN ./install-libmodsecurity && rm -rvf /tmp/libmodsecurity
################################################################################
# 1. Nginx and ModSecurity-nginx
################################################################################
# ModSecurity-nginx connector module source repo and tag/branch
ARG MODSECURITY_NGINX_REPO=https://github.com/SpiderLabs/ModSecurity-nginx
ARG MODSECURITY_NGINX_VERSION=37b76e88df4bce8a9846345c27271d7e6ce1acfb
# Nginx source URL
ARG NGINX_URL=https://nginx.org/download/nginx-1.14.0.tar.gz
# download, compile, and install nginx and the ModSecurity-nginx connector module
WORKDIR /tmp/nginx
COPY build/install-nginx .
RUN ./install-nginx && rm -rvf /tmp/nginx
################################################################################
# 2. OWASP ModSecurity Core Rule Set (CRS)
################################################################################
# CRS source repo and tag/branch
ARG MODSECURITY_CRS_REPO=https://github.com/SpiderLabs/owasp-modsecurity-crs.git
ARG MODSECURITY_CRS_VERSION=v3.0.2
# download and unpack the OWASP ModSecurity Core Rule Set (CRS)
WORKDIR /tmp/crs
COPY build/install-crs .
RUN ./install-crs && rm -rvf /tmp/crs
################################################################################
# 3. MaxMind GeoIP databases
################################################################################
# MaxMind GeoIP database download URLs
# this is the free city-level database in the older legacy format supported by ModSecurity (~12 MB zipped)
ARG MAXMIND_GEOIP_LEGACY_URL=https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# this is the free city-level database in the newer format supported by github.com/oschwald/geoip2-golang (~26 MB zipped)
ARG MAXMIND_GEOIP_CITY_URL=https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
# this is the free ASN (autonomous system number) database (~3 MB zipped)
ARG MAXMIND_GEOIP_ASN_URL=https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz
# download and install the MaxMind GeoIP database
WORKDIR /tmp/geoip-dat
COPY build/install-geoip-dat .
RUN ./install-geoip-dat && rm -rvf /tmp/geoip-dat
################################################################################
# 4. Final configuration
################################################################################
# set up our configuration files for nginx and modsecurity
WORKDIR /
COPY build/modsecurity.conf /etc/nginx/conf/modsecurity.conf
# copy in the main binary and set it as the entry point
COPY --from=build /go/bin/ironclad /usr/local/bin/ironclad
ENTRYPOINT ["/usr/local/bin/ironclad"]
CMD ["/usr/local/bin/ironclad"]
| 41.238095 | 121 | 0.638337 |
f4b50931745bff946f7a9a61176b66daa3600113 | 574 | null | Dockerfile | sp/test-rp/Dockerfile | stub-idp/verify-stub-idp | 9840e62ad0deb9376af94462cbfa44ae58490566 | [
"MIT"
] | null | null | null | sp/test-rp/Dockerfile | stub-idp/verify-stub-idp | 9840e62ad0deb9376af94462cbfa44ae58490566 | [
"MIT"
] | 205 | 2019-03-24T23:10:11.000Z | 2022-03-31T18:05:33.000Z | sp/test-rp/Dockerfile | stub-idp/stub-idp | c4b3f21eaafde80801d3fbfae9d8cc639e5e2191 | [
"MIT"
] | null | null | null | FROM ghcr.io/alphagov/verify/gradle:gradle-jdk11 as build
WORKDIR /test-rp
USER root
ENV GRADLE_USER_HOME ~/.gradle
COPY build.gradle build.gradle
# There is an issue running idea.gradle in the container
# So just make this an empty file
RUN touch idea.gradle
RUN gradle install
COPY src/ src/
RUN gradle installDist
ENTRYPOINT ["gradle", "--no-daemon"]
CMD ["tasks"]
FROM ghcr.io/alphagov/verify/java:openjdk-11
WORKDIR /test-rp
COPY configuration/local/test-rp.yml test-rp.yml
COPY --from=build /test-rp/build/install/test-rp .
CMD bin/test-rp server test-rp.yml
| 20.5 | 57 | 0.766551 |
ae92d46f4cea46597561652b897967d8e732bc72 | 244 | null | Dockerfile | Dockerfile | schafo/tensorboard-docker | 939a1a2d9afa7eda2e7fe5cad4cc35da7afa2532 | [
"Apache-2.0"
] | null | null | null | Dockerfile | schafo/tensorboard-docker | 939a1a2d9afa7eda2e7fe5cad4cc35da7afa2532 | [
"Apache-2.0"
] | null | null | null | Dockerfile | schafo/tensorboard-docker | 939a1a2d9afa7eda2e7fe5cad4cc35da7afa2532 | [
"Apache-2.0"
] | null | null | null | FROM python:3.8.0-slim
RUN pip install --upgrade pip
RUN pip install tensorboard==2.*
# Warning in logs is fine: https://github.com/lanpa/tensorboardX/issues/602#issuecomment-693246519
CMD tensorboard --logdir=runs --host 0.0.0.0 --port 6006
| 30.5 | 98 | 0.758197 |
1c3bc89a78469333da187f088df9d7a951edd251 | 757 | null | Dockerfile | src/Dockerfile | jakkaj/ASP.NETCoreTemplate | e5e89c4db6cff66a5b2d15f2b0f35f4f7993a9c4 | [
"MIT"
] | null | null | null | src/Dockerfile | jakkaj/ASP.NETCoreTemplate | e5e89c4db6cff66a5b2d15f2b0f35f4f7993a9c4 | [
"MIT"
] | null | null | null | src/Dockerfile | jakkaj/ASP.NETCoreTemplate | e5e89c4db6cff66a5b2d15f2b0f35f4f7993a9c4 | [
"MIT"
] | null | null | null | FROM microsoft/dotnet:2.2-aspnetcore-runtime AS base
WORKDIR /app
EXPOSE 80
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /src
COPY ["Core.Web/Core.Web.csproj", "Core.Web/"]
COPY ["Core.MSTests/Core.MSTests.csproj", "Core.MSTests/"]
COPY ["Core.Services/Core.Services.csproj", "Core.Services/"]
COPY ["Core.Models/Core.Models.csproj", "Core.Models/"]
COPY ["Core.Contracts/Core.Contracts.csproj", "Core.Contracts/"]
COPY ["CoreTemplate.sln", "./"]
RUN dotnet restore
COPY . .
WORKDIR /src/Core.Web
RUN dotnet build "Core.Web.csproj" -c Release -o /app
FROM build AS publish
RUN dotnet publish "Core.Web.csproj" -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "Core.Web.dll"] | 29.115385 | 65 | 0.706737 |
c308e7b64b89d226c674697d745ae2b91203edb1 | 1,509 | null | Dockerfile | Dockerfile | matthewlsawyer/rpi-mariadb | 3720e31177d9b7afcacb345d97cb0458374dd493 | [
"MIT"
] | null | null | null | Dockerfile | matthewlsawyer/rpi-mariadb | 3720e31177d9b7afcacb345d97cb0458374dd493 | [
"MIT"
] | null | null | null | Dockerfile | matthewlsawyer/rpi-mariadb | 3720e31177d9b7afcacb345d97cb0458374dd493 | [
"MIT"
] | null | null | null | FROM resin/rpi-raspbian
# Add necessary groups
RUN groupadd -r mysql && useradd -r -g mysql mysql
# Set debconf keys to make APT a little quieter
RUN { \
echo mariadb-server mysql-server/root_password password 'unused'; \
echo mariadb-server mysql-server/root_password_again password 'unused'; \
} | debconf-set-selections \
# Get mysql
&& apt-get -q update \
&& apt-get install -qy mariadb-server \
# Comment out any "user" entries in the MySQL config (`entrypoint.sh` will handle users)
&& sed -ri 's/^user\s/#&/' /etc/mysql/my.cnf /etc/mysql/conf.d/* \
# Purge and re-create /var/lib/mysql with appropriate ownership
&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
# Ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID
&& chmod 777 /var/run/mysqld \
# Comment out a few problematic configuration values
&& sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
# Don't reverse lookup hostnames, they are usually another container
&& echo 'skip-host-cache\nskip-name-resolve' | awk '{ print } $1 == "[mysqld]" && c == 0 { c = 1; system("cat") }' /etc/mysql/my.cnf > /tmp/my.cnf \
&& mv /tmp/my.cnf /etc/mysql/my.cnf \
# Clean out apt lists
&& rm -rf /var/lib/apt/lists/*
# Volume for DB data
VOLUME /var/lib/mysql
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 3306
CMD ["mysqld"] | 41.916667 | 152 | 0.658052 |
15513ee60de062d99ab1eb70a6254f292326abd9 | 187 | null | Dockerfile | openapi-diff/Dockerfile | Smartwyre/swagger-diff-eval | 3f2e1ed892113535dcfcf6448373d869e6c0c263 | [
"Apache-2.0"
] | null | null | null | openapi-diff/Dockerfile | Smartwyre/swagger-diff-eval | 3f2e1ed892113535dcfcf6448373d869e6c0c263 | [
"Apache-2.0"
] | null | null | null | openapi-diff/Dockerfile | Smartwyre/swagger-diff-eval | 3f2e1ed892113535dcfcf6448373d869e6c0c263 | [
"Apache-2.0"
] | null | null | null | FROM node:12.13.1-alpine3.10
WORKDIR /usr/src/app
ENV NODE_ENV=production
RUN apk add --no-cache git \
&& npm install -g openapi-diff@0.23.0
ENTRYPOINT ["openapi-diff"]
CMD ["-h"] | 17 | 41 | 0.68984 |
50ddb9228c95b751a20895c42d68c437506f342d | 200 | null | Dockerfile | ruoyi-ui/Dockerfile | emaoshushu/ruoyi-vue-docker | d97ab73ddd9672d328dd25eafe2ec932354d0060 | [
"MIT"
] | null | null | null | ruoyi-ui/Dockerfile | emaoshushu/ruoyi-vue-docker | d97ab73ddd9672d328dd25eafe2ec932354d0060 | [
"MIT"
] | null | null | null | ruoyi-ui/Dockerfile | emaoshushu/ruoyi-vue-docker | d97ab73ddd9672d328dd25eafe2ec932354d0060 | [
"MIT"
] | null | null | null | # syntax=docker/dockerfile:1
FROM node:14.16.1-alpine3.13
ENV NODE_ENV=development
WORKDIR /app
COPY package.json ./
RUN npm install --registry=https://registry.npm.taobao.org
COPY . .
CMD npm run dev | 25 | 58 | 0.77 |
d31f54ea8a12e02975ca6a1b709c46286b02c966 | 260 | null | Dockerfile | Dockerfile | ikhurramraza/dockerized-app | 70d746f3117ae092118c1b8da646eb13ee9f7fb8 | [
"MIT"
] | null | null | null | Dockerfile | ikhurramraza/dockerized-app | 70d746f3117ae092118c1b8da646eb13ee9f7fb8 | [
"MIT"
] | null | null | null | Dockerfile | ikhurramraza/dockerized-app | 70d746f3117ae092118c1b8da646eb13ee9f7fb8 | [
"MIT"
] | null | null | null | # FROM image
# RUN useradd -Urm --no-log-init deploy
# USER deploy
# COPY --chown=deploy:deploy app home/deploy/app
# COPY --chown=deploy:deploy docker/entrypoint.sh home/deploy/app
# WORKDIR home/deploy/app
# ENTRYPOINT ["./entrypoint.sh"]
# CMD ["sh"]
| 17.333333 | 65 | 0.703846 |
8df032869340c3fced75fb6659fb38b57768191e | 677 | null | Dockerfile | src/Altinn.Apps/AppFrontend/react/receipt/Dockerfile | lasseklovstad/altinn-studio | 5d32064b3db40de7fbfa66b6ba41ee3e85b9c05b | [
"BSD-3-Clause"
] | null | null | null | src/Altinn.Apps/AppFrontend/react/receipt/Dockerfile | lasseklovstad/altinn-studio | 5d32064b3db40de7fbfa66b6ba41ee3e85b9c05b | [
"BSD-3-Clause"
] | 119 | 2021-11-01T08:42:03.000Z | 2022-03-17T06:18:31.000Z | src/Altinn.Apps/AppFrontend/react/receipt/Dockerfile | lasseklovstad/altinn-studio | 5d32064b3db40de7fbfa66b6ba41ee3e85b9c05b | [
"BSD-3-Clause"
] | null | null | null | # base image
FROM node:16.15.0-alpine3.15 AS generate-receipt-app
WORKDIR /build
# Context is ./src, see docker-compose.yaml in src\Altinn.Platform\Altinn.Platform.Receipt\docker-compose.yml
COPY Altinn.Apps/AppFrontend/react/package.json .
COPY Altinn.Apps/AppFrontend/react/yarn.lock .
COPY Altinn.Apps/AppFrontend/react/.yarn/ ./.yarn/
COPY Altinn.Apps/AppFrontend/react/.yarnrc.yml .
# Copy shared and receipt code.
COPY Altinn.Apps/AppFrontend/react/shared/ ./shared/
COPY Altinn.Apps/AppFrontend/react/receipt/ ./receipt/
# Install
RUN corepack enable
RUN yarn --immutable
# Build runtime
RUN yarn workspace receipt-react-app run build; exit 0
CMD ["echo", "done"]
| 28.208333 | 109 | 0.774003 |
42055b7f64617e7734c30c1c4a7fa66ab447d06b | 282 | null | Dockerfile | Dockerfile | wendellmedina/centos-custom | 040932cf4cf2b421b2d156cd1e60e2efe3dc3897 | [
"Apache-2.0"
] | null | null | null | Dockerfile | wendellmedina/centos-custom | 040932cf4cf2b421b2d156cd1e60e2efe3dc3897 | [
"Apache-2.0"
] | null | null | null | Dockerfile | wendellmedina/centos-custom | 040932cf4cf2b421b2d156cd1e60e2efe3dc3897 | [
"Apache-2.0"
] | null | null | null | # CentOS 7 custom build
# https://github.com/wendellmedina/centos-custom
#
# Pull base image.
FROM centos:centos7
MAINTAINER Wendell Medina <wendellmedina@gmail.com>
# Update and install packages
RUN yum update -y && \
yum install -y curl sudo git vim && \
yum clean all
| 21.692308 | 51 | 0.723404 |
0bae708cced6c338505ca24ee44956d04079b351 | 715 | null | Dockerfile | Dockerfile | keneanung/Mudlet-Base-Docker | 9c57c01d132fe79ef6ea716731afd1fdab228481 | [
"MIT"
] | null | null | null | Dockerfile | keneanung/Mudlet-Base-Docker | 9c57c01d132fe79ef6ea716731afd1fdab228481 | [
"MIT"
] | null | null | null | Dockerfile | keneanung/Mudlet-Base-Docker | 9c57c01d132fe79ef6ea716731afd1fdab228481 | [
"MIT"
] | null | null | null | # escape=`
FROM keneanung/qt-windows:5.12.3-mingw-x86
COPY Mudlet/CI/appveyor.functions.ps1 C:/src/Mudlet/CI/
RUN setx PATH "%MINGW_BASE_DIR%\bin;C:\Python27;C:\Program Files (x86)\CMake\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\Program Files\7-Zip;%PATH%"
RUN powershell -Command cd C:\src\Mudlet\CI; `
[Net.ServicePointManager]::SecurityProtocol = [System.Security.Authentication.SslProtocols] 'tls, tls11, tls12'; `
. .\appveyor.functions.ps1; `
CheckAndInstall7z; `
CheckAndInstallCmake; `
CheckAndInstallMingwGet; `
CheckAndInstallMsys; `
CheckAndInstallBoost; `
CheckAndInstallPython; `
cd ..\..; `
dir; `
[IO.Directory]::Delete((Resolve-Path "C:\src").ProviderPath, $true)
| 37.631579 | 146 | 0.71049 |
9b29bd8a5ee12052f994e52bff372be9a0b2f7fe | 425 | null | Dockerfile | Dockerfile | system-design-2/user-service | 5bf71e15d7c0969bac55a0e53298711877b02aa1 | [
"MIT"
] | null | null | null | Dockerfile | system-design-2/user-service | 5bf71e15d7c0969bac55a0e53298711877b02aa1 | [
"MIT"
] | null | null | null | Dockerfile | system-design-2/user-service | 5bf71e15d7c0969bac55a0e53298711877b02aa1 | [
"MIT"
] | null | null | null | FROM python:3.10
ENV PYTHONUNBUFFERED 1
ENV PORT 8000
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app/src
RUN apt-get update && apt-get install build-essential curl -y
RUN pip3 install -U pip
RUN pip3 install --upgrade pip
ADD requirements.txt ./
RUN pip3 install -r requirements.txt && \
apt-get --purge autoremove build-essential -y
COPY src/ ./
EXPOSE 8000
| 20.238095 | 78 | 0.729412 |
24876764add82080af86d32e9d2b8f3fc9251053 | 147 | null | Dockerfile | backend/Dockerfile | JavierDuarteC/mern-ProjectLog | 71430fb59e8849a9d776feb6efc54261ba7eba37 | [
"MIT"
] | null | null | null | backend/Dockerfile | JavierDuarteC/mern-ProjectLog | 71430fb59e8849a9d776feb6efc54261ba7eba37 | [
"MIT"
] | 5 | 2020-09-06T21:35:46.000Z | 2022-02-18T07:41:29.000Z | backend/Dockerfile | JavierDuarteC/mern-ProjectLog | 71430fb59e8849a9d776feb6efc54261ba7eba37 | [
"MIT"
] | null | null | null | FROM node:8.10
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install -g nodemon
EXPOSE 3000
CMD nodemon server | 9.8 | 26 | 0.721088 |
12a410e31b716e30d8ee28a2a55ed940915297a8 | 1,973 | null | Dockerfile | webapplication/Sticks-n-pucks/Dockerfile | karinakozarova/Sticks-n-pucks | d109f6dc7f6b7882e671ae5b2a6d1667bfa40e70 | [
"MIT"
] | null | null | null | webapplication/Sticks-n-pucks/Dockerfile | karinakozarova/Sticks-n-pucks | d109f6dc7f6b7882e671ae5b2a6d1667bfa40e70 | [
"MIT"
] | null | null | null | webapplication/Sticks-n-pucks/Dockerfile | karinakozarova/Sticks-n-pucks | d109f6dc7f6b7882e671ae5b2a6d1667bfa40e70 | [
"MIT"
] | null | null | null | ################################################################################
# Dockerfile for the Sticks-n-pucks Web application project #
# Author: Karina K. Kozarova #
# Date: 26.12.2020 #
# #
# To build use: docker build -t sticks-n-pucks . #
# To run use: docker run --rm -p 8888:8081 docker.io/library/sticks-n-pucks #
# Access at http://localhost:8888/ on your local PC #
################################################################################
# using an Alpine, OpenJDK 11, JRE docker image
FROM fabric8/java-alpine-openjdk11-jre
COPY . /usr/app/
WORKDIR /usr/app
# installing dependencies
RUN apk add curl
RUN apk add tar
RUN apk add bash
RUN apk add procps
RUN apk add nodejs npm
# FOR DEBUGGING ONLY:
# To see the node and npm versions
# RUN node -v
# RUN npm -v
# GRADLE SETUP
# Define Gradle version to download
ARG GRADLE_VERSION=6.5.1
# URL for downloading gradle
ARG GRADLE_BASE_URL=https://services.gradle.org/distributions
# Create the directories
RUN mkdir -p /usr/share/gradle /usr/share/gradle/ref
# Download gradle
RUN curl -fsSL -o /tmp/gradle.zip ${GRADLE_BASE_URL}/gradle-${GRADLE_VERSION}-bin.zip
# Install gradle
RUN unzip -d /usr/share/gradle /tmp/gradle.zip
# Remove downloaded file
RUN rm -f /tmp/gradle.zip
# Set links
RUN ln -s /usr/share/gradle/gradle-${GRADLE_VERSION} /usr/bin/gradle
# Define environmental variables required by gradle
ENV GRADLE_VERSION 4.0.1
ENV GRADLE_HOME /usr/bin/gradle
ENV GRADLE_USER_HOME /cache
ENV PATH $PATH:$GRADLE_HOME/bin
# Creates a mount point
VOLUME $GRADLE_USER_HOME
# List the avilable gradle tasks
RUN gradle tasks
# Expose the gradle port that is used for the bootrun
EXPOSE 8081
CMD ["gradle", "bootrun"] | 30.353846 | 85 | 0.58743 |
9bb1ac10932147de4b40dbd5cb04e35c794a777a | 3,679 | null | Dockerfile | Dockerfile | magda-io/elasticsearch-docker | fce342b8c34e1a071e8d154de4d6dbb9605943ce | [
"Apache-2.0"
] | null | null | null | Dockerfile | magda-io/elasticsearch-docker | fce342b8c34e1a071e8d154de4d6dbb9605943ce | [
"Apache-2.0"
] | null | null | null | Dockerfile | magda-io/elasticsearch-docker | fce342b8c34e1a071e8d154de4d6dbb9605943ce | [
"Apache-2.0"
] | null | null | null | ################################################################################
# Modified from:
# https://github.com/elastic/elasticsearch-docker/blob/6.5.4/templates/Dockerfile.j2
################################################################################
# Build stage 0 `prep_es_files`:
# Extract elasticsearch artifact
# Install required plugins
# Set gid=0 and make group perms==owner perms
################################################################################
FROM openjdk:11-jre-buster AS prep_es_files
ARG TARGETARCH
ENV ES_VERSION=6.5.4
ENV INGEST_PLUGINS="ingest-user-agent ingest-geoip"
ENV ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch
ENV ES_TARBAL=${ES_DOWNLOAD_URL}/elasticsearch-oss-${ES_VERSION}.tar.gz
ENV ES_TARBALL_ASC=${ES_DOWNLOAD_URL}/elasticsearch-${ES_VERSION}.tar.gz.asc
ENV ES_GPG_KEY=46095ACC8548582C1A2699A9D27D666CD88E42B4
ENV PATH /usr/share/elasticsearch/bin:$PATH
RUN groupadd -g 1000 elasticsearch && \
useradd -u 1000 -g 1000 -d /usr/share/elasticsearch elasticsearch
WORKDIR /usr/share/elasticsearch
RUN chown -R elasticsearch:0 . && \
chmod -R g=u /usr/share/elasticsearch
USER 1000
# Download and extract defined ES version.
RUN curl -fsSL "$ES_TARBAL" | \
tar zx --strip-components=1
RUN set -ex && for esdirs in config data logs; do \
mkdir -p "$esdirs"; \
done
RUN ls -l && set -ex && for esdirs in config data logs; do \
mkdir -p "$esdirs"; \
done
RUN for PLUGIN in ${INGEST_PLUGINS}; do \
elasticsearch-plugin install --batch "$PLUGIN"; done
COPY --chown=1000:0 elasticsearch.yml log4j2.properties config/
COPY --chown=1000:0 jvm.${TARGETARCH}.options config/jvm.options
USER 0
# Set gid to 0 for elasticsearch and make group permission similar to that of user
# This is needed, for example, for Openshift Open: https://docs.openshift.org/latest/creating_images/guidelines.html
# and allows ES to run with an uid
RUN chown -R elasticsearch:0 . && \
chmod -R g=u /usr/share/elasticsearch
################################################################################
# Build stage 1 (the actual elasticsearch image):
# Copy elasticsearch from stage 0
# Add entrypoint
################################################################################
FROM openjdk:11-jre-buster
ENV ES_VERSION=6.5.4
ENV ELASTIC_CONTAINER true
RUN apt-get update && \
apt-get install -y netcat && \
rm -rf /var/lib/apt/lists/*
WORKDIR /usr/share/elasticsearch
RUN groupadd -g 1000 elasticsearch && \
useradd -u 1000 -g 1000 -G 0 -d /usr/share/elasticsearch elasticsearch && \
chmod 0775 /usr/share/elasticsearch && \
chgrp 0 /usr/share/elasticsearch
COPY --from=prep_es_files --chown=1000:0 /usr/share/elasticsearch /usr/share/elasticsearch
ENV PATH /usr/share/elasticsearch/bin:$PATH
COPY --chown=1000:0 bin/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
# Openshift overrides USER and uses ones with randomly uid>1024 and gid=0
# Allow ENTRYPOINT (and ES) to run even with a different user
RUN chgrp 0 /usr/local/bin/docker-entrypoint.sh && \
chmod g=u /etc/passwd && \
chmod 0775 /usr/local/bin/docker-entrypoint.sh
EXPOSE 9200 9300
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.vendor="Elastic" \
org.label-schema.name="elasticsearch" \
org.label-schema.version="${ES_VERSION}" \
org.label-schema.url="https://www.elastic.co/products/elasticsearch" \
org.label-schema.vcs-url="https://github.com/elastic/elasticsearch-docker" \
license="Apache-2.0"
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
# Dummy overridable parameter parsed by entrypoint
CMD ["eswrapper"] | 35.038095 | 116 | 0.659147 |
8a43e89245f55ce41411d2406f52f196cbda16ad | 142 | null | Dockerfile | Dockerfile | ashudson23/xivapi-react-client | c1b6b46ec87e52943247bb2dc2023fc8e7782679 | [
"MIT"
] | null | null | null | Dockerfile | ashudson23/xivapi-react-client | c1b6b46ec87e52943247bb2dc2023fc8e7782679 | [
"MIT"
] | 2 | 2021-08-31T20:46:41.000Z | 2021-12-09T01:46:40.000Z | Dockerfile | ashudson23/xivapi-react-client | c1b6b46ec87e52943247bb2dc2023fc8e7782679 | [
"MIT"
] | null | null | null | FROM node:12-alpine
ENV PORT=8080
COPY package* ./
RUN npm install
COPY . .
RUN npm run build
CMD [ "npm", "run", "serve" ]
EXPOSE $PORT | 10.923077 | 29 | 0.65493 |
b241ec0ac413be1310cfc06d62fd5bb84882e93a | 1,871 | null | Dockerfile | hygieia-starter-kit/Dockerfile | drewkhoury/hygieia-starter-kit | e706013e32fdad63f9efcab21c2dd102c9c7fad7 | [
"Apache-2.0"
] | null | null | null | hygieia-starter-kit/Dockerfile | drewkhoury/hygieia-starter-kit | e706013e32fdad63f9efcab21c2dd102c9c7fad7 | [
"Apache-2.0"
] | null | null | null | hygieia-starter-kit/Dockerfile | drewkhoury/hygieia-starter-kit | e706013e32fdad63f9efcab21c2dd102c9c7fad7 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM hygieiadoc/hygieia-starter-base:latest
EXPOSE 8080
EXPOSE 80
EXPOSE 27017
ENV JAVA_HOME /usr/lib/jvm/java-openjdk
ENV PROP_FILE /hygieia/application.properties
COPY /api/* /hygieia/api/
COPY /system/* /etc/systemd/system/
COPY /collectors/* /hygieia/collectors/
COPY /ui/httpd.conf /etc/httpd/conf/
#COPY /certs/* /hygieia/cacerts/
COPY /properties-builder.sh /hygieia/
# For adding certs
RUN ls -1 /hygieia/cacerts | while read cert; do \
openssl x509 -outform der -in /hygieia/cacerts/$cert -out $cert.der; \
$JAVA_HOME/bin/keytool -import -alias $cert -keystore $JAVA_HOME/jre/lib/security/cacerts -trustcacerts -file $cert.der -storepass changeit -noprompt; \
rm $cert.der; \
done
RUN systemctl enable mongod; \
systemctl enable hygieiaapp.service; \
systemctl enable sonarcollector.service; \
systemctl enable jenkinscollector.service; \
systemctl enable githubcollector.service; \
systemctl enable httpd.service
WORKDIR /hygieia/
RUN chmod 777 properties-builder.sh
ENTRYPOINT ["/hygieia/properties-builder.sh"]
CMD ["/usr/sbin/init"]
| 35.980769 | 160 | 0.759487 |
4081801b293876cb6934f1af68775e0271b61337 | 713 | dockerfile | Dockerfile | frameworks/OCaml/morph/morph-static.dockerfile | pimbrouwers/FrameworkBenchmarks | 42a4bd241de0576b28f6c806a2320e64dcfcead0 | [
"BSD-3-Clause"
] | null | null | null | frameworks/OCaml/morph/morph-static.dockerfile | pimbrouwers/FrameworkBenchmarks | 42a4bd241de0576b28f6c806a2320e64dcfcead0 | [
"BSD-3-Clause"
] | 7 | 2021-01-21T01:41:53.000Z | 2022-02-16T01:15:37.000Z | frameworks/OCaml/morph/morph-static.dockerfile | pimbrouwers/FrameworkBenchmarks | 42a4bd241de0576b28f6c806a2320e64dcfcead0 | [
"BSD-3-Clause"
] | null | null | null | FROM alpine:latest as certs
RUN apk --update add ca-certificates
FROM reasonnative/web:4.10.1-nightly as builder
RUN mkdir /app
WORKDIR /app
COPY src/esy.json src/morph-tfb.opam src/dune-project /app/
RUN esy install
RUN esy build-dependencies --release
COPY ./src/bin /app/bin
RUN esy dune build --profile=docker --release
RUN esy mv "#{self.target_dir / 'default' / 'bin' / 'tfb.exe'}" main.exe
RUN strip main.exe
FROM scratch as runtime
ENV OPENSSL_STATIC=1
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
ENV SSL_CERT_DIR=/etc/ssl/certs
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
WORKDIR /app
COPY --from=builder /app/main.exe main.exe
ENTRYPOINT ["/app/main.exe"]
| 20.970588 | 72 | 0.748948 |
6cbaa1be53b80194c53c6d2b109223ca07b0e7f7 | 594 | null | Dockerfile | Dockerfile | SlashNephy/temper-influx-exporter | 99726a87946b8d2059a80a8d2c22a44b933c5288 | [
"MIT"
] | null | null | null | Dockerfile | SlashNephy/temper-influx-exporter | 99726a87946b8d2059a80a8d2c22a44b933c5288 | [
"MIT"
] | null | null | null | Dockerfile | SlashNephy/temper-influx-exporter | 99726a87946b8d2059a80a8d2c22a44b933c5288 | [
"MIT"
] | null | null | null | FROM alpine
RUN apk add --update --no-cache --virtual .build-deps \
build-base \
libusb-dev \
libusb-compat-dev \
make \
git \
&& apk add --no-cache \
curl \
libusb \
libusb-compat \
jq \
\
# Build
&& git clone https://github.com/sergiokhayyat/temper /app \
&& cd /app \
&& make temper_json \
&& install -m 755 temper_json /usr/local/bin \
\
# Clean
&& apk del --purge .build-deps \
&& rm -rf /app
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENV INTERVAL=60
ENTRYPOINT ["/entrypoint.sh"]
| 19.8 | 63 | 0.557239 |
bfc3795ce9af9ca0744e4a4bdaba47761281045f | 4,485 | null | Dockerfile | openjdk8-alfresco-solr4/src/main/resources/Dockerfile | jvanmalder/acosix-docker-alfresco | 93ba93b22e44104710115bc96f44610bef8444fc | [
"Apache-2.0"
] | null | null | null | openjdk8-alfresco-solr4/src/main/resources/Dockerfile | jvanmalder/acosix-docker-alfresco | 93ba93b22e44104710115bc96f44610bef8444fc | [
"Apache-2.0"
] | null | null | null | openjdk8-alfresco-solr4/src/main/resources/Dockerfile | jvanmalder/acosix-docker-alfresco | 93ba93b22e44104710115bc96f44610bef8444fc | [
"Apache-2.0"
] | null | null | null | FROM ${docker.from.id}:${docker.from.version}
# add prepared files that would be too awkward to handle via RUN / sed
COPY initSolr4.sh copyTemplate.sh solr4-logrotate.d solr4-ng.conf prepareSolr4Files.js defaultArtifacts /tmp/
COPY defaultKeystore /tmp/defaultKeystore/
# apply our SOLR 4 default configurations
RUN mv /tmp/solr4-logrotate.d /etc/logrotate.d/alfresco-solr4 \
&& mv /tmp/prepareSolr4Files.js /var/lib/tomcat8/ \
&& mv /tmp/solr4-ng.conf /etc/syslog-ng/conf.d/solr4-ng.conf \
&& mv /tmp/initSolr4.sh /etc/my_init.d/50_initSolr4.sh \
&& chmod +x /etc/my_init.d/50_initSolr4.sh \
&& mkdir -p /srv/alfresco-solr4/modules \
&& mv /tmp/defaultKeystore /srv/alfresco-solr4/ \
&& chmod 600 /srv/alfresco-solr4/defaultKeystore/* \
&& chown -R tomcat8:tomcat8 /srv/alfresco-solr4/defaultKeystore
ARG maven_required_artifacts=
ARG alfresco_solr4_version=6.7
ARG alfresco_solr4_war_artifact=
ARG alfresco_solr4_config_zip_artifact=
ARG maven_active_repositories='[{"id": "alfresco", "baseUrl": "https://artifacts.alfresco.com/nexus/content/groups/public", "user": null, "password": null}, {"id": "alfresco_ee", "baseUrl": "https://artifacts.alfresco.com/nexus/content/groups/private", "user": null, "password": null}, {"id": "central", "baseUrl": "https://repo1.maven.org/maven2", "user": null, "password": null}, {"id": "ossrh", "baseUrl": "https://oss.sonatype.org/content/repositories/snapshots", "user": null, "password": null}]'
ARG jmx_rmi_port=5003
ENV MAVEN_REQUIRED_ARTIFACTS=$maven_required_artifacts
ENV ALFRESCO_SOLR4_VERSION=$alfresco_solr4_version
ENV ALFRESCO_SOLR4_WAR_ARTIFACT=$alfresco_solr4_war_artifact
ENV ALFRESCO_SOLR4_CONFIG_ZIP_ARTIFACT=$alfresco_solr4_config_zip_artifact
ENV MAVEN_ACTIVE_REPOSITORIES=$maven_active_repositories
ENV JMX_RMI_PORT=$jmx_rmi_port
EXPOSE 8080 8081 8082 8083 $jmx_rmi_port
RUN jjs -scripting /var/lib/tomcat8/prepareSolr4Files.js -- /tmp \
&& mkdir -p /srv/alfresco-solr4/solrhome \
&& unzip -qq "/tmp/config.zip" -d /srv/alfresco-solr4/solrhome/ \
&& mv /tmp/*.jar /srv/alfresco-solr4/modules/ || true \
&& mkdir -p /etc/tomcat8/Catalina/localhost \
&& mv /srv/alfresco-solr4/solrhome/context.xml /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i 's/@@ALFRESCO_SOLR4_DIR@@/\/srv\/alfresco-solr4\/solrhome/' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i 's/@@ALFRESCO_SOLR4_MODEL_DIR@@/\/srv\/alfresco-solr4\/index\/_models/' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i 's/@@ALFRESCO_SOLR4_CONTENT_DIR@@/\/srv\/alfresco-solr4\/index\/_content/' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i '/<\/Context>/i <Resources>' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i '/<\/Context>/i <PostResources base="/srv/alfresco-solr4/modules" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/lib" />' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i '/<\/Context>/i </Resources>' /etc/tomcat8/Catalina/localhost/solr4.xml \
&& sed -i 's/rootLogger=ERROR, file, CONSOLE/rootLogger=ERROR, file/' /srv/alfresco-solr4/solrhome/log4j-solr.properties \
&& sed -i 's/File=solr\.log/File=\${catalina.base}\/logs\/solr.log/' /srv/alfresco-solr4/solrhome/log4j-solr.properties \
&& bash /tmp/copyTemplate.sh \
&& rm -rf /srv/alfresco-solr4/solrhome/workspace-SpacesStore /srv/alfresco-solr4/solrhome/archive-SpacesStore \
&& mkdir -p /srv/alfresco-solr4/index/_content \
&& mkdir -p /srv/alfresco-solr4/index/_models \
&& chown -R tomcat8:tomcat8 /srv/alfresco-solr4/solrhome \
&& chown -R tomcat8:tomcat8 /srv/alfresco-solr4/index \
&& mv /tmp/*.war /var/lib/tomcat8/webapps/ \
&& rm -f /tmp/*.zip /tmp/*.war*
# having SOLR core configurations in an externalised volume is optional - index is expected to be always externalised
# we also support /srv/alfresco-solr4/defaultArtifacts but don't want to force a volume to be auto-created if not bound
VOLUME ["/srv/alfresco-solr4/index", "/srv/alfresco-solr4/coreConfigs", "/srv/alfresco-solr4/keystore"]
LABEL vendor="${docker.labels.vendor}" \
${docker.labels.namespace}.version="${project.version.majorVersion}.${project.version.minorVersion}.${project.version.incrementalVersion}" \
${docker.labels.namespace}.is-beta="" \
${docker.labels.namespace}.is-production="" \
${docker.labels.namespace}.release-date="${docker.labels.release-date}" \
${docker.labels.namespace}.maintainer="${docker.labels.maintainer}" | 67.954545 | 501 | 0.736009 |
73aac44949700dd8dbc7f5c6c00a59bed0acf242 | 211 | null | Dockerfile | test/Dockerfile | andystanton/cool-makefile-for-cmake | 26de5131073c32184ac94cc70ac0e964dcdd18c6 | [
"MIT"
] | null | null | null | test/Dockerfile | andystanton/cool-makefile-for-cmake | 26de5131073c32184ac94cc70ac0e964dcdd18c6 | [
"MIT"
] | null | null | null | test/Dockerfile | andystanton/cool-makefile-for-cmake | 26de5131073c32184ac94cc70ac0e964dcdd18c6 | [
"MIT"
] | null | null | null | FROM debian
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update -qq -y \
&& 2>/dev/null 1>&2 apt-get install -qq -y make cmake g++ bsdmainutils
| 42.2 | 84 | 0.672986 |
b4a3dbf60d46c78c06674d6109a5e23f93829f7f | 656 | null | Dockerfile | postgres/Dockerfile | dataforgoodfr/batch4_diafoirus_mimic | b7e37830f4ca0aecdc320962d329ab90c0840f86 | [
"MIT"
] | null | null | null | postgres/Dockerfile | dataforgoodfr/batch4_diafoirus_mimic | b7e37830f4ca0aecdc320962d329ab90c0840f86 | [
"MIT"
] | 3 | 2018-04-01T10:47:57.000Z | 2018-05-09T17:19:55.000Z | postgres/Dockerfile | dataforgoodfr/batch4_diafoirus_mimic | b7e37830f4ca0aecdc320962d329ab90c0840f86 | [
"MIT"
] | 4 | 2018-03-31T21:19:37.000Z | 2018-07-03T16:14:06.000Z | FROM postgres:10.3
RUN apt-get update \
&& apt-get install -y nano git make \
&& apt-get clean && apt-get autoremove
# clone the postgres build scripts into a local folder
# and create a directory for the data
RUN mkdir mimic-code \
&& cd mimic-code \
&& git init \
&& git remote add -f origin https://github.com/MIT-lcp/mimic-code \
&& git config core.sparseCheckout true \
&& echo "buildmimic/postgres/" >> .git/info/sparse-checkout \
&& git pull origin master \
&& cp -r buildmimic /docker-entrypoint-initdb.d/ \
&& mkdir /mimic_data
# Add setup.sh to the entrypoint
ADD setup.sh /docker-entrypoint-initdb.d/
| 31.238095 | 71 | 0.670732 |
bbe406c2e08157b44f18e5e25c0bf53c7f280cd5 | 1,942 | null | Dockerfile | Dockerfile | yevster/tomcat-container-quickstart-1 | 727ab3dcad09fcf327d119cb38e3d8b90b8d58b1 | [
"MIT"
] | null | null | null | Dockerfile | yevster/tomcat-container-quickstart-1 | 727ab3dcad09fcf327d119cb38e3d8b90b8d58b1 | [
"MIT"
] | null | null | null | Dockerfile | yevster/tomcat-container-quickstart-1 | 727ab3dcad09fcf327d119cb38e3d8b90b8d58b1 | [
"MIT"
] | null | null | null | FROM mcr.microsoft.com/java/jdk:8-zulu-alpine
ARG APP_FILE=ROOT.war
ARG TOMCAT_VERSION=9.0.31
ARG SERVER_XML=server.xml
ARG LOGGING_PROPERTIES=logging.properties
ARG CATALINA_PROPERTIES=catalina.properties
ARG TOMCAT_MAJOR=9
ENV LOG_ROOT=/tomcat_logs
ENV PATH /usr/local/tomcat/bin:$PATH
# Make Java 8 obey container resource limits, improve performance
ENV JAVA_OPTS "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseG1GC -Djava.awt.headless=true"
# Cleanup & Install
RUN apk add --update openssh-server bash openrc \
&& rm -rf /var/cache/apk/* \
# Remove unnecessary services
&& rm -f /etc/init.d/hwdrivers \
/etc/init.d/hwclock \
/etc/init.d/mtab \
/etc/init.d/bootmisc \
/etc/init.d/modules \
/etc/init.d/modules-load \
/etc/init.d/modloop \
# Install Tomcat
&& wget -O /tmp/apache-tomcat-${TOMCAT_VERSION}.tar.gz https://archive.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz --no-verbose \
&& mkdir /usr/local/tomcat \
&& tar xvzf /tmp/apache-tomcat-${TOMCAT_VERSION}.tar.gz -C /usr/local/tomcat --strip-components 1 \
&& rm -f /tmp/apache-tomcat-${TOMCAT_VERSION}.tar.gz \
# Remove the sample webapps provided by Tomcat
&& rm -rf /usr/local/tomcat/webapps/*
COPY $APP_FILE /usr/local/tomcat/webapps/ROOT.war
RUN mkdir /usr/local/tomcat/webapps/ROOT \
&& cd /usr/local/tomcat/webapps/ROOT \
&& unzip ../ROOT.war \
&& rm -f ../ROOT.war
COPY ${SERVER_XML} /usr/local/tomcat/conf/server.xml
COPY ${LOGGING_PROPERTIES} /usr/local/tomcat/conf/logging.properties
COPY ${CATALINA_PROPERTIES} /usr/local/tomcat/conf/catalina.properties
# Copy the startup script
COPY startup.sh /startup.sh
RUN chmod a+x /startup.sh
EXPOSE 8080
CMD ["/startup.sh"]
| 37.346154 | 199 | 0.675077 |
b82cbd2d180c3534f3afb6608b4f9e216d501caf | 1,264 | null | Dockerfile | TextToSpeechOnSpeechService/Dockerfile | maciej-bielecki/TextToSpeechCaptchaPOC | 8b80cb9c3eca2478e98dca14b38bad08ea873ac7 | [
"MIT"
] | null | null | null | TextToSpeechOnSpeechService/Dockerfile | maciej-bielecki/TextToSpeechCaptchaPOC | 8b80cb9c3eca2478e98dca14b38bad08ea873ac7 | [
"MIT"
] | null | null | null | TextToSpeechOnSpeechService/Dockerfile | maciej-bielecki/TextToSpeechCaptchaPOC | 8b80cb9c3eca2478e98dca14b38bad08ea873ac7 | [
"MIT"
] | null | null | null | #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.4-bionic AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
# without it we will have Unable to load shared library 'libMicrosoft.CognitiveServices.Speech.core.so' or one of its dependencies
# https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/cpp/linux/from-microphone/README.md
RUN apt-get update
RUN apt-get -y install build-essential libssl1.0.0 libasound2 wget
RUN apt-get -y install libc6-dev
RUN apt-get -y install libgdiplus
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build
WORKDIR /src
COPY ["TextToSpeechOnSpeechService/TextToSpeechOnSpeechService.csproj", "TextToSpeechOnSpeechService/"]
RUN dotnet restore "TextToSpeechOnSpeechService/TextToSpeechOnSpeechService.csproj"
COPY . .
WORKDIR "/src/TextToSpeechOnSpeechService"
RUN dotnet build "TextToSpeechOnSpeechService.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "TextToSpeechOnSpeechService.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "TextToSpeechOnSpeechService.dll"] | 43.586207 | 133 | 0.813291 |
6e5004c7af369aac283f5e9bc599dc8be4d45ac8 | 573 | null | Dockerfile | jvb/Dockerfile | BinauralMeet/docker-jitsi-multi-jvbs-octo | 008a6ade0dd3768bf077a37f609a7c13dbca00d7 | [
"Apache-2.0"
] | null | null | null | jvb/Dockerfile | BinauralMeet/docker-jitsi-multi-jvbs-octo | 008a6ade0dd3768bf077a37f609a7c13dbca00d7 | [
"Apache-2.0"
] | null | null | null | jvb/Dockerfile | BinauralMeet/docker-jitsi-multi-jvbs-octo | 008a6ade0dd3768bf077a37f609a7c13dbca00d7 | [
"Apache-2.0"
] | null | null | null | ARG JITSI_REPO=jitsi
FROM ${JITSI_REPO}/base-java
RUN \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y jitsi-videobridge2 jq curl iproute2 && \
apt-cleanup
COPY rootfs/ /
# https://github.com/jitsi/docker-jitsi-meet/issues/207
RUN \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y wget && \
apt-cleanup && \
wget -O /ssl.deb http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb && \
apt-dpkg-wrap dpkg -i /ssl.deb && \
rm /ssl.deb -f
VOLUME /config
| 26.045455 | 134 | 0.685864 |
43e463726ca8a7e68d7972457bb83139ed330c58 | 274 | null | Dockerfile | src/post/Dockerfile | Otus-DevOps-2018-09/dnvlasov_microservices | fe761cea356b2853ee866427d345ad6502df2df3 | [
"MIT"
] | null | null | null | src/post/Dockerfile | Otus-DevOps-2018-09/dnvlasov_microservices | fe761cea356b2853ee866427d345ad6502df2df3 | [
"MIT"
] | 12 | 2018-12-09T17:16:14.000Z | 2019-02-18T13:06:53.000Z | src/post/Dockerfile | Otus-DevOps-2018-09/dnvlasov_microservices | fe761cea356b2853ee866427d345ad6502df2df3 | [
"MIT"
] | 1 | 2018-10-09T10:53:56.000Z | 2018-10-09T10:53:56.000Z | FROM python:3.6.0-alpine
WORKDIR /app
ADD . /app
RUN pip install --upgrade pip
RUN apk add --no-cache --virtual .build-deps gcc musl-dev
RUN pip install -r /app/requirements.txt
ENV POST_DATABASE_HOST post_db
ENV POST_DATABASE posts
ENTRYPOINT ["python3", "post_app.py"]
| 21.076923 | 57 | 0.759124 |
fdb6b568b4a03eb55221cd5b6eb9db685aace611 | 684 | null | Dockerfile | Dockerfile | RomanRuby/machine-learning-project-template | d9c26786b50345e5665f76c9e6976531432b58c9 | [
"MIT"
] | null | null | null | Dockerfile | RomanRuby/machine-learning-project-template | d9c26786b50345e5665f76c9e6976531432b58c9 | [
"MIT"
] | null | null | null | Dockerfile | RomanRuby/machine-learning-project-template | d9c26786b50345e5665f76c9e6976531432b58c9 | [
"MIT"
] | null | null | null | FROM ubuntu:18.04
MAINTAINER Roman Nagibov <roman.nagibov@gmail.com>
# Install build-essential, git, wget and other dependencies
RUN apt-get update && apt-get install -y \
build-essential \
git \
curl \
libfreetype6-dev \
libopenblas-dev \
libopencv-dev \
liblapack-dev \
python \
python-dev \
python-pip \
python-setuptools \
python-numpy \
graphviz \
python-setuptools \
wget \
screen \
rsync \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp/.
WORKDIR /tmp
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 6006 8888
WORKDIR "/root"
CMD ["/bin/bash"]
| 19 | 59 | 0.638889 |
33ad2d247babe2575d9e97be13fba9e11cb5bf47 | 1,013 | null | Dockerfile | master/Dockerfile | OlafRadicke/alternativ_buildbot_docker_image | f2dcc68c2a1c7aedc895b96ac77d19983242426d | [
"MIT"
] | null | null | null | master/Dockerfile | OlafRadicke/alternativ_buildbot_docker_image | f2dcc68c2a1c7aedc895b96ac77d19983242426d | [
"MIT"
] | null | null | null | master/Dockerfile | OlafRadicke/alternativ_buildbot_docker_image | f2dcc68c2a1c7aedc895b96ac77d19983242426d | [
"MIT"
] | null | null | null | FROM alpine:3.11
MAINTAINER Olaf Radicke
# Based on "Installation From PyPI" under http://docs.buildbot.net/latest/manual/installation/installation.html#installation-from-pypi
# Clean and strait forward
COPY ./srv_buildbot /srv/buildbot
RUN apk add --no-cache \
git \
py3-pip \
curl \
python3 \
dumb-init \
python3-dev \
gcc \
musl-dev \
libffi-dev \
libressl-dev \
postgresql-dev
# alpine-sdk \
# tar \
# tzdata \
# openssh
# postgresql-libs \
RUN pip3 install --upgrade pip
RUN pip3 install buildbot==2.7
RUN pip3 install buildbot-www
RUN pip3 install buildbot-waterfall-view
RUN pip3 install buildbot-console-view
RUN pip3 install psycopg2-binary
# RUN pip install buildbot-worker
RUN adduser buildbot --disabled-password
RUN chown -Rv buildbot.buildbot /srv/buildbot
USER buildbot
WORKDIR /srv/buildbot
RUN ls -lah
CMD ["dumb-init", "/srv/buildbot/start_buildbot.sh"]
| 25.325 | 134 | 0.663376 |
ae31767e91682dc9e31c1f7cdc3bd545ee5c109a | 368 | null | Dockerfile | docker/node/Dockerfile | angeloreale/dj-website-vue-boilerplate-server | a34d32b6035980b1c9028d632b39bd703fabaa41 | [
"MIT"
] | null | null | null | docker/node/Dockerfile | angeloreale/dj-website-vue-boilerplate-server | a34d32b6035980b1c9028d632b39bd703fabaa41 | [
"MIT"
] | 1 | 2020-07-19T04:34:57.000Z | 2020-07-19T04:34:57.000Z | docker/node/Dockerfile | angeloreale/dj-website-vue-boilerplate-server | a34d32b6035980b1c9028d632b39bd703fabaa41 | [
"MIT"
] | null | null | null | FROM node:10.12.0-alpine
# add bash
RUN apk update
RUN apk upgrade
RUN apk add bash
WORKDIR /app
COPY package.json /app
# https://stackoverflow.com/a/32785014/232619
COPY . /app
RUN npm install
RUN npm install bcryptjs pm2 -g
RUN npm install bcryptjs
COPY ./docker/wait-for-it.sh /usr/local
RUN chmod +x /usr/local/wait-for-it.sh
EXPOSE 3000
CMD ["npm", "start"]
| 16.727273 | 45 | 0.73913 |
c41d83ce92cc35570c3796e3ea65740873408ced | 309 | dockerfile | Dockerfile | proposal-mvn.dockerfile | hy-tomioka/orange-talents-07-template-proposta | 5cd696571f51244ab24a5658146f578023e73414 | [
"Apache-2.0"
] | null | null | null | proposal-mvn.dockerfile | hy-tomioka/orange-talents-07-template-proposta | 5cd696571f51244ab24a5658146f578023e73414 | [
"Apache-2.0"
] | null | null | null | proposal-mvn.dockerfile | hy-tomioka/orange-talents-07-template-proposta | 5cd696571f51244ab24a5658146f578023e73414 | [
"Apache-2.0"
] | null | null | null | ## Builder Image
FROM maven:3.6.3-jdk-11 AS builder
COPY src /usr/src/app/src
COPY pom.xml /usr/src/app
RUN mvn -f /usr/src/app/pom.xml package
## Runner Image
FROM openjdk:11
COPY --from=builder /usr/src/app/target/*.jar /usr/app/app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/usr/app/app.jar"] | 25.75 | 63 | 0.68932 |
a13cc936a24ae9518acf07b0b3d73912998235c2 | 353 | null | Dockerfile | cds_hooks/Dockerfile | CDCgov/GaTech-Fall2017-Srinivasan-ImproveAdherence-DEVSonFHIR | ad145d5c35f8bbb52afca2f644002e10a42eeadf | [
"Apache-2.0"
] | null | null | null | cds_hooks/Dockerfile | CDCgov/GaTech-Fall2017-Srinivasan-ImproveAdherence-DEVSonFHIR | ad145d5c35f8bbb52afca2f644002e10a42eeadf | [
"Apache-2.0"
] | null | null | null | cds_hooks/Dockerfile | CDCgov/GaTech-Fall2017-Srinivasan-ImproveAdherence-DEVSonFHIR | ad145d5c35f8bbb52afca2f644002e10a42eeadf | [
"Apache-2.0"
] | 1 | 2020-12-21T22:28:45.000Z | 2020-12-21T22:28:45.000Z | # This file has been modified from the original
FROM node:6
RUN mkdir -p /tmp/service && \
mkdir -p /app
ADD ./mock-cds-backend/package.json /tmp/service/
RUN cd /tmp/service && npm install
ADD . /app
WORKDIR /app
RUN mv run-backend /bin && \
mv /tmp/service/node_modules /app/mock-cds-backend
ENV HTTP_PORT_BACKEND 8099
CMD run-backend
| 16.809524 | 54 | 0.708215 |
7c08b1da1072a21fd1b62c9e1487d6f9e6cc655e | 731 | null | Dockerfile | mono/latest/Dockerfile | j122j/yolks | 12ac22fa47cd833a4fbd8d2a40d07e60a62f7b09 | [
"MIT"
] | 1 | 2022-01-26T08:00:43.000Z | 2022-01-26T08:00:43.000Z | mono/latest/Dockerfile | j122j/yolks | 12ac22fa47cd833a4fbd8d2a40d07e60a62f7b09 | [
"MIT"
] | null | null | null | mono/latest/Dockerfile | j122j/yolks | 12ac22fa47cd833a4fbd8d2a40d07e60a62f7b09 | [
"MIT"
] | null | null | null | FROM ghcr.io/j122j/yolks:debian
LABEL author="Torsten Widmann" maintainer="support@goover.de"
RUN apt update \
&& apt -y upgrade
RUN apt install -y fontconfig dirmngr
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
RUN apt update
RUN apt install -y mono-complete lib32gcc-s1
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
| 38.473684 | 147 | 0.673051 |
26b7db61c126b75e96cbf0b6ae4782b253010779 | 634 | null | Dockerfile | bot/Dockerfile | ne-bknn/CSSH | 19edac61011ddcb9ddbdbe1d1029fe8404329528 | [
"MIT"
] | 1 | 2021-05-12T19:38:55.000Z | 2021-05-12T19:38:55.000Z | bot/Dockerfile | ne-bknn/CSSH | 19edac61011ddcb9ddbdbe1d1029fe8404329528 | [
"MIT"
] | 1 | 2021-05-25T09:12:25.000Z | 2021-05-26T10:04:35.000Z | bot/Dockerfile | ne-bknn/CSSH | 19edac61011ddcb9ddbdbe1d1029fe8404329528 | [
"MIT"
] | 1 | 2021-05-25T06:57:24.000Z | 2021-05-25T06:57:24.000Z | FROM python:3.7.10-slim-stretch AS build
RUN apt-get update && \
apt-get install --no-install-suggests --no-install-recommends --yes python3-venv gcc libpython3-dev && \
python3 -m venv /venv && \
/venv/bin/pip install --upgrade pip
COPY requirements.txt /requirements.txt
RUN /venv/bin/pip install --disable-pip-version-check -r /requirements.txt
RUN ln -s -f /usr/bin/python3 /venv/bin/python3
RUN ln -s -f /usr/bin/python /venv/bin/python
FROM gcr.io/distroless/python3-debian10
COPY --from=build /venv /venv
COPY bot.py config.py ui.py db.py /bot/
WORKDIR /app
ENTRYPOINT ["/venv/bin/python3", "/bot/bot.py"]
| 28.818182 | 108 | 0.712934 |
961c0f072fc4b1ac7a71f5b3ce7370b394239df4 | 387 | null | Dockerfile | build/dockerfiles/data-mining/Dockerfile | seakers/daphne | 5e088db9b47108112599926d7c730d6ebc15fde1 | [
"MIT"
] | 1 | 2021-02-18T14:42:34.000Z | 2021-02-18T14:42:34.000Z | build/dockerfiles/data-mining/Dockerfile | ayushnepal/daphne | 74188e948d3beeecd28b5fde9300a7b2006de891 | [
"MIT"
] | null | null | null | build/dockerfiles/data-mining/Dockerfile | ayushnepal/daphne | 74188e948d3beeecd28b5fde9300a7b2006de891 | [
"MIT"
] | 1 | 2021-02-18T14:30:30.000Z | 2021-02-18T14:30:30.000Z | FROM openjdk:12
# EXPOSE 9191
WORKDIR /app
RUN yum update -y && \
yum upgrade -y && \
yum install git -y && \
git clone https://github.com/seakers/data-mining.git
# COPY ./dockerfile_resources/ifeed-data-mining.jar /app/data-mining/.
COPY ../../dockerfile_resources/ifeed-data-mining.jar /app/data-mining/.
WORKDIR /app/data-mining
CMD java -jar ifeed-data-mining.jar
| 20.368421 | 72 | 0.700258 |
f27d6a58c2bd927a992e60dc995ead395cfbf352 | 248 | null | Dockerfile | Dockerfile | rcowham/p4dbeat | a8b89a364293e68ee59ce35cc99d705b7cc8bb24 | [
"Apache-2.0"
] | 1 | 2019-10-18T08:55:14.000Z | 2019-10-18T08:55:14.000Z | Dockerfile | rcowham/p4dbeat | a8b89a364293e68ee59ce35cc99d705b7cc8bb24 | [
"Apache-2.0"
] | 6 | 2019-10-02T12:52:53.000Z | 2020-09-25T15:30:20.000Z | Dockerfile | rcowham/p4dbeat | a8b89a364293e68ee59ce35cc99d705b7cc8bb24 | [
"Apache-2.0"
] | 1 | 2020-09-21T15:43:53.000Z | 2020-09-21T15:43:53.000Z | FROM golang:1.14 AS build
ADD ./ /build/
WORKDIR /build
RUN go get
RUN rm -rf p4dbeat && make ES_BEATS=$GOPATH/pkg/mod/github.com/elastic/beats/v7@v7.9.1 p4dbeat
FROM ubuntu:18.04
COPY --from=build /build/p4dbeat /p4dbeat
ENTRYPOINT [ "/p4dbeat" ] | 27.555556 | 94 | 0.737903 |
bc663ade457a7d9e614c31b769339153f05ccfc3 | 705 | null | Dockerfile | docker/elasticsearch/Dockerfile | GillCleeren/dak4.net | 15b7d61e0e9b68a2e046b4e9c51534496797fc5c | [
"MIT"
] | 1 | 2020-07-13T09:14:47.000Z | 2020-07-13T09:14:47.000Z | docker/elasticsearch/Dockerfile | GillCleeren/dak4.net | 15b7d61e0e9b68a2e046b4e9c51534496797fc5c | [
"MIT"
] | null | null | null | docker/elasticsearch/Dockerfile | GillCleeren/dak4.net | 15b7d61e0e9b68a2e046b4e9c51534496797fc5c | [
"MIT"
] | 1 | 2021-03-23T06:45:31.000Z | 2021-03-23T06:45:31.000Z | FROM mcr.microsoft.com/windows/nanoserver:1809 AS download
ARG ELASTIC_VERSION="6.8.9"
# https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.8.5.zip
RUN curl -o elasticsearch.zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-%ELASTIC_VERSION%.zip
RUN tar -xzf elasticsearch.zip
# elasticsearch
FROM openjdk:11-jdk-nanoserver-1809
ARG ELASTIC_VERSION="6.8.9"
EXPOSE 9200 9300
ENV ES_HOME="/usr/share/elasticsearch" \
ES_JAVA_OPTS="-Xms1024m -Xmx1024m"
WORKDIR /usr/share/elasticsearch
COPY --from=download /elasticsearch-${ELASTIC_VERSION}/ .
COPY elasticsearch.yml log4j2.properties config/
USER ContainerAdministrator
CMD ["bin\\elasticsearch.bat"] | 32.045455 | 122 | 0.801418 |
deb1ff10743dc569903efe9da57f0c646e88154e | 184 | null | Dockerfile | Dockerfile | chenjia1949/my-singo | 8a2465f8aa648aadc8c3d2386de8094d22ae01e4 | [
"MIT"
] | 1 | 2021-12-07T01:18:05.000Z | 2021-12-07T01:18:05.000Z | Dockerfile | chenjia1949/my-singo | 8a2465f8aa648aadc8c3d2386de8094d22ae01e4 | [
"MIT"
] | null | null | null | Dockerfile | chenjia1949/my-singo | 8a2465f8aa648aadc8c3d2386de8094d22ae01e4 | [
"MIT"
] | null | null | null | FROM 172.16.5.27/golang/golang:1.15-alpine
MAINTAINER chenjia chenjia_java@163.com
ENV LANG C.UTF-8
RUN mkdir /home
COPY my-singo /home/
COPY .env /home
RUN chmod 777 /home/my-singo
| 20.444444 | 42 | 0.76087 |
84d75326e2644fcbe652ca80c3fee0d55f360cbc | 166 | null | Dockerfile | docker-apps/nodejs/Dockerfile | sam0996/hello-world-node | 1c2d3b1b594fa815258975814efb8aa55c3da6cd | [
"Apache-2.0"
] | 1 | 2020-05-20T15:32:51.000Z | 2020-05-20T15:32:51.000Z | docker-apps/nodejs/Dockerfile | sam0996/hello-world-node | 1c2d3b1b594fa815258975814efb8aa55c3da6cd | [
"Apache-2.0"
] | 2 | 2020-05-04T14:32:24.000Z | 2020-05-25T18:54:15.000Z | docker-apps/nodejs/Dockerfile | sam0996/deployment-template | 1c2d3b1b594fa815258975814efb8aa55c3da6cd | [
"Apache-2.0"
] | null | null | null | FROM node:12.16.3
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install --production
COPY . .
EXPOSE 3000
RUN npm run lint && npm run test
CMD [ "npm", "start" ] | 20.75 | 32 | 0.692771 |