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

arm64 armhf amd64

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

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

Download URLs

Version SHA256 Size (KB)
1.40.11 6c1eb07d73573e5e1055cdf32682f6ec09a7f477fae469586df93b708abc0582 11277
1.40.10 52d1202408ffa11ec97c964b33c2a620682ecc70545956152555c560d0185559 11272
1.40.9 70648981e4fb05490fe79f264d3f9f6c3cf9430411310faa1ba2fd96020a09fd 11268
1.40.8 ed80c43c8f0846e4f6b1d10973528789d515c91e922c9d9f761540d2cf3a4268 11271
1.40.7 6607d6f4245da56ef9e5858cdd8c2c808da480eaf5584ee60c196b031c7d6c10 10960
1.40.6 7f306285b3905aa8921cc878ca33e3e3062bf676d033fab56f6f871bf6f452b6 10899
1.40.5 c8f7acfd82d37c8753349e5ef68a20227d7c4aee8dd0f0252919514299ecf33e 10901
1.40.4 c84d10072d671c3e2d76785cfe19bd0f7097bbeda284120d00c1653947172565 10907
1.40.3 abda3b41baed95d81e31daa661d6b001c0a203477149b48b8ae0977ba862d464 10875
1.40.2 b9f86fbcaf6b928d5d7d6c8a24e8fc60571bfcc2fd24be5da1520a347ba3bffb 9837
Version SHA256 Size (KB)
1.40.11 08e1fe029c30248f4ff52334ed925522a36e4f9cafe20510122405340b2decc0 9641
1.40.10 e41c8e4a09d61b0b43d1e4cb394484e89b1e70ced3fa2e860f05dd5d0ef8e5c7 9636
1.40.9 5dba6d86e4826b493a926e2fd38f7cac7ef8bf9d12b4e2ec5e362ea432a752c0 9636
1.40.8 8d14f3c8e1aff187e87fe87e7a79e8b5830b4cf03beaa70a0afc26721983b532 9636
1.40.7 34f51dc049a78ddbef97c8fd6d25bb9977fb94f66e09caa6b22f88aed6c29337 9377
1.40.6 0803f1ef9b9943d3feda14778c55f7e1c2959c1772077584a9dc461bca62d67a 9319
1.40.5 39860bfe4895b81da6c6308c947418e070e30948e02a91d456a35bb28d06d93a 9320
1.40.4 05868d8206bb9d4480793591d80defea591a6135a48fdaf41d271ce251788c55 9315
1.40.3 d6f0850064b2f77ee28784d716a6006083b5a0b96a2ea3c8de62daae3d8524f1 9286
1.40.2 254b2275aea493e43f86c436cca36db97779151f65308c73c3faeaa3b6b39373 8424
Version SHA256 Size (KB)
1.40.11 34a212bd613b0b8121dbcdc1ff3320672aab1e57a895c0ce746c14bf65fa0dde 9712
1.40.10 950425f791bf3fb553221f629d8c54e36da885b6310c980164e47b578e2a4fce 9702
1.40.9 47b58f787545b960b822ad4827df9014ff8f434ae4ab023d39f44eb33fea0564 9703
1.40.8 4c2a75b4a6d3c05d94506e50bf7a442ab5b0df0900112529626c000ed9f26a87 9701
1.40.7 bf915ad8d91c074cc9b849d4fdf23a95582edb1e2eb8aa5e173ced01336f44fc 9439
1.40.6 aa9ea17a19f2fe543537788a8a242ec5b333881b427aed58b4be8ef384d8bffd 9386
1.40.5 c7ccd53c592c4b34c2d1f8a438c183d4d7e9a57a8af7cf8353915f8dc726bf84 9384
1.40.4 8883389c0dd00fae80243c2fe9614c8ec3b263130032217e8d00fbb90b424954 9493
1.40.3 13ed73ed2bd7c3b1ff2d2a0817a64d72845991222aba6db7421ee319892ded27 9463
1.40.2 987b4100986d73e2cce2dad37b1d01dac9a97ccbcf8220bfb488b26d2d5a50b4 8560

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:
    architectures:
      - amd64
      - arm64
      - armhf
    versions:
      - 1.37.3
      - 1.37.4
      - 1.37.5
      - 1.37.6
  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
      armhf: linux_arm
      arm64: linux_arm64
  script:
    - mv dist_linux*/docker-slim* {{src}}/usr/bin/

- name: docker-slim
  matrix:
    architectures:
      - amd64
      - arm64
      - armhf
    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
      - 1.40.5
      - 1.40.6
      - 1.40.7
      - 1.40.8
      - 1.40.9
      - 1.40.10
      - 1.40.11
  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
      armhf: linux_arm
      arm64: linux_arm64
  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
- url: https://downloads.dockerslim.com/releases/1.40.5/dist_linux.tar.gz
  sha256: 7d21015dd8670bc4f5bf5d767b4967ba64d1305b1e90af1c2f4d5a8d18e9f65a
  timestamp: 2023-11-02 01:12:42+00:00
- url: https://downloads.dockerslim.com/releases/1.40.5/dist_linux_arm.tar.gz
  sha256: 3453150ae099a8d7f23c3348cb6b7b40b471729bdac0dec3d4939bba81590562
  timestamp: 2023-11-02 01:12:42+00:00
