Skip to content

staaas/docker-cobalt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile for static site generator Cobalt

This repository contains infrastructure for building docker images containing Cobalt binaries.

The docker image is based on alpine image. cobalt binary in the image is statically linked with musl.

Overview

Structure:

  • Makefile
  • git submodule cobalt.rs
  • Dockerfile

We use Makefile for automating docker image build process. git submodule cobalt.rs contains Cobalt source code. Image version is taken from submodule using git descrbie --tags.

Build Requirements

  • make
  • docker client (available without sudo)

Build Process

Don't forget to checkout cobalt.rs submodule:

git submodule init && git submodule update

Build docker images:

make

Publish docker image:

make push

Publish docker image as latest:

make push-latest

Long story shot, in order to release a new version one needs to:

  • update submodule so it points to a correct tag
  • build image using make
  • push image using make push (and optionally make push-latest)

About

Dockerfile for static site generator Cobalt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published