FROM bash
ENV TERM=linux

ADD bin/debug-launcher /debug-launcher
ADD entry-point.sh /entry-point.sh
ENTRYPOINT ["/entry-point.sh"]

FROM bash:4.3.48
RUN wget -q http://download.pingcap.org/tidb-latest-linux-amd64.tar.gz \
        && tar xzf tidb-latest-linux-amd64.tar.gz \
        && mv tidb-latest-linux-amd64/bin/pd-ctl \
              tidb-latest-linux-amd64/bin/tidb-ctl \
              /usr/local/bin/ \
        && rm -rf tidb-latest-linux-amd64.tar.gz tidb-latest-linux-amd64

ADD banner /etc/banner
ADD profile  /etc/profile

CMD ["/usr/local/bin/bash", "-l"]


FROM centos:7

RUN yum update -y && yum install -y \
    curl \
    file \
    gdb \
    git \
    iotop \
    linux-perf \
    mysql \
    net-tools \
    perf \
    perl \
    procps-ng \
    psmisc \
    strace \
    sysstat \
    tree \
    tcpdump \
    unzip \
    vim \
    wget \
    which \
    netstat \
    && yum clean all \
    && rm -rf /var/cache/yum/*

RUN wget -q http://download.pingcap.org/tidb-latest-linux-amd64.tar.gz \
    && tar xzf tidb-latest-linux-amd64.tar.gz \
    && mv tidb-latest-linux-amd64/bin/* /usr/local/bin/ \
    && rm -rf tidb-latest-linux-amd64.tar.gz tidb-latest-linux-amd64

RUN wget https://github.com/brendangregg/FlameGraph/archive/master.zip \
    && unzip master.zip \
    && mv FlameGraph-master /opt/FlameGraph \
    && rm master.zip
COPY run_flamegraph.sh /run_flamegraph.sh
COPY gdbinit /root/.gdbinit

# used for go pprof
ENV GOLANG_VERSION 1.12.4
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 d7d1f1f88ddfe55840712dc1747f37a790cbcaa448f6c9cf51bbe10aa65442f5
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
	&& echo "$GOLANG_DOWNLOAD_SHA256  golang.tar.gz" | sha256sum -c - \
	&& tar -C /usr/local -xzf golang.tar.gz \
	&& rm golang.tar.gz
ENV GOPATH /go
ENV GOROOT /usr/local/go
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH

ADD banner /etc/banner
ADD profile  /etc/profile

ENTRYPOINT ["/bin/bash", "-l"]
FROM alpine:3.5

ENV KUBECTL_VERSION=v1.12.2
ENV HELM_VERSION=v2.9.1

RUN apk update && apk add --no-cache ca-certificates curl git openssl bash mysql-client
RUN curl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
    -o /usr/local/bin/kubectl && \
    chmod +x /usr/local/bin/kubectl && \
    curl https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz \
    -o helm-${HELM_VERSION}-linux-amd64.tar.gz && \
    tar -zxvf helm-${HELM_VERSION}-linux-amd64.tar.gz && \
    mv linux-amd64/helm /usr/local/bin/helm && \
    rm -rf linux-amd64 && \
    rm helm-${HELM_VERSION}-linux-amd64.tar.gz

ADD tidb-operator /charts/e2e/tidb-operator
ADD tidb-cluster /charts/e2e/tidb-cluster
ADD tidb-backup /charts/e2e/tidb-backup
ADD manifests /manifests/e2e

ADD bin/e2e /usr/local/bin/e2e
FROM alpine:3.5

ENV KUBECTL_VERSION=v1.12.2
ENV HELM_VERSION=v2.9.1

RUN apk update && apk add --no-cache ca-certificates curl git openssl bash mysql-client
RUN curl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
    -o /usr/local/bin/kubectl && \
    chmod +x /usr/local/bin/kubectl && \
    curl https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz \
    -o helm-${HELM_VERSION}-linux-amd64.tar.gz && \
    tar -zxvf helm-${HELM_VERSION}-linux-amd64.tar.gz && \
    mv linux-amd64/helm /usr/local/bin/helm && \
    rm -rf linux-amd64 && \
    rm helm-${HELM_VERSION}-linux-amd64.tar.gz

ADD bin/stability-test /usr/local/bin/stability-test
eastend-street/jotdown - docker/django/Dockerfile

WIP: A personal project, Note and bookmark service. (React.js, Redux, Django)

FROM python:3.6

ENV product_name="jotdown"
ENV product_version="0.1"

RUN mkdir /${product_name}/
# COPY ~/projects/jotdown/django /${product_name}/django
WORKDIR /${product_name}/django

RUN pip install --upgrade -q \
pip \
django==2.1.7 \
django-debug-toolbar \
djangorestframework \
django-filter \
django-cors-headers \
beautifulsoup4

EXPOSE 8000

CMD ["bash"]
# CMD ["gunicorn","-c","gunicorn_conf.py","main.wsgi:application"]
MetalBlueberry/PeePooMonitor - motion_processor/Dockerfile

My application to monitor when my cats make his natural needs.

FROM golang:1.12 as dev
WORKDIR /app
ENV SHELL /bin/bash

FROM golang:1.12-alpine3.9 as builder

RUN apk update && apk upgrade && \
    apk add --no-cache bash git openssh

WORKDIR /app
COPY . .

RUN go install -v ./...

FROM alpine:3.9 as motion_processor
COPY --from=builder /go/bin/motion_processor /usr/bin/motion_processor
RUN apk update && apk upgrade && \
    apk add --no-cache ca-certificates 

CMD ["motion_processor"]
bregydoc/plutus - Dockerfile

Plutus is a modern little tool to manage your payments, charges and invoices of your products. This tool is payment gateway agnostic and it's like a new layer on your traditional payment stack.

FROM golang:1.12
WORKDIR /go/src/app
COPY . .

RUN go get -d -v ./...
RUN go install -v ./...

CMD ["cmd"]
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
  && apt-get install -y python3-pip python3-dev build-essential python-opencv git zip unzip \
  && cd /usr/local/bin \
  && ln -s /usr/bin/python3 python \
  && pip3 install --upgrade pip

RUN pip3 install awscli aws tensorflow==1.12.0

RUN pip install --upgrade awscli==1.14.5 s3cmd==2.0.1 python-magic

RUN cd /tmp \
  && git clone https://github.com/mevanoff24/HandwritingDetection.git \
  && cd HandwritingDetection \
  && cd build \
  && chmod +x ./environment.sh \
  && chmod +x ./beam_search.sh \
  && cd app/models/context2vec \
  && mkdir models_103 \
  && cd models_103 \
  && aws --no-sign-request s3 --region=us-west-2 cp s3://handwrittingdetection/models/language_model/wiki-2/embedding.vec . \
  && aws --no-sign-request s3 --region=us-west-2 cp s3://handwrittingdetection/models/language_model/wiki-2/model.param . \
  && aws --no-sign-request s3 --region=us-west-2 cp s3://handwrittingdetection/models/language_model/wiki-2/model.param.config.json . \
  && aws --no-sign-request s3 --region=us-west-2 cp s3://handwrittingdetection/models/language_model/wiki-2/model.param.optim .

RUN cd /tmp/HandwritingDetection/build/app/models/ocr \
  && mkdir models \
  && cd models \
  && aws --no-sign-request s3 --region=us-west-2 cp s3://handwrittingdetection/models/ocr/weights-improvement2-10-01-3.00.hdf5 .

 
RUN cd /tmp/HandwritingDetection/build/app/models/OCRBeamSearch/src \
  && git clone https://github.com/githubharald/CTCWordBeamSearch.git \
  && cd CTCWordBeamSearch/cpp/proj \
  && cp /tmp/HandwritingDetection/build/beam_search.sh . \
  && ./beam_search.sh
  
  
RUN cd /tmp/HandwritingDetection/build/app/models/OCRBeamSearch/src \
  && cp CTCWordBeamSearch/cpp/proj/TFWordBeamSearch.so . \
  && rm -rf CTCWordBeamSearch
    
RUN cd /tmp/HandwritingDetection/build/app/models/OCRBeamSearch/model \
  && rm checkpoint \
  && unzip model.zip  
  

COPY . .
WORKDIR /tmp/HandwritingDetection/build/app
RUN pip3 install -r ../requirements.txt
RUN python -m nltk.downloader wordnet
ENTRYPOINT ["python3"]
CMD ["run.py"]

drtuxwang/system-config - docker/debian32/Dockerfile

Python wrapper and utility scripts including configuration files for Bash/Tcsh/Windows shells

FROM i386/debian:buster-slim

# Install base packages
RUN apt-get update --fix-missing && \
	apt-get install --no-install-recommends -y \
		dnsutils \
		iputils-ping \
		net-tools \
		openssh-client \
		pciutils \
		python3 \
		python3-pip \
		vim && \
	apt-get clean && \
	python3 -m pip install --upgrade pip && \
	rm -rf /root/.cache