GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - po3rin/gockerfile: :whale: gockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd/gocker
cmd/gocker
 
 
config
config
 
 
example
example
 
 
.Dockerignore
.Dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
Gockerfile.yaml
Gockerfile.yaml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
build.go
build.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
gocker2llb.go
gocker2llb.go
 
 
goreleaser.yml
goreleaser.yml
 
 
image.go
image.go
 
 

Repository files navigation

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

About

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

Topics

buildkitdockergomoby

Resources

Readme
Apache-2.0 license
Activity

Stars

52 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.