File: Dockerfile

package info (click to toggle)
fadecut 0.2.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 35,716 kB
  • sloc: sh: 800; makefile: 39
file content (64 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# This is a debian build environment in a docker container.
# Have a look into README.Debian.md how to use it.

# Build this docker image:
# docker build -t debuild-fadecut .

# Run this docker image:
# docker run -v ${HOME}:/home/user/ -ti debuild-fadecut

FROM debian:testing
MAINTAINER Marco Balmer <marco@balmer.name>
ENV DEBIAN_FRONTEND noninteractive

RUN addgroup --gid 1000 user \
        && useradd -d /home/user -g user user

# apt environment & upgrade
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
    apt-utils

# build environment
RUN apt-get update && apt-get install -y \
    build-essential \
    cme \
    git \
    ca-certificates \
    dh-make \
    fakeroot \
    devscripts \
    debian-policy \
    gnu-standards \
    gnupg2 \
    gnupg-agent \
    developers-reference \
    openssh-client \
    less \
    locales-all \
    libdpkg-perl \
    git-buildpackage \
    quilt \
    lintian \
    piuparts \
    man

# special for build the package
RUN apt-get update && apt-get install -y \
    vim \
    vorbis-tools \
    opus-tools \
    lame \
    sox \
    libsox-fmt-mp3 \
    streamripper \
    id3v2 \
    pandoc \
    mediainfo

USER user
ENV HOME /home/user
ENV TERM xterm-256color
# set locale
ENV LANG de_CH.UTF-8

CMD ["bash"]