# First stage:
FROM golang:1.11
RUN curl -fsSL -o /usr/local/bin/dep \
  https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 \
  && chmod +x /usr/local/bin/dep
WORKDIR /go/src/github.com/alexandrevilain/fake-backend
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure -vendor-only
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .

# Final stage:
FROM alpine
WORKDIR /root
COPY --from=0 /go/src/github.com/alexandrevilain/fake-backend/app .
EXPOSE 3000
CMD ["./app"] 
FROM python:2.7-stretch
MAINTAINER abdoulrahimbarry(barry2abdulrahim@gmail.com)
RUN apt-get update -y && apt-get install python-dev python3-dev libsasl2-dev python-dev libldap2-dev libssl-dev -y
RUN pip install flask flask_httpauth flask_simpleldap python-dotenv
COPY student_age.py /
VOLUME ["/data"]
EXPOSE 5000
CMD ["python", "./student_age.py"]

FROM java:8-jdk-alpine 
EXPOSE 8020
ADD target/docker.jar docker.jar
ENTRYPOINT ["java","-jar","/docker.jar"]
crowdbotics-apps/tst-twkktcudvu-dev-4371 - backend/Dockerfile

This react_native application was built with Crowdbotics www.crowdbotics.com

FROM ubuntu:bionic

ENV LANG C.UTF-8
ARG DEBIAN_FRONTEND=noninteractive
# Allow SECRET_KEY to be passed via arg so collectstatic can run during build time
ARG SECRET_KEY

