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 arm64 armhf

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.4*

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

Download URLs

Version SHA256 Size (KB)
1.40.4 c84d10072d671c3e2d76785cfe19bd0f7097bbeda284120d00c1653947172565 10907
1.40.3 abda3b41baed95d81e31daa661d6b001c0a203477149b48b8ae0977ba862d464 10875
1.40.2 b9f86fbcaf6b928d5d7d6c8a24e8fc60571bfcc2fd24be5da1520a347ba3bffb 9837
1.40.1 11610356395de870ca045188b18ec21b1f3146d7624a5050138d60e73ae7ce95 9832
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
Version SHA256 Size (KB)
1.40.4 05868d8206bb9d4480793591d80defea591a6135a48fdaf41d271ce251788c55 9315
1.40.3 d6f0850064b2f77ee28784d716a6006083b5a0b96a2ea3c8de62daae3d8524f1 9286
1.40.2 254b2275aea493e43f86c436cca36db97779151f65308c73c3faeaa3b6b39373 8424
1.40.1 9e31f5329f39b14dd786e75e88e9ebf2be97ff1e83b7d7bc02f351a67f32105d 8423
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
Version SHA256 Size (KB)
1.40.4 8883389c0dd00fae80243c2fe9614c8ec3b263130032217e8d00fbb90b424954 9493
1.40.3 13ed73ed2bd7c3b1ff2d2a0817a64d72845991222aba6db7421ee319892ded27 9463
1.40.2 987b4100986d73e2cce2dad37b1d01dac9a97ccbcf8220bfb488b26d2d5a50b4 8560
1.40.1 2e8d0e2ddf3a47110b3e184aa5365c23b372db12f458560e699dc74ed4fdf8cd 8559
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

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for docker-slim are versioned 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
      - 1.40.1
      - 1.40.2
      - 1.40.3
      - 1.40.4
    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 versioned 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
- url: https://downloads.dockerslim.com/releases/1.40.1/dist_linux.tar.gz
  sha256: 090705e014d5595f596346cabe5655b736a87a7e79567bcda3e67899a9b8d280
  timestamp: 2023-04-06 01:21:37+00:00
- url: https://downloads.dockerslim.com/releases/1.40.1/dist_linux_arm.tar.gz
  sha256: 8e345869a4a5013172544a42f5d2d062e2d73341b2d3076f67edd88cfe1072d2
  timestamp: 2023-04-06 01:21:37+00:00
- url: https://downloads.dockerslim.com/releases/1.40.1/dist_linux_arm64.tar.gz
  sha256: 24c0278eeab6fee3e4d07e5a58316252b77d4b765b9fd5e6d4d1091ae1fc5f39
  timestamp: 2023-04-06 01:21:37+00:00
- url: https://downloads.dockerslim.com/releases/1.40.2/dist_linux.tar.gz
  sha256: 846a2f2f00ce7f31a189204161f288c1d5f9258d697538d1d2d65048beef4698
  timestamp: 2023-05-13 01:21:49+00:00
- url: https://downloads.dockerslim.com/releases/1.40.2/dist_linux_arm.tar.gz
  sha256: 564f8c626e0994a8bc8d8719c60f245e8a9a67cd25f40186d7b0174cc5cbf557
  timestamp: 2023-05-13 01:21:49+00:00
- url: https://downloads.dockerslim.com/releases/1.40.2/dist_linux_arm64.tar.gz
  sha256: 7460ea579439e2cceec4f098305502a348f0f4d2e1679629b1b860a7ce66d2c0
  timestamp: 2023-05-13 01:21:49+00:00
- url: https://downloads.dockerslim.com/releases/1.40.3/dist_linux.tar.gz
  sha256: 97fe422d65a3df56d5105f05ef7f781e64bf4ebb1694bb0cfb75c56473db23d1
  timestamp: 2023-07-13 09:19:10+00:00
- url: https://downloads.dockerslim.com/releases/1.40.3/dist_linux_arm.tar.gz
  sha256: baacf748127848bc167f3f3cc6bd0b35370e88aa5b8c17ba1869b12ab5c35f25
  timestamp: 2023-07-13 09:19:10+00:00
- url: https://downloads.dockerslim.com/releases/1.40.3/dist_linux_arm64.tar.gz
  sha256: 1f406f4435d27a9ccc46ccd946548b42e20848c9275b7912561932f75e97dd48
  timestamp: 2023-07-13 09:19:10+00:00
- url: https://downloads.dockerslim.com/releases/1.40.4/dist_linux.tar.gz
  sha256: 02e6d9be6a0af183877c2ae4623ee8c71c23a7ca69ceb72d4da65d07e5b109b3
  timestamp: 2023-08-26 03:16:20+00:00
- url: https://downloads.dockerslim.com/releases/1.40.4/dist_linux_arm.tar.gz
  sha256: 333503f213b52f5761b00e7bf5c5f874e77f0db604ee612803cbbe772f23d45f
  timestamp: 2023-08-26 03:16:20+00:00
- url: https://downloads.dockerslim.com/releases/1.40.4/dist_linux_arm64.tar.gz
  sha256: 5ecbd4a0741b4775c9ab4a53c09e39125545cdb0a62f86be2ffbd55d07f51c48
  timestamp: 2023-08-26 03:16:20+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