Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • dariah-de/textgridrep/repdav
1 result
Show changes
Commits on Source (4)
## [1.1.1](https://gitlab.gwdg.de/dariah-de/textgridrep/repdav/compare/1.1.0...1.1.1) (2022-02-25)
### Bug Fixes
* **dockerfile:** move pyicu library build to own docker build stage ([09e5fd1](https://gitlab.gwdg.de/dariah-de/textgridrep/repdav/commit/09e5fd1d13a0ed6476a269ce9fd6e90d877972b2))
# [1.1.0](https://gitlab.gwdg.de/dariah-de/textgridrep/repdav/compare/1.0.2...1.1.0) (2022-02-25)
......
......@@ -3,6 +3,14 @@
# SPDX-License-Identifier: CC0-1.0
# syntax=docker/dockerfile:1
FROM python:3.8-alpine as builder
# build icu lib
# hadolint ignore=DL3018
RUN apk add --no-cache g++ icu-dev \
&& pip install --no-cache-dir PyICU==2.8.1
FROM python:3.8-alpine
LABEL \
......@@ -15,10 +23,14 @@ LABEL \
org.label-schema.vcs-url="https://gitlab.gwdg.de/dariah-de/textgridrep/repdav" \
org.label-schema.vendor="SUB/FE"
# copy pre-compiled icu lib from builder stage
COPY --from=builder /usr/local/lib/python3.8/site-packages/icu /usr/local/lib/python3.8/site-packages/icu
COPY --from=builder /usr/local/lib/python3.8/site-packages/PyICU-2.8.1.dist-info /usr/local/lib/python3.8/site-packages/PyICU-2.8.1.dist-info
# icu-dev package is nevertheless needed by the python library
# hadolint ignore=DL3018
RUN adduser -D repdav \
&& apk add --no-cache \
# currently needed by icu library; needs to be replaced tomehow...
g++=10.3.1_git20210424-r2 icu-dev=67.1-r2
&& apk add --no-cache icu-dev
USER repdav
......