File: Dockerfile

package info (click to toggle)
ugrep 3.11.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,196 kB
  • sloc: cpp: 50,724; ansic: 1,267; sh: 1,237; makefile: 107; xml: 6; java: 6
file content (33 lines) | stat: -rw-r--r-- 635 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
# step 1: create a container for ugrep named "ugrep"
# docker -D build --no-cache -t ugrep .
#
# step 2: run bash in the container, e.g. to run ugrep from the command line
# docker run -it ugrep bash
#
# step 3: run ugrep in the container, for example:
# ugrep -r -n -tjava Hello ugrep/tests/

FROM ubuntu

RUN apt-get update

RUN apt-get install -y \
    make \
    vim \
    git \
    clang \
    wget \
    unzip \
    libpcre2-dev \
    libz-dev \
    libbz2-dev \
    liblzma-dev \
    liblz4-dev \
    libzstd-dev

RUN cd / &&\
    git clone https://github.com/Genivia/ugrep

RUN cd ugrep &&\
    ./build.sh &&\
    make install