JarandDev/jarand-frontend - Dockerfile

NGINX proxy for serving static files and passing requests to backend applications

FROM nginx

RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf

COPY website website
COPY auth auth
COPY static static
fahamutech/BFastIDE - services/faasRuntime/Dockerfile

Web Backend IDE based on SpringBoot Data REST

FROM node:10-alpine

WORKDIR /faas

RUN apk update
RUN apk upgrade
RUN apk add unzip
RUN apk add curl
RUN apk add bash

RUN  curl -L https://github.com/fahamutech/BFastFunction/archive/v1.4.4.zip > /tmp/app.zip && unzip /tmp/app.zip -d /faas

RUN cp -r /faas/BFastFunction-1.4.4/* /faas
RUN rm -r /faas/BFastFunction-1.4.4
RUN npm ci --only=production
RUN apk del unzip
RUN rm /tmp/app.zip

COPY . ./

CMD [ "npm","run","start" ]
openzipkin/docker-zipkin-gcp - Dockerfile

Docker build for zipkin-gcp

#
# Copyright 2018-2019 The OpenZipkin 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.
#

FROM alpine

WORKDIR /zipkin-gcp

ENV ZIPKIN_GCP_REPO https://repo1.maven.org/maven2
ENV ZIPKIN_GCP_VERSION 0.14.1

RUN apk add curl unzip && \
  curl -SL $ZIPKIN_GCP_REPO/io/zipkin/gcp/zipkin-autoconfigure-storage-stackdriver/$ZIPKIN_GCP_VERSION/zipkin-autoconfigure-storage-stackdriver-$ZIPKIN_GCP_VERSION-module.jar > stackdriver.jar && \
  echo > .stackdriver_profile && \
  unzip stackdriver.jar -d stackdriver && \
  rm stackdriver.jar

FROM openzipkin/zipkin:2.17.0
MAINTAINER OpenZipkin "https://zipkin.io/"

COPY --from=0 /zipkin-gcp/ /zipkin/

# Readback is currently not supported
ENV QUERY_ENABLED false

env MODULE_OPTS="-Dloader.path=stackdriver -Dspring.profiles.active=stackdriver"
alpeware/chrome-headless-trunk - Dockerfile

Always up-to-date Headless Chromium right off the trunk in a Docker image

FROM ubuntu:14.04

LABEL maintainer "Alpeware "

ENV REV=700965

EXPOSE 9222

RUN apt-get update -qqy \
  && apt-get -qqy install libnss3 libnss3-tools libfontconfig1 wget ca-certificates apt-transport-https inotify-tools unzip \
  libpangocairo-1.0-0 libx11-xcb-dev libxcomposite-dev libxcursor1 libxdamage1 libxi6 libgconf-2-4 libxtst6 libcups2-dev \
  libxss-dev libxrandr-dev libasound2-dev libatk1.0-dev libgtk-3-dev ttf-ancient-fonts chromium-codecs-ffmpeg-extra libappindicator3-1 \
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/*

RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb \
	&& dpkg -i dumb-init_*.deb \
	&& rm dumb-init_1.2.0_amd64.deb

RUN wget -q -O chrome.zip https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$REV/chrome-linux.zip \
  && unzip chrome.zip \
  && rm chrome.zip \
  && ln -s $PWD/chrome-linux/chrome /usr/bin/google-chrome-unstable

RUN google-chrome-unstable --version

ADD start.sh import_cert.sh /usr/bin/

RUN mkdir /data
VOLUME /data
ENV HOME=/data DEBUG_ADDRESS=0.0.0.0 DEBUG_PORT=9222

ENTRYPOINT ["/usr/bin/dumb-init", "--"]

CMD ["/usr/bin/start.sh"]
mapleque/cell - Dockerfile

A user authorization solution

FROM debian:9.4-slim

COPY releases/cell-linux /opt/cell
COPY bin/templates /opt/templates
COPY bin/www /opt/www

ENV \
HTTP_LISTEN=0.0.0.0:80 \
HTTP_STATIC_PATH=/opt/www/html \
HTTPS_KEY_FILE= \
HTTPS_CERT_FILE= \
DB_DSN=root@tcp(localhost:3306)/cell?charset=utf8mb4&parseTime=true&loc=Local \
DB_MAX_IDLE=10 \
DB_MAX_OPEN=10 \
OIDC_PUBLIC_KEY_FILE= \
OIDC_PRIVATE_KEY_FILE= \
MAIL_USERNAME= \
MAIL_PASSWORD= \
MAIL_HOST= \
MAIL_ADDRESS= \
MAIL_FROM= \
MAIL_TEMPLATE_PATTERN=/opt/templates/mail_template/* \
KERBEROS_TGS_SECRET_KEY=a_random_token_with_32_charactor \
KERBEROS_APP_SECRET_KEY=b_random_token_with_32_charactor \
REACT_APP_PASSWORD_SALT=

ENTRYPOINT /opt/cell
autogestion/pubgate - docker/Dockerfile

Lightweight ActivityPub federator

FROM sanicframework/sanic:LTS

RUN mkdir -p /code
WORKDIR /code
ENV SHELL=/bin/sh

COPY . /code

RUN apk add --no-cache git libffi-dev
RUN pip install --no-cache-dir -r requirements/base.txt
RUN pip install --no-cache-dir -r requirements/extensions.txt

CMD ["python", "/code/run_api.py"]
christophstrasen/devenv - Dockerfile

A dockerized neovim development environment

FROM ubuntu:bionic
ARG UID=1000
ARG GID=1000
ARG UNAME=defaultuser

RUN apt-get update && \
	apt-get install sudo netcat wget -y && \
	groupadd -g $GID $UNAME && \
	useradd -m -u $UID -g $GID -s /bin/bash $UNAME  && \
	usermod -aG sudo $UNAME && \
	echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
	apt-get autoremove -y && \
	apt-get clean && \
	rm -rf /var/lib/apt/lists

# Required for `clear` command to work, etc.
ENV TERM xterm-256color

ENV USER $UNAME

COPY build.sh /tmp/build.sh

RUN bash /tmp/build.sh && \
	rm /tmp/build.sh

ENV HOME /home/$UNAME

WORKDIR /home/$UNAME

RUN sudo apt-get update && sudo apt-get install vim -y

COPY ./inputrc "$HOME/.inputrc"

RUN sudo chown "$USER":"$USER" "$HOME/.inputrc"

#power-tmux

#ENV XDG_CONFIG_HOME "$HOME/.config"

COPY ./powerline "$HOME/.config/powerline"

COPY ./.tmux.conf "$HOME/.tmux.conf"

COPY ./.tmate.conf "$HOME/.tmate.conf"

COPY ./build-power-tmux.sh /tmp/build-power-tmux.sh

RUN bash /tmp/build-power-tmux.sh && \
	sudo rm /tmp/build-power-tmux.sh

COPY ./yank.sh "$HOME/yank.sh"

# nvim

COPY ./build-nvim.sh /tmp/build-nvim.sh

COPY init.vim "$HOME/.config/nvim/init.vim"
COPY plugin.vim "$HOME/.config/nvim/plugin.vim"
COPY post-plugin.vim "$HOME/.config/nvim/post-plugin.vim"

COPY ./ycm-install /usr/local/bin/ycm-install

RUN /tmp/build-nvim.sh && \
	sudo rm /tmp/build-nvim.sh

# bashrc

COPY ./bashrc-additions.sh /tmp/bashrc-additions.sh
COPY ./build-bashrc.sh /tmp/build-bashrc.sh
RUN /tmp/build-bashrc.sh && sudo rm /tmp/build-bashrc.sh
RUN npm install -g eslint

RUN sudo npm install -g eslint
RUN apt-get update
RUN apt-get install sudo -y python3-dev python-dev python3-dbus python-dbus gpg ffmpeg libavformat-dev iputils-ping
RUN chown "$USER":"$USER" "$HOME"/.* -R
USER $UNAME
RUN pip install jrnl[encrypted] PyCrypto secretstorage keyrings.alt

# golang
RUN wget -q https://storage.googleapis.com/golang/getgo/installer_linux
RUN chmod +x installer_linux
SHELL ["/bin/bash", "-c"]
ENV SHELL bash
RUN ./installer_linux 
RUN source ~/.bash_profile
RUN nvim +GoInstallBinaries +qall

ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8

CMD ["/bin/bash"]

#just a comment
exfly/cslab - vagrant/archlinux/Dockerfile

Build the Development Environment with one click and my Code snippet

# docker build --pull --rm --force-rm -t exfly/archline-dev:latest .
FROM archlinux/base
# init image
# https://www.archlinux.org/mirrorlist/
# RUN curl -fsSL https://www.archlinux.org/mirrorlist/?country=CN -o /etc/pacman.d/mirrorlist \
#     && pacman -Syy \
#     && pacman -S --force pacman-mirrorlist

RUN curl -fsSL https://www.archlinux.org/mirrorlist/?country=CN | sed 's/#S/S/g' > /etc/pacman.d/mirrorlist \
    && pacman -Syy \
    && pacman -S --force pacman-mirrorlist

WORKDIR /home
# Build phase - use node: alpine
FROM node:alpine as builder
WORKDIR '/app'
## Copy package.json
COPY package.json .
## Install dependencies
RUN npm install
COPY . .
## Run 'npm run build'
RUN npm run build

# Run phase - Use nginx
FROM nginx
## expose outside the container the nginx dedault port - necessary for elastic beanstalk
EXPOSE 80
## Copy over the result of 'npm run build'
COPY --from=builder /app/build /usr/share/nginx/html


# docker build .
# docker run -p 8080:80 >

FROM node:10

WORKDIR /home/nodejs/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 80

CMD ["npm", "start"]