Skip to content
/ env Public

(My) Minimal viable development environment in a container 🚢

Notifications You must be signed in to change notification settings

ziggy42/env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

env

(My) Minimal viable development environment in a container.

I use podman but Docker should also be fine, so you could just swap the podman command with docker.

podman build . --build-arg ACCESS_KEY_ID='<redacted>' --build-arg SECRET_ACCESS_KEY='<redacted>' -t env
podman run --rm -ti -p --name env env

Visual Studio Code integration

Unfortunately the Visual Studio Code Remote - Containers extension does not support podman at this time, so I'm SSHing into the container instead.

podman build . --build-arg ACCESS_KEY_ID='<redacted>' --build-arg SECRET_ACCESS_KEY='<redacted>' -t env
podman build -f code.Dockerfile -t codeenv
podman run --rm -ti -p 2222:22  --name codeenv codeenv # password is 'root'

You will then be able to SSH into the container as described here and with the command:

ssh -p 2222 root@localhost

About

(My) Minimal viable development environment in a container 🚢

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published