Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/13.1' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Dec 22, 2023
2 parents 200e11c + 654461f commit 031dd1d
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 1 deletion.
33 changes: 32 additions & 1 deletion docs/installation-and-operations/installation/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,12 +445,43 @@ RUN ./docker/prod/setup/postinstall.sh
The file is based on the normal OpenProject docker image.
All the Dockerfile does is copy your custom plugins gemfile into the image, install the gems and precompile any new assets.

**slim image**

If you are using the `-slim` tag you will need to do the following to add your plugin.

```
FROM openproject/community:13 AS plugin
# If installing a local plugin (using `path:` in the `Gemfile.plugins` above),
# you will have to copy the plugin code into the container here and use the
# path inside of the container. Say for `/app/vendor/plugins/openproject-slack`:
# COPY /path/to/my/local/openproject-slack /app/vendor/plugins/openproject-slack
COPY Gemfile.plugins /app/
# If the plugin uses any external NPM dependencies you have to install them here.
# RUN npm add npm <package-name>*
RUN bundle config unset deployment && bundle install && bundle config set deployment 'true'
RUN ./docker/prod/setup/postinstall.sh
FROM openproject/community:13-slim
COPY --from=plugin /usr/bin/git /usr/bin/git
COPY --chown=$APP_USER:$APP_USER --from=plugin /app/vendor/bundle /app/vendor/bundle
COPY --chown=$APP_USER:$APP_USER --from=plugin /usr/local/bundle /usr/local/bundle
COPY --chown=$APP_USER:$APP_USER --from=plugin /app/public/assets /app/public/assets
COPY --chown=$APP_USER:$APP_USER --from=plugin /app/config/frontend_assets.manifest.json /app/config/frontend_assets.manifest.json
COPY --chown=$APP_USER:$APP_USER --from=plugin /app/Gemfile.* /app/
```

**4. Build the image**

To actually build the docker image run:

```shell
docker build -t openproject-with-slack .
docker build --pull -t openproject-with-slack .
```

The `-t` option is the tag for your image. You can choose what ever you want.
Expand Down
25 changes: 25 additions & 0 deletions docs/release-notes/13-1-2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: OpenProject 13.1.2
sidebar_navigation:
title: 13.1.2
release_version: 13.1.2
release_date: 2023-12-22
---

# OpenProject 13.1.2

Release date: 2023-12-22

We released [OpenProject 13.1.2](https://community.openproject.com/versions/1982).
The release contains several bug fixes and we recommend updating to the newest version.

<!--more-->

## Bug fixes and changes

<!-- update this list when updating the draft -->

- Fixed: Unnecessary bullet displayed for TODO checkboxes in wp comments \[[#45469](https://community.openproject.com/wp/45469)\]
- Fixed: Black text invisible on some darker colors in the Task modal of the Task board \[[#49934](https://community.openproject.com/wp/49934)\]
- Fixed: White space at the end of page when scrolling a wiki page \[[#51680](https://community.openproject.com/wp/51680)\]
- Fixed: Migration from 12.x to 13.1 fails for installations already having file links in the database \[[#51801](https://community.openproject.com/wp/51801)\]
7 changes: 7 additions & 0 deletions docs/release-notes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Stay up to date and get an overview of the new features included in the releases
<!--- New release notes are generated below. Do not remove comment. -->
<!--- RELEASE MARKER -->

## 13.1.2

Release date: 2023-12-22

[Release Notes](13-1-2/)


## 13.1.1

Release date: 2023-12-20
Expand Down

0 comments on commit 031dd1d

Please sign in to comment.