File tree Expand file tree Collapse file tree 6 files changed +64
-0
lines changed
Expand file tree Collapse file tree 6 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ * ~
Original file line number Diff line number Diff line change 1+ FROM debian:stretch
2+
3+ RUN apt-get -q -y update && apt-get -q -y upgrade && apt-get -q -y install build-essential automake autoconf libtool pkg-config icu* libicu* icu-devtools libicu-dev libxml2-dev uuid-dev fuse libfuse-dev libsnmp-dev
4+
5+ COPY entrypoint.sh /entrypoint.sh
6+ COPY icu-config /usr/bin/icu-config
7+
8+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1+ # LTFS Build docker action for Debian10 (buster)
2+
3+ This action builds the LTFS package on Debian10
4+
5+ ## Inputs
6+
7+ ### ` destination `
8+
9+ ** Required** Destination of install。 Default is ` /tmp/ltfs ` 。
10+
11+ ## Outputs
12+
13+ None
14+
15+ ## Usage
16+
17+ ```
18+ uses: LinearTapeFileSystem/Debian10-Build@v0.1
19+ with:
20+ destination: '/tmp/ltfs'
21+ ```
Original file line number Diff line number Diff line change 1+ # action.yml
2+ name : ' Build Check'
3+ description : ' Build check of the LTFS package'
4+ inputs :
5+ destination : # id of input
6+ description : ' destination directory'
7+ required : true
8+ default : ' /tmp/ltfs'
9+ outputs :
10+ time : # id of output
11+ description : ' Finish build check of the LTFS package'
12+ runs :
13+ using : ' docker'
14+ image : ' Dockerfile'
15+ args :
16+ - ${{ inputs.destination }}
Original file line number Diff line number Diff line change 1+ #! /bin/sh -l
2+
3+ ./autogen.sh
4+ ./configure --prefix=$1
5+ make
6+ make install
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ opts=$1
4+
5+ case $opts in
6+ ' --cppflags' )
7+ echo ' ' ;;
8+ ' --ldflags' )
9+ echo ' -licuuc -licudata' ;;
10+ * )
11+ echo ' /usr/lib/x86_64-linux-gnu/icu/pkgdata.inc' ;;
12+ esac
You can’t perform that action at this time.
0 commit comments