Skip to content

Instantly share code, notes, and snippets.

@rst0git
rst0git / Dockerfile
Created August 17, 2019 10:52
Migrate Flask server between containers
FROM ubuntu:18.04 as build
RUN apt-get update -qq
RUN apt-get install -qq \
libnet-dev \
libnl-route-3-dev \
gcc \
bsdmainutils \
build-essential \
git-core \
all: build run
build:
gcc -Wall dst.c -o dst
gcc -Wall src.c -o src
run: t1 t2 t3 t4 t5 t6 t7 t8
cat *.log >> results.txt
rm -f *.log