Skip to content

Commit 7e7eb55

Browse files
Merge pull request #32 from cloud66-oss/hotfix/minor-fixes
Minor fixes
2 parents 5e4b835 + 28c6c0a commit 7e7eb55

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ You can compile NGINX for a specific combination of Ubuntu + NGINX + Passenger +
1414
./compile_nginx.sh 22.04 1.30.1 6.1.3 1.10.0 arm64
1515
```
1616

17-
This will result in a Docker image which will contain NGINX + Passenger in separate tarballs.
17+
This will result in a Docker image which will contain NGINX + Passenger in a single tarball.
1818

1919
### Passenger Enterprise
2020
You can optionally compile Passenger Enterprise. To do this, you must have both the `passenger_enterprise/passenger-enterprise-license` (containing the Passenger Enterprise license) and `passenger_enterprise/passenger-enterprise-server-${PASSENGER_VERSION}.tar.gz` (containing the Passenger Enterprise source code) files present in the source root. Both can be acquired from the Passenger Enterprise portal.
2121

2222
## Extraction
23-
To extract the tarballs from the Docker image, you can run the following (for your combination of Ubuntu + NGINX + Passenger + release versions and CPU architecture):
23+
To extract the tarball from the Docker image, you can run the following (for your combination of Ubuntu + NGINX + Passenger + release versions and CPU architecture):
2424
```
2525
./extract_nginx.sh 22.04 1.30.1 6.1.3 1.10.0 arm64
2626
```
2727

28-
This will place the resulting tarballs in the `output.passenger` directory, or in the `output.passenger_enterprise` directory when compiling Passenger Enterprise (i.e. when the Passenger Enterprise license and source files are present). For the previous extraction example, you will find one file under `output.passenger/binaries`: `ubuntu-22.04-arm64-nginx-1.10.0.tar.gz`.
28+
This will place the resulting tarball in the `output.passenger` directory, or in the `output.passenger_enterprise` directory when compiling Passenger Enterprise (i.e. when the Passenger Enterprise license and source files are present). For the previous extraction example, you will find one file under `output.passenger/binaries`: `ubuntu-22.04-arm64-nginx-1.10.0.tar.gz`.
2929

3030
## Installation
31-
The resulting tarballs from the extraction step can be uploaded to the target server and installed as follows:
31+
The resulting tarball from the extraction step can be uploaded to the target server and installed as follows:
3232
```
3333
tar --no-same-owner -C / -zxvf <TARBALL>
3434
```
3535

36-
Doing this for the NGINX and Passenger tarballs will result in the following files under `/usr/local/debs`:
36+
Doing this will result in the following files under `/usr/local/debs`:
3737
```
3838
$ find /usr/local/debs/
3939
/usr/local/debs/

current_state.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#|/usr/bin/env bash
1+
#!/usr/bin/env bash
22
find / | sort > /tmp/current_state_"$1"

extract_nginx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ if [[ -f "${PASSENGER_ENTERPRISE_LICENSE}" ]] && [[ -f "${PASSENGER_ENTERPRISE_T
2121
output="output.passenger_enterprise/binaries"
2222
fi
2323
mkdir -p $output
24-
docker run --rm --entrypoint cat cloud66-nginx:ubuntu-${1}-${5}-nginx-${2}-passenger-${3}-release-${4} /nginx.tar.gz > ${output}/ubuntu-${1}-${5}-nginx-${4}.tar.gz
24+
docker run --rm --platform "linux/${5}" --entrypoint cat cloud66-nginx:ubuntu-${1}-${5}-nginx-${2}-passenger-${3}-release-${4} /nginx.tar.gz > ${output}/ubuntu-${1}-${5}-nginx-${4}.tar.gz

0 commit comments

Comments
 (0)