-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare Ubuntu 18.04 build env for LTFS
- Loading branch information
Atsushi Abe
committed
Dec 28, 2019
0 parents
commit 748d6d8
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |