Skip to content

Commit

Permalink
Initial commit of Ubuntu19.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi Abe committed Jan 10, 2020
0 parents commit e3a580c
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*~
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM ubuntu:eoan

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

COPY entrypoint.sh /entrypoint.sh
COPY icu-config /usr/bin/icu-config

ENTRYPOINT ["/entrypoint.sh"]
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# LTFS Build docker action for Ubuntu 19.10 (Eoan)

This action builds the LTFS package on Ubuntu 19.10

## Inputs

### `destination`

**Required** Destination of install。 Default is `/tmp/ltfs`

## Outputs

None

## Usage

```
uses: LinearTapeFileSystem/Ubuntu1910-Build@v1.0
with:
destination: '/tmp/ltfs'
```
16 changes: 16 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# action.yml
name: 'Build Check'
description: 'Build check of the LTFS package'
inputs:
destination: # id of input
description: 'destination directory'
required: true
default: '/tmp/ltfs'
outputs:
time: # id of output
description: 'Finish build check of the LTFS package'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.destination }}
6 changes: 6 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh -l

./autogen.sh
./configure --prefix=$1
make
make install
12 changes: 12 additions & 0 deletions icu-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

opts=$1

case $opts in
'--cppflags')
echo '' ;;
'--ldflags')
echo '-licuuc -licudata' ;;
*)
echo '/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc' ;;
esac

0 comments on commit e3a580c

Please sign in to comment.