All Projects → po3rin → gockerfile

po3rin / gockerfile

Licence: Apache-2.0 license
🐳 gockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to gockerfile

dockerfile-plus
New commands for Dockerfile
Stars: ✭ 177 (+302.27%)
Mutual labels:  buildkit
Dockstation
DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
Stars: ✭ 1,744 (+3863.64%)
Mutual labels:  moby
Docker Ce
⚠️ This repository is deprecated and will be archived (Docker CE itself is NOT deprecated) see the https://github.com/docker/docker-ce/blob/master/README.md ⚠️
Stars: ✭ 5,435 (+12252.27%)
Mutual labels:  moby
Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+47331.82%)
Mutual labels:  moby
Portainer
Making Docker and Kubernetes management easy.
Stars: ✭ 20,434 (+46340.91%)
Mutual labels:  moby
Dockerode
Docker + Node = Dockerode (Node.js module for Docker's Remote API)
Stars: ✭ 3,416 (+7663.64%)
Mutual labels:  moby
docker-compose-v3
No description or website provided.
Stars: ✭ 15 (-65.91%)
Mutual labels:  moby
ethdock
Ethereum development package in docker.
Stars: ✭ 25 (-43.18%)
Mutual labels:  moby
dockerfile-utils
A library and command line interface for formatting and linting Dockerfiles.
Stars: ✭ 17 (-61.36%)
Mutual labels:  moby
duci
The simple ci server
Stars: ✭ 73 (+65.91%)
Mutual labels:  moby
swarm-launcher
A docker image to allow the launch of container in docker swarm, with options normally unavailable to swarm mode
Stars: ✭ 28 (-36.36%)
Mutual labels:  moby
dama
a simplified machine learning container platform that helps teams get started with an automated workflow
Stars: ✭ 76 (+72.73%)
Mutual labels:  moby
Buildkit
concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
Stars: ✭ 4,537 (+10211.36%)
Mutual labels:  buildkit
Img
Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
Stars: ✭ 3,512 (+7881.82%)
Mutual labels:  buildkit
oci-build-task
a Concourse task for building OCI images
Stars: ✭ 57 (+29.55%)
Mutual labels:  buildkit
buildkit-nix
Nix derivations as Dockerfiles (`docker build -f default.nix .`)
Stars: ✭ 99 (+125%)
Mutual labels:  buildkit

gockerfile

GolangCI

🐳 gockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.

Instalation as cmd

$ go get -u github.com/po3rin/gockerfile/cmd/gocker

Usage

po3rin/gocker config file

create Gockerfile.yaml (Gockerfile supports only 3 fields)

#syntax=po3rin/gocker

repo: github.com/po3rin/gockerfile
path: ./example/server
version: v0.0.1 # default master

repo is git repository. path is path to main.go.

Build Gockerfile using docker build

you can build Gockerfile.yaml with docker build

$ DOCKER_BUILDKIT=1 docker build -f Gockerfile.yaml -t po3rin/gockersample .

Build Gockerfile with builtctl

using as buildkit frontend.

buildctl build \
		--frontend=gateway.v0 \
		--opt source=po3rin/gocker \
		--local gockerfile=. \
		--output type=docker,name=gockersample | docker load

Run container

You can run go API container as it is.

$ docker run -it -p 8080:8080 po3rin/gockersample:latest /bin/server
$ curl localhost:8080/
Hello World
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].