Skip to content

docker-slim

Minify docker images by up to 30x

Provides a set of commands (build, xray, lint and others) to simplify and optimize your developer experience with containers. It makes your containers betters, smaller and more secure.

devops

https://dockersl.im

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install docker-slim

sudo apt install docker-slim

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    docker-slim=1.40.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      docker-slim=1.40.0*

Download URLs

Version SHA256 Size (KB)
1.40.0 03ab657564196dc29123808ff33060cb2d45badee552f19f0d94a558dbe772f0 9684
1.39.1 3241ee9057215a96cc23e225d38d9e74baa169a7ddfebae2b1a3d7dde045058b 9551
1.39.0 241ec615a9a00f960c2d29c85bff568244139fb76497018b8983c49d4bf6d40b 9551
1.38.0 aef08567d64ac20285e799def3a421f1c21772460006487e7bff58f99dcbd643 5312
1.37.6 c852b66579f8ea3ca61d3a317ee667f78000c7d86979bb9a43ce4a2497c6742e 7158
1.37.5 6d1d904f77eed77f0d947290da6ae557e3e98f7043fa620eaa2c96486c2e9666 7156
1.37.4 ace4dbc92b24d795e65d62d90733ea6512dff09be9b60ef85f040dfbaa5610a2 7140
1.37.3 a9d947ea19f63fc18ff3748bca7c0e34e3ecce9b30eee52224ec0142386cdd44 6707
Version SHA256 Size (KB)
1.40.0 7ac5a7dfff09418aaea46ecac3ebca66fc1d952af5ff7db9b7579c0bd4d679cb 8308
1.39.1 ff8f3cf36879278484b027c100bce8fa6fa803a4ca2c08cf7d1d8091ccc6e1ab 8190
1.39.0 22a6310fb3863ef01b96b7d56548a15942ff3b7226e7f59a398ac0f5b7bb4d8a 8198
1.38.0 a7871ee65e6d8044824e9852d8e26b34240eea13517e06dc6d67c857830782cf 4575
1.37.6 c1a4db5fad847d606a764af541ce6cac607f172b2c827969283eeb7312402f34 6060
1.37.5 20b5cd0214c5e8bece173e484beb61ce4ddc338101ae45176b83aec91edd28ac 6059
1.37.4 c96870215e7f6921c136145553445d2d42b9d856ccbb365b12c243e7311d7a8c 6044
1.37.3 f2b62a0589d82e449f6af1a52a0dcbb60a22eac36f3545ba7cf6b5c4c4b5675f 5738
Version SHA256 Size (KB)
1.40.0 265951b0fa86e18f669bde310034de898a13cad81756400c4743b3053be2f4cd 8419
1.39.1 fc385ab2b370f53005a71baa81aaa20a7c756a2e5008dbc99fbc6a09fe2dd5b1 8288
1.39.0 144f1a9d1f4f829e836ddf00445709a812ab613c7dabb64fe868a4a2b963b14f 8290
1.38.0 f69af034af926159492f9bc4dd7dc54f18b3fd52bc79e3bf0fdb7f17b3c59254 4614
1.37.6 b2aafa6fa61a51f379193ca5538be17555cc130fe864395943fdb627c2a572ed 6131
1.37.5 4bf4e6d3b518a21d6b800018d628beb204e1d9a7f2c4ab2c2a977f5e6153ca0c 6132
1.37.4 f078ce216f8c5ba4c2e0bf7a0edb526a332ce94c03328a8afe840ec279f4f95e 6072
1.37.3 17f43f4296659e83a5da0830ad29f52d9fbf101a2e6b5ac2536329e201083ccb 5717

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for docker-slim are versionned here.

Click here to see docker-slim ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/docker-slim/ops2deb.yml
- name: docker-slim
  matrix:
    versions:
      - 1.37.3
      - 1.37.4
      - 1.37.5
      - 1.37.6
    architectures:
      - amd64
      - arm64
      - armhf
  homepage: https://dockersl.im
  summary: minify docker images by up to 30x
  description: |-
    Provides a set of commands (build, xray, lint and others) to simplify and
    optimize your developer experience with containers. It makes your containers
    betters, smaller and more secure.
  fetch:
    url: https://downloads.dockerslim.com/releases/{{version}}/dist_{{target}}.tar.gz
    targets:
      amd64: linux
      arm64: linux_arm64
      armhf: linux_arm
  script:
    - mv dist_linux*/docker-slim* {{src}}/usr/bin/