- url: https://downloads.dockerslim.com/releases/1.40.5/dist_linux_arm64.tar.gz
  sha256: 034b3726b5d7d01fbb9d037aefd52d212c03298578b00712c469ded2a8f9061e
  timestamp: 2023-11-02 01:12:42+00:00
- url: https://downloads.dockerslim.com/releases/1.40.6/dist_linux.tar.gz
  sha256: 2b30a9f692d380e27beed11d67bc49114e1af8810e540cfbc0a1fcc14f76da99
  timestamp: 2023-11-02 18:21:46+00:00
- url: https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm.tar.gz
  sha256: 523260ecee2063e9d18cbc3c6aa17416de3b7ce1e8e921080f7e5e53c27f8172
  timestamp: 2023-11-02 18:21:46+00:00
- url: https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm64.tar.gz
  sha256: 9649d66c3b84d8d3f22cc8ac723e195f255ff381c30e21f743cd19ee0c8ad451
  timestamp: 2023-11-02 18:21:46+00:00
- url: https://downloads.dockerslim.com/releases/1.40.7/dist_linux.tar.gz
  sha256: 9daf762edb21674e9392476eaf640a3b3b234c9680e4c6cfab459a3e13487a19
  timestamp: 2023-12-11 11:25:21+00:00
- url: https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm.tar.gz
  sha256: 215c28ce5bec59d56a8553bbcd14cae531dc03973c2ab6c1b1e534709f964c64
  timestamp: 2023-12-11 11:25:21+00:00
- url: https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm64.tar.gz
  sha256: 7ca0057477a7a9f61d022c50f502c7f83627012e7ea535da98a72628a566b0e1
  timestamp: 2023-12-11 11:25:21+00:00
- url: https://downloads.dockerslim.com/releases/1.40.8/dist_linux.tar.gz
  sha256: 244913d5e60d0c305ec4c428ed35feab4e1861ef7738bbe29d78867d7dafbac3
  timestamp: 2024-01-07 21:14:23+00:00
- url: https://downloads.dockerslim.com/releases/1.40.8/dist_linux_arm.tar.gz
  sha256: ddc9c00513f376ec4f8b5196cbe83d388120a03136b0230c89a0c16ee02a69a0
  timestamp: 2024-01-07 21:14:23+00:00
- url: https://downloads.dockerslim.com/releases/1.40.8/dist_linux_arm64.tar.gz
  sha256: 035c5d86fae07d685bafce864d02205bba4875ace308fb012cb1c74ad3f81f92
  timestamp: 2024-01-07 21:14:23+00:00
- url: https://downloads.dockerslim.com/releases/1.40.9/dist_linux.tar.gz
  sha256: 083bad866041702f979961d63386dd95039b70dc6700a03e01035785277324fc
  timestamp: 2024-01-15 21:16:22+00:00
- url: https://downloads.dockerslim.com/releases/1.40.9/dist_linux_arm.tar.gz
  sha256: dc980c61f6a941556c536b922b7116fe83aba710e145447a451f1977c0a8b92b
  timestamp: 2024-01-15 21:16:22+00:00
- url: https://downloads.dockerslim.com/releases/1.40.9/dist_linux_arm64.tar.gz
  sha256: c7c2f42149d7b17346f993343dd66b7997b571ae9c563e61e7a8796d582f65ed
  timestamp: 2024-01-15 21:16:22+00:00
- url: https://downloads.dockerslim.com/releases/1.40.10/dist_linux.tar.gz
  sha256: ed7db6a879a796f2c3df305f3742f53bc17a6a7bb874a188b14cae17766fd807
  timestamp: 2024-01-18 06:23:24+00:00
- url: https://downloads.dockerslim.com/releases/1.40.10/dist_linux_arm.tar.gz
  sha256: 8740583fd6562d8b8ebccbcb0fc25e38c9b7def933f4ff060d7ab43fac5134b5
  timestamp: 2024-01-18 06:23:24+00:00
- url: https://downloads.dockerslim.com/releases/1.40.10/dist_linux_arm64.tar.gz
  sha256: 203e3661eb196580a0457b3046bd9e8743f8fffc2daab1666f2cadd79cfb4427
  timestamp: 2024-01-18 06:23:24+00:00
- url: https://downloads.dockerslim.com/releases/1.40.11/dist_linux.tar.gz
  sha256: 5c83bfddbb130709a21dd6f4d02bb8d82b4347c0e9dce25a8eece98eb34763bc
  timestamp: 2024-02-04 15:05:42+00:00
- url: https://downloads.dockerslim.com/releases/1.40.11/dist_linux_arm.tar.gz
  sha256: 898f5296e0442e4c958cb0e280da3b37255c6be1f79f09c64ea8da3741fb7e3a
  timestamp: 2024-02-04 15:05:42+00:00
- url: https://downloads.dockerslim.com/releases/1.40.11/dist_linux_arm64.tar.gz
  sha256: 2e2c849740865da461df1c59d00eee348abcda751e8cf6ab2b890a6ed07080d7
  timestamp: 2024-02-04 15:05:42+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