# Bug OP-18700 - Running docker slim image, runs slim-bim one

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18700

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | DevSecOps / Docker |
| Target versions | 17.0.2 |
| Observed in versions | 17.0.0 |
| Sprint | 17.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Markus Kahl |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  `docker run --rm -it openproject/openproject:17.0.1-slim bash -c "env | grep EDITION"`
    

### What is the buggy behavior?

*   the output is `OPENPROJECT_EDITION=bim`
    

### What is the expected behavior?

1.  The output should be `OPENPROJECT_EDITION=standard`
    

###   

### Environment information

**OpenProject installation type**

*   Docker slim container (e.g. openproject/openproject:17-slim)
    

**OpenProject version**

_v17.0.1_

### Details

We accidentally introduced this bug with the [introduction of the `slim-bim`](https://github.com/opf/openproject/commit/8cca7150005b1a0133572ee114c630261b2c17a0) docker image.

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918416/content">

As you can see there, the `17.0-slim` tag contains 3 digests when it should only be 2 (one per architecture). The very first digest (the largest) is actually the `slim-bim` build, not the `slim` build.

It ended up here because of the way we named the digests and the pattern we used to match them when merging. The pattern was something like `$target-*` which is why `slim-` and `slim-bim` ended up under the same tag.