- name: docker-slim
  matrix:
    versions:
      - 1.38.0
      - 1.39.0
      - 1.39.1
      - 1.40.0
    architectures:
      - amd64
      - arm64
      - armhf
  homepage: https://dockersl.im
  summary: minify docker images by up to 30x
  description: |-
    Provides a set of commands (build, xray, lint and others) to simplify and
    optimize your developer experience with containers. It makes your containers
    betters, smaller and more secure.
  fetch:
    url: https://downloads.dockerslim.com/releases/{{version}}/dist_{{target}}.tar.gz
    targets:
      amd64: linux
      arm64: linux_arm64
      armhf: linux_arm
  install:
    - dist_{{target}}/docker-slim:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to docker-slim releases. Downloaded files are locked in a lockfile versionned here.

Click here to see docker-slim release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/docker-slim/ops2deb.lock.yml
- url: https://downloads.dockerslim.com/releases/1.37.3/dist_linux.tar.gz
  sha256: 3bc3ff63a1da0e6cae7b1c8b4a88deb339bc6718ae8544b751cc6aa3588b5157
  timestamp: 2022-02-03 17:34:53+00:00
- url: https://downloads.dockerslim.com/releases/1.37.3/dist_linux_arm.tar.gz
  sha256: faca950646862c212fae7b3a3879e2d7ad1cd2d8f0f4b740a33c641093b5c6d2
  timestamp: 2022-02-03 17:34:53+00:00
- url: https://downloads.dockerslim.com/releases/1.37.3/dist_linux_arm64.tar.gz
  sha256: dd285874234df8e959dde419f8953d70d4e6b4ae57fcc535f5c5f188be2e83c3
  timestamp: 2022-02-03 17:34:53+00:00
- url: https://downloads.dockerslim.com/releases/1.37.4/dist_linux.tar.gz
  sha256: 9c5891fbfd84f4591218e7d7f25aef6fb67adc651697ee33d9fe309e389a86f3
  timestamp: 2022-02-28 07:25:52+00:00
- url: https://downloads.dockerslim.com/releases/1.37.4/dist_linux_arm.tar.gz
  sha256: 908e88a62989fdcb340d024273487473c9a2a9b793d16f96e59750f2a2efda99
  timestamp: 2022-02-28 07:25:52+00:00
- url: https://downloads.dockerslim.com/releases/1.37.4/dist_linux_arm64.tar.gz
  sha256: d7bd8da6cc662225bc0e4bab75092e129a30c7b4f0c7ea83ef9ebf7c03c3d63d
  timestamp: 2022-02-28 07:25:52+00:00
- url: https://downloads.dockerslim.com/releases/1.37.5/dist_linux.tar.gz
  sha256: dab611c00b7b8582e63d6822b5581d2e987b818c142252afcde22fa508777c58
  timestamp: 2022-03-21 07:26:38+00:00
- url: https://downloads.dockerslim.com/releases/1.37.5/dist_linux_arm.tar.gz
  sha256: 817607f33d97931c8c3694c31098e97203a0ab355a49743ddc1db228b691321e
  timestamp: 2022-03-21 07:26:38+00:00
- url: https://downloads.dockerslim.com/releases/1.37.5/dist_linux_arm64.tar.gz
  sha256: 5a3db859fe3de109d5ce7a681488571fd93c9161fee80051b3e0ed7cf6c20092
  timestamp: 2022-03-21 07:26:38+00:00
- url: https://downloads.dockerslim.com/releases/1.37.6/dist_linux.tar.gz
  sha256: e9efdef85157e98a835fe01ea5a4131f26a60909587bff9e32dcf259fa916372
  timestamp: 2022-04-23 08:26:18+00:00
