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 — examples/image_edit_basic at master · slimtoolkit/examples

Expand file tree

/

image_edit_basic

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

image_edit_basic

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
_macos
_macos
 
 
service
service
 
 
Dockerfile
Dockerfile
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
_docker-slim.env
_docker-slim.env
 
 

README.md

Simple Web Service Example Illustrating Image Editing Capabilities of DockerSlim

The example shows how to add/remove extra lebels, env variables, and volumes while slimming an image.

Commands:

make                             # run example (semi-automatic)

make fat-build                   # build the "fat" version of the image
make fat-run                     # run the web service using the "fat" image
make fat-validate                # send a request to the running web service
make fat-stop                    # stop the running web service

make slim-build                  # turn the "fat" image into a "slim" one
make slim-run                    # run the web service using the "slim" image
make slim-validate               # send a request to the running web service
make slim-stop                   # stop the running web service

make slim-build-from-dockerfile  # build the "slim" version of the image using the "fat" Dockerfile

make debug-sidecar               # run a debug sidecar container with an interactive shell

make test-e2e                    # run the acceptance test suite
make clean                       # remove all artifacts created by this example

See also:

  • _docker-slim.env - example params (image name, container name, docker-slim flags, etc.)
  • _macos/ - additional .command wrappers to make the main actions clickable on macOS.
You are visitor 01402520 — 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.