[go: up one dir, main page]

File: Dockerfile

package info (click to toggle)
ibus-cangjie 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: python: 2,125; xml: 210; sh: 35; makefile: 8
file content (21 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
MAINTAINER Cangjians (https://cangjie.pages.freedesktop.org/)

# basic environment for building
WORKDIR /usr/local/src/ibus-cangjie

# copy source files to build
COPY "." "./"

# This is now needed to build the lib as distutils was removed from Python 3.12
RUN ./install_deps.py

# build the library
RUN ./autogen.sh --prefix=/usr && \
  make && \
  if grep -q ID_LIKE=debian /usr/lib/os-release; then \
    make install pyexecdir=/usr/lib/python3/dist-packages; \
  else \
    make install; \
  fi