eesast/info-web - Dockerfile

Web front for info.eesast.com

# Builder stage

FROM node:13 AS builder

# Create app directory
WORKDIR /home/node/app

# Install app dependencies
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile --no-cache

# Bundle app source
COPY . .

# Build
RUN yarn build


# Runner stage

FROM node:13-alpine
ENV NODE_ENV=production
WORKDIR /home/node/app

# Install serve
RUN yarn global add serve

# Copy build files
COPY --from=builder /home/node/app/build ./build

EXPOSE 28887

CMD serve -s build -p 28887
FROM ubuntu:19.10
MAINTAINER Shawn Jonnet 
RUN apt update
RUN apt install -y curl build-essential libssl-dev
RUN mkdir -p redis && curl -sL http://download.redis.io/releases/redis-5.0.7.tar.gz | tar -xz --strip 1 -C redis && cd redis && make && make install && cd ../ && mkdir -p /var/lib/redis && rm -fR redis
EXPOSE 6379
ENTRYPOINT ["/usr/local/bin/redis-server"]
FROM python:2.7
WORKDIR /application
RUN apt update
RUN python -m virtualenv venv
ENV FLASK_ENV production
ENV FLASK_APP run.py
COPY ./application/requirements .
RUN pip install -r requirements
COPY . .
ENTRYPOINT ["/usr/local/bin/flask", "run", "--host=0.0.0.0"]
alpin3/ulx3s-core - Dockerfile

ulx3s FPGA - core utils

FROM alpine:3.10
MAINTAINER kost - https://github.com/kost

ENV ULX3SBASEDIR=/opt

RUN apk --update add git bash wget build-base libusb-dev python3 libusb-compat-dev libftdi1-dev libtool automake autoconf make cmake pkgconf py2-pip && \
 rm -f /var/cache/apk/* && \
 echo "Success [deps]"

COPY root /

RUN cd $ULX3SBASEDIR && \
 git clone https://github.com/emard/ulx3s-bin && \
 cd $ULX3SBASEDIR && \
 git clone https://github.com/f32c/tools f32c-tools && \
 cd f32c-tools/ujprog && \
 cp $ULX3SBASEDIR/patches/Makefile.alpine . && \
 make -f Makefile.alpine && \
 install -m 755 -s ujprog /usr/local/bin && \
 cd $ULX3SBASEDIR && \
 git clone https://git.code.sf.net/p/openocd/code openocd && \
 cd openocd && \
 ./bootstrap && \
 LDFLAGS="--static" ./configure --enable-static && \
 make -j$(nproc) && \
 make install && \
 strip /usr/local/bin/openocd && \
 cd $ULX3SBASEDIR && \
 git clone https://github.com/richardeoin/ftx-prog.git && \
 cd ftx-prog && \
 make CFLAGS="-I/usr/include/libftdi1" LDFLAGS="/usr/lib/libftdi1.a /usr/lib/libusb-1.0.a /usr/lib/libusb.a -static" && \
 install -m 755 -s ftx_prog /usr/local/bin/ && \
 cd $ULX3SBASEDIR && \
 git clone https://github.com/emard/FleaFPGA-JTAG.git && \
 cd FleaFPGA-JTAG/FleaFPGA-JTAG-linux && \
 make CFLAGS="-I/usr/include/libftdi1 /usr/lib/libftdi1.a /usr/lib/libusb-1.0.a /usr/lib/libusb.a -static" && \
 install -m 755 -s FleaFPGA-JTAG /usr/local/bin && \
 cd $ULX3SBASEDIR && \
 pip2 install esptool && \
 pip2 install pyserial && \
 pip3 install esptool && \
 pip3 install pyserial && \
 echo "Success [build]"

#VOLUME ["/fpga"]
WORKDIR /fpga



FROM golang
RUN apt-get update
RUN go get \
    github.com/gorilla/websocket \
    github.com/spf13/viper \
    github.com/lib/pq \
    google.golang.org/grpc \
    github.com/dgrijalva/jwt-go \
    github.com/gorilla/mux \
    github.com/BomlGra/go-kur-trps/pkg/auth
COPY . /server
WORKDIR /server
EXPOSE 80
CMD go run conversation.go message.go checkers.go user.go \
    db.go time.go auth_api.go handlers-implementation.go handlers.go middleware.go \
    main.go ./config/dev.yml
FROM postgres
# COPY init-old.sql /docker-entrypoint-initdb.d
# COPY backup/backup0.sql /docker-entrypoint-initdb.d
# COPY create-auther.sql /docker-entrypoint-initdb.d
COPY init.sql /docker-entrypoint-initdb.d
VOLUME [ "/backup" ]
EXPOSE 5432
nickho6617/threecows - Dockerfile

An app to help farmers manage their cattle statistics

FROM python:3.7-alpine

ENV PYTHONUNBUFFERED 1

# Install dependencies
COPY ./requirements.txt /requirements.txt
RUN apk add --update --no-cache postgresql-client
RUN apk add --update --no-cache --virtual .tmp-build-deps \
      gcc libc-dev linux-headers postgresql-dev
RUN pip install -r /requirements.txt
RUN apk del .tmp-build-deps

RUN mkdir /src
WORKDIR /src
COPY ./src /src

RUN adduser -D user
USER user
bartoszkruba/shooter_game - server/Dockerfile

2D-online-realtime shooter written in LibKTX(Kotlin API for libGDX) and Node.js

FROM node:10

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 8080
CMD ["node", "index.js"]
xwiron/debian-ssh - Dockerfile

debian-ssh Dockerfile

FROM debian:latest

MAINTAINER Minh-Quan TRAN "xwiron@aliyun.com"

RUN apt-get update && \
    apt-get install -y vim && \
	apt-get install -y openssh-server && \
	rm -rf /var/lib/apt/lists/* && \
	apt-get clean

RUN echo 'root:root' |chpasswd

RUN groupadd iron && \
	useradd -g iron iron  && \
	cp -r /etc/skel /home/iron  && \
	chown -R iron:iron /home/iron

RUN sed -ri 's/^PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config && \
	sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config

RUN mkdir -p /var/run/sshd
	
EXPOSE 22

CMD    ["/usr/sbin/sshd", "-D"]
yurist38/docker-alpine-node-firebase - Dockerfile

Docker image based on Alpine with Node.js and firebase-tools (CLI)

FROM node:alpine

RUN npm install -g firebase-tools