Skip to content

Commit 3254d9d

Browse files
author
rposts
committed
Initial commit
1 parent e7d5367 commit 3254d9d

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.build-template.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
template: templates/loz-script-project.yaml
2+
overrides:
3+
artifacts:
4+
- type: script
5+
version: 1.27.1.2
6+
build_script:
7+
repo_name: linux-on-ibm-z-scripts
8+
path: src/build.sh
9+
docker_image: ubuntu:22.04

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# OpenResty
2+
OpenResty - Turning Nginx into a Full-Fledged Scriptable Web Platform
3+
4+
Additional information available [here](https://github.com/openresty/openresty).
5+
6+
>**Note:** Artifacts available in this repository are targeted for `s390x` architecture.

src/build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
set -e -o pipefail
3+
read -ra arr <<< "$@"
4+
version=${arr[1]}
5+
trap 0 1 2 ERR
6+
# Ensure sudo is installed
7+
apt-get update && apt-get install sudo -y
8+
bash /tmp/linux-on-ibm-z-scripts/OpenResty/${version}/build_openresty.sh -y
9+
tar cvfz openresty-${version}-linux-s390x.tar.gz /usr/local/openresty/
10+
exit 0

0 commit comments

Comments
 (0)