Skip to content

Commit 684ae69

Browse files
committed
.dockerignore file
1 parent 4fb1133 commit 684ae69

File tree

2 files changed

+15
-26
lines changed

2 files changed

+15
-26
lines changed

doc/PACKAGING.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,55 +10,55 @@ Perl Distribution Compactor depends on [Module::ScanDeps](https://metacpan.org/p
1010

1111
## AppImage Support
1212

13-
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/) executable by the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
13+
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/) executable by the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
1414

1515
* packing a Perl application together with a PEB executable, its Qt libraries and a relocatable Perl distribution:
1616

1717
```bash
18-
appimage-maker.sh --include-resources
18+
./appimage-maker.sh --include-resources
1919
```
2020

21-
In this case the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
21+
In this case the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
2222

2323
* packing only a PEB executable with its Qt libraries:
2424

2525
```bash
26-
appimage-maker.sh --no-resources
26+
./appimage-maker.sh --no-resources
2727
```
2828

2929
In this case a PEB executable from an AppImage will try to find its application files and folders in the directory of the AppImage.
3030

31-
In both modes of operation, the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
31+
In both modes of operation, the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
3232

33-
[AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script must be started from the ``{PEB_executable_directory}/sdk`` directory.
33+
The [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script must be started from the ``{PEB_executable_directory}/sdk`` directory.
3434

35-
An easy building environment for PEB AppImage executables is the provided [AppImage Builder Docker container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
36-
To build it type the following command from the ``{PEB_executable_directory}/sdk`` directory:
35+
An easy building environment for PEB AppImage executables is the provided [PEB AppImage Builder Docker Container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
36+
To build it, type the following command in the PEB project root directory (the directory of the README.md):
3737

3838
```bash
39-
sudo docker build -t appimage-builder .
39+
sudo docker build -t peb-appimage-builder .
4040
```
4141

42-
To start the AppImage Builder container type the following command from the ``{PEB_executable_directory}/sdk`` directory:
42+
To start the PEB AppImage Builder Docker Container, type the following command in the PEB project root directory (the directory of the README.md):
4343

4444
```bash
45-
sudo docker container run --rm -it -v $(pwd)/..:/opt --user $(id -u):$(id -g) appimage-builder
45+
sudo docker container run --rm -it -v $(pwd):/opt --user $(id -u):$(id -g) peb-appimage-builder
4646
```
4747

48-
When [AppImage Builder Docker container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile) is running, type:
48+
When [PEB AppImage Builder Docker Container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile) is running, type:
4949

5050
```bash
5151
cd /opt/sdk
5252
```
5353

54-
To start the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh), type either:
54+
To start the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh), type either:
5555

5656
```bash
57-
appimage-maker.sh --no-resources
57+
./appimage-maker.sh --no-resources
5858
```
5959

6060
or
6161

6262
```bash
63-
appimage-maker.sh --include-resources
63+
./appimage-maker.sh --include-resources
6464
```

sdk/Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)