zelfick / earthly

Simple demo earthly hello world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Earthly

Here is a demo hello-world using earthly utility

To get started, please visit https://docs.earthly.dev

Join our Slack community https://earthly.dev/slack

Ideas to get inspired https://github.com/earthly/earthly/tree/main/examples

Requirements

Earthly installed and configured git installed Internet

Tutorials

Go

in /tutorials/hellogo execute: earthly +docker This will build the image, then we can run: docker run --rm hellogo:latest

Javascript

in /tutorials/hellojs execute: earthly +docker This will build the image, then we can run: docker run --rm hellojs:latest

Java - need fix

in /tutorials/hellojava execute: earthly +docker This will build the image, then we can run: docker run --rm hellojava:latest

Python

in /tutorials/hellopy execute: earthly +docker This will build the image, then we can run: docker run --rm hellopy:latest

To run the hiworld example

Run locally

earthly ./hiworld+hello

Remotely from github

´´´earthly github.com/zelfick/earthly/hiworld+hello´´´

To Run DosGames

Pass the name of the game as argument, accordingly to games in the eathfile earthly ./dosgames+dugeonmaster

About

Simple demo earthly hello world


Languages

Language:Earthly 82.2%Language:HTML 11.3%Language:Java 3.1%Language:Go 1.8%Language:JavaScript 0.9%Language:Python 0.6%