- url: https://downloads.dockerslim.com/releases/1.37.6/dist_linux_arm.tar.gz
  sha256: 1bb658ec9dc1b7fcaeab990060a7ee6c2db37466f0c7e8324e23b96a9cf47304
  timestamp: 2022-04-23 08:26:18+00:00
- url: https://downloads.dockerslim.com/releases/1.37.6/dist_linux_arm64.tar.gz
  sha256: 59067ac6c8c940db0213613ba8675feaebd57f2d7b55645a9993a94825d08f79
  timestamp: 2022-04-23 08:26:18+00:00
- url: https://downloads.dockerslim.com/releases/1.38.0/dist_linux.tar.gz
  sha256: eaa4f29162dbec3c027768cababfa7153eba0c003b50f3da76e67ebd584ef436
  timestamp: 2022-08-30 11:49:41+00:00
- url: https://downloads.dockerslim.com/releases/1.38.0/dist_linux_arm.tar.gz
  sha256: 4536915c85f99e97ce2775caaa1a1846ad9baa0449892f831ce955ef423fb139
  timestamp: 2022-08-30 11:49:41+00:00
- url: https://downloads.dockerslim.com/releases/1.38.0/dist_linux_arm64.tar.gz
  sha256: 2f7b2a32412636c0cf249afd34a05936e4570b34bf71e166767e13debbf2ee51
  timestamp: 2022-08-30 11:49:41+00:00
- url: https://downloads.dockerslim.com/releases/1.39.0/dist_linux.tar.gz
  sha256: 2ed693b58f04554081f3cf9c535108dd2ac5e8070c295e693e4a0dd39aee3570
  timestamp: 2022-10-25 09:01:28+00:00
- url: https://downloads.dockerslim.com/releases/1.39.0/dist_linux_arm.tar.gz
  sha256: d238aa411b8617dce0cc89d8c17d11b0f0382a2ed6632d2943320ad1f01db163
  timestamp: 2022-10-25 09:01:28+00:00
- url: https://downloads.dockerslim.com/releases/1.39.0/dist_linux_arm64.tar.gz
  sha256: 17721bcbf0e20eac4bdd6e8f6c6b99ff1c591fda4a4eab6f316b890e2f785376
  timestamp: 2022-10-25 09:01:28+00:00
- url: https://downloads.dockerslim.com/releases/1.39.1/dist_linux.tar.gz
  sha256: d6fe2847d077f5e977cefc98fdff03ec5303483e595fdc44aceed5d6a09d1f88
  timestamp: 2022-11-13 04:56:08+00:00
- url: https://downloads.dockerslim.com/releases/1.39.1/dist_linux_arm.tar.gz
  sha256: 5c311bd998911a1a0bf59dcb4c0513254ec6916734b3f4e0970fcfa546daed79
  timestamp: 2022-11-13 04:56:08+00:00
- url: https://downloads.dockerslim.com/releases/1.39.1/dist_linux_arm64.tar.gz
  sha256: 941dab46f4a3bf97a7766d7ca6dccfe237cc40a2964aa41b0aaf6e9042450870
  timestamp: 2022-11-13 04:56:08+00:00
- url: https://downloads.dockerslim.com/releases/1.40.0/dist_linux.tar.gz
  sha256: 6351236186464c60e5ccbab42856d2101725ab4136f63fde79f7169977567f79
  timestamp: 2023-01-16 02:39:43+00:00
- url: https://downloads.dockerslim.com/releases/1.40.0/dist_linux_arm.tar.gz
  sha256: bb9a28ce1c9350c71a0568cc830d65791ad51481466aaf7ce0992712d3b3f371
  timestamp: 2023-01-16 02:39:43+00:00
- url: https://downloads.dockerslim.com/releases/1.40.0/dist_linux_arm64.tar.gz
  sha256: a03cc7ff7c62704166c150537a3e7e46f0077d036afa985d69e9a098461abc98
  timestamp: 2023-01-16 02:39:43+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/docker-slim.svg)](https://docs.wakemeops.com/packages/docker-slim)
<a href="https://docs.wakemeops.com/packages/docker-slim">
  <img src="https://docs.wakemeops.com/badges/docker-slim.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/docker-slim.svg
:target: https://docs.wakemeops.com/packages/docker-slim