Sign inSign up

vensder/simple_http_server

By vensder

Updated over 7 years ago

Simple Python 2.7 HTTP server with GET, POST and HEAD requests handling in a Docker container.

Image
0

1.3K

vensder/simple_http_server repository overview

Build Status

Simple Python http server in a Docker container

Simple Python 2.7 HTTP server with GET, POST and HEAD requests handling in a Docker container.

Jenkins can automatically detect and build newly created tags in a git repo.

Configure in Advanced settings of Jenkins Job: Click on the Advanced button below the repository URL and enter this paremeters:

Refspec: +refs/tags/*:refs/remotes/origin/tags/*

Branches to build -> Branch Specifier: */tags/*

Include this commands in Jenkins Job script:

TAG=${GIT_BRANCH##origin/tags/}

docker build -t simple_http_server:$TAG .

tag=$TAG docker-compose up -d

Don't forget to enable SCM polling.

Tag summary

Content type

Image

Digest

Size

23.3 MB

Last updated

almost 10 years ago

docker pull vensder/simple_http_server