Skip to content

Commit

Permalink
Prepare Ubuntu 18.04 build env for LTFS
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi Abe committed Dec 28, 2019
0 parents commit 748d6d8
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*~
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM ubuntu:xenial

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

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 18.04 (Bionic)

This action builds the LTFS package on Ubuntu 18.04

## Inputs

### `destination`

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

## Outputs

None

## Usage

```
uses: LinearTapeFileSystem/[email protected]
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

0 comments on commit 748d6d8

Please sign in to comment.