Skip to content

Commit

Permalink
Fully-automate development setup with Gitpod
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffrey Huntley <ghuntley@ghuntley.com>
  • Loading branch information
ghuntley committed May 21, 2021
1 parent dc4627a commit 9a6bd54
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .gitpod.yml
@@ -0,0 +1,16 @@
# List the start up tasks. You can start them in parallel in multiple terminals.
# https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: >
make tools build
command: make inspect
# Enable prebuilds of your project to enable faster workspace start times.
# https://www.gitpod.io/docs/prebuilds/#configure-the-github-app
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -4,6 +4,7 @@
[![Gitter chat](https://badges.gitter.im/docker-slim/docker-slim.svg)](https://gitter.im/docker-slim/community)
[![Discord chat](https://img.shields.io/static/v1.svg?label=chat&message=on%20discord&color=7389D8)](https://discord.gg/9tDyxYS)
[![Download DockerSlim](https://img.shields.io/badge/download-docker--slim-blue)](https://github.com/docker-slim/docker-slim#installation)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/docker-slim/docker-slim)

# Optimize Your Experience with Containers. Make Your Containers Better, Smaller, More Secure and Do Less to Get There (free and open source!)

Expand Down Expand Up @@ -761,7 +762,11 @@ DockerSlim copies the relevant image artifacts trying to preserve their permissi

## BUILD PROCESS

Use Go 1.13 or higher to build `docker-slim`. You can use earlier version of Go, but it can't be lower than Go 1.5.1. Versions prior to 1.5.1 have a Docker/ptrace related bug (Go kills processes if your app is PID 1). When the 'monitor' is separate from the 'launcher' process it will be possible to user older Go versions again.
If you have a web browser, you can get a fully pre-configured development environment in one click:

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://gitpod.io/#https://github.com/docker-slim/docker-slim)

Otherwise use Go 1.13 or higher to build `docker-slim`. You can use earlier version of Go, but it can't be lower than Go 1.5.1. Versions prior to 1.5.1 have a Docker/ptrace related bug (Go kills processes if your app is PID 1). When the 'monitor' is separate from the 'launcher' process it will be possible to user older Go versions again.

Tools:

Expand Down

0 comments on commit 9a6bd54

Please sign in to comment.