# libpq-dev and python3-dev help with psycopg2
RUN apt-get update \
  && apt-get install -y python3.7-dev python3-pip libpq-dev \
  && apt-get clean all \
  && rm -rf /var/lib/apt/lists/*

WORKDIR /opt/webapp
COPY . .
RUN pip3 install --no-cache-dir -q pipenv && pipenv install --deploy --system
RUN python3 manage.py collectstatic --no-input

# Run the image as a non-root user
RUN adduser --disabled-password --gecos "" django
USER django

# Run the web server on port $PORT
CMD waitress-serve --port=$PORT tst_twkktcudvu_dev_4371.wsgi:application
NeuraLegion/broken_crystals - Dockerfile

A vulnerable Application in crystal

#
# Builder
#

FROM ubuntu:19.10 AS builder

LABEL org.opencontainers.image.vendor="NeuraLegion"
LABEL org.opencontainers.image.title="Broken crystals"
LABEL org.opencontainers.image.source="https://github.com/NeuraLegion/broken_crystals"
LABEL org.opencontainers.image.authors="Bar Hofesh , \
  Mirsad Halicevic , \
  Amar Zlojic "

ARG DEBIAN_FRONTEND=noninteractive

ARG CRYSTAL_WORKERS=8
ENV CRYSTAL_WORKERS=$CRYSTAL_WORKERS

RUN apt-get update -qq --fix-missing
RUN apt-get install -y --no-install-recommends apt-utils ca-certificates curl gnupg libdbus-1-dev \
  build-essential libevent-dev libssl-dev libyaml-dev libgmp-dev git \
  libxml2 libxml2-dev libxslt1-dev build-essential patch zlib1g-dev liblzma-dev libevent-pthreads-2.1-6
RUN apt-key adv --fetch-keys "https://keybase.io/crystal/pgp_keys.asc"
RUN echo "deb https://dist.crystal-lang.org/apt crystal main" | tee /etc/apt/sources.list.d/crystal.list
RUN apt-get update -qq
RUN apt-get install -y --no-install-recommends crystal


# Create relevant directories
RUN mkdir -p /opt/broken_crystals

WORKDIR /opt/broken_crystals

COPY src ./src
COPY spec ./spec
# COPY spec_integration ./spec_integration
COPY shard.yml ./

# Install dependencies
RUN shards install

# Build broken crystals
RUN shards build -p --error-trace

#
# NexPloit
#

FROM ubuntu:19.10

ARG CRYSTAL_WORKERS=8
ENV CRYSTAL_WORKERS=$CRYSTAL_WORKERS

RUN apt-get update -qq --fix-missing && apt-get install -y --no-install-recommends \
  libevent-2.1 ca-certificates libevent-pthreads-2.1-6 curl

# Create relevant directories
RUN mkdir -p /opt/broken_crystals/public

WORKDIR /opt/broken_crystals/

COPY --from=builder /opt/broken_crystals/bin/broken_crystals /usr/bin/
COPY ./public/assets/ ./public/assets
COPY ./public/css/ ./public/css
COPY ./public/LFI/ ./public/LFI
COPY ./public/images/ ./public/images
COPY ./public/js/ ./public/js
COPY ./public/media/ ./public/media
COPY ./public/vendor/ ./public/vendor

ENTRYPOINT ["/usr/bin/broken_crystals"]
nakaakist/alpine-util - Dockerfile

docker image of alpine linux with curl, net-tools, and bind-tools.

FROM alpine
RUN apk --no-cache add curl net-tools bind-tools
crowdbotics-apps/tst-nkubpnsmng-dev-4372 - Dockerfile

This django application was built with Crowdbotics www.crowdbotics.com

FROM ubuntu:bionic

ENV LANG C.UTF-8
ARG DEBIAN_FRONTEND=noninteractive
# Allow SECRET_KEY to be passed via arg so collectstatic can run during build time
ARG SECRET_KEY

# libpq-dev and python3-dev help with psycopg2
RUN apt-get update \
  && apt-get install -y python3.7-dev python3-pip libpq-dev \
  && apt-get clean all \
  && rm -rf /var/lib/apt/lists/*

WORKDIR /opt/webapp
COPY . .
RUN pip3 install --no-cache-dir -q pipenv && pipenv install --deploy --system
RUN python3 manage.py collectstatic --no-input

# Run the image as a non-root user
RUN adduser --disabled-password --gecos "" django
USER django

# Run the web server on port $PORT
CMD waitress-serve --port=$PORT tst_nkubpnsmng_dev_4372.wsgi:application
pengfeidai/gin-user-center - Dockerfile

基于gin-app-start完成的同一的应用层用户中心,包含用户登录、会话校验、角色分配、权限管理等功能。

# 拉取golang镜像
# FROM golang:1.14.2-stretch
FROM golang:1.14.2-alpine3.11

# 设置镜像作者
LABEL MAINTAINER="302804389@qq.com"

ENV GOPROXY="https://goproxy.cn,direct" \
    GO111MODULE=on

# 创建目录,保存代码
RUN mkdir -p /opt/workspace/gin-user-center \
  && mkdir -p /data/gin-user-center/logs \
  && mkdir -p /opt/conf/

# 指定RUN、CMD与ENTRYPOINT命令的工作目录
WORKDIR /opt/workspace/gin-user-center

COPY go.mod .
COPY go.sum .
RUN go mod download

# 复制所有文件到工作目录
COPY . .

RUN CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -a -o gin-user-center .

COPY config.yaml /opt/conf

EXPOSE 8000

CMD ["./gin-user-center", "-c=/opt/conf/config.yaml"]
# Use the official image as a parent image.
FROM anapsix/alpine-java:latest

# Set the working directory.
WORKDIR /usr/src/app

# Copy the file from your host to your current location.
COPY build/libs/math-0.0.1-SNAPSHOT.jar app.jar
COPY docker-entrypoint.sh /usr/local/bin/entrypoint
# make entrypoint as executable
RUN chmod +x /usr/local/bin/entrypoint
# creating folder /usr/src/app/ssl
RUN mkdir ssl
# copying the self-sighed cert to image
COPY ssl/keystore.p12 /usr/src/app/ssl/keystore.p12

# Inform Docker that the container is listening on the specified port at runtime.
EXPOSE 8080
ENTRYPOINT ["entrypoint"]
FROM openjdk:8-alpine

RUN apk update
RUN apk add  maven
COPY pom.xml devops_calculator/pom.xml
COPY src devops_calculator/src
WORKDIR devops_calculator
RUN mvn package
CMD ["java","-cp","target/devops_calulator-1.0-SNAPSHOT.jar","calculator.Calculator"]