Compare commits
No commits in common. "4dbfd0a8f3240d24ece259221dba043c036e1f40" and "867eb8db35908d1d8685d93549832fa70fffaaaa" have entirely different histories.
4dbfd0a8f3
...
867eb8db35
@ -5,5 +5,5 @@ RUN apt-get update && apt-get install -y \
|
|||||||
unzip \
|
unzip \
|
||||||
zip \
|
zip \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
RUN curl -s https://git.phoenix.ipv64.de/public/warp4j/raw/branch/develop/install.sh | /bin/sh -s
|
RUN curl -s https://git.phoenix.ipv64.de/public/warp4j/raw/branch/feature/update_install_script/install | /bin/sh -s
|
||||||
ENTRYPOINT [ "/usr/local/bin/warp4j" ]
|
ENTRYPOINT [ "/usr/local/bin/warp4j" ]
|
||||||
|
19
INSTALL.md
19
INSTALL.md
@ -2,13 +2,6 @@
|
|||||||
|
|
||||||
Here are several more ways to install `warp4j`.
|
Here are several more ways to install `warp4j`.
|
||||||
|
|
||||||
## Install script
|
|
||||||
Run the [install.sh](./install.sh) script from source or use the following command:
|
|
||||||
```sh
|
|
||||||
curl -s https://git.phoenix.ipv64.de/public/warp4j/raw/branch/master/install.sh | /bin/sh -s
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Manual
|
## Manual
|
||||||
|
|
||||||
First install [warp-packer](https://git.phoenix.ipv64.de/public/warp/releases) and ensure other common tools available: `awk`, `curl`, `file`, `grep`, `sed`, `sort`, `tar`, `unzip`, optional: `zip`. Then install `warp4j` like this:
|
First install [warp-packer](https://git.phoenix.ipv64.de/public/warp/releases) and ensure other common tools available: `awk`, `curl`, `file`, `grep`, `sed`, `sort`, `tar`, `unzip`, optional: `zip`. Then install `warp4j` like this:
|
||||||
@ -29,4 +22,14 @@ Previous command can be also used to upgrade to the latest version.
|
|||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
See [Dockerfile](./Dockerfile)
|
See docker hub [page](https://hub.docker.com/r/guziks/warp4j).
|
||||||
|
|
||||||
|
## Moor
|
||||||
|
|
||||||
|
Instead of direct `docker run` command you can make a launcher with [moor](https://github.com/guziks/moor):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ moor guziks/warp4j:stable warp4j
|
||||||
|
```
|
||||||
|
|
||||||
|
Then use as an ordinary command.
|
||||||
|
@ -14,7 +14,6 @@ fail() {
|
|||||||
LIN=linux
|
LIN=linux
|
||||||
MAC=macos
|
MAC=macos
|
||||||
WIN=windows
|
WIN=windows
|
||||||
|
|
||||||
# Urls
|
# Urls
|
||||||
LIN_X64_URL=https://git.phoenix.ipv64.de/public/warp/releases/download/1.0.0/linux-x64.warp-packer
|
LIN_X64_URL=https://git.phoenix.ipv64.de/public/warp/releases/download/1.0.0/linux-x64.warp-packer
|
||||||
LIN_AARCH64_URL=https://git.phoenix.ipv64.de/public/warp/releases/download/1.0.0/linux-aarch64.warp-packer
|
LIN_AARCH64_URL=https://git.phoenix.ipv64.de/public/warp/releases/download/1.0.0/linux-aarch64.warp-packer
|
||||||
@ -44,8 +43,7 @@ get_this_architecture() {
|
|||||||
x86_64) echo $X64 ;;
|
x86_64) echo $X64 ;;
|
||||||
aarch64) echo $AARCH64 ;;
|
aarch64) echo $AARCH64 ;;
|
||||||
*)
|
*)
|
||||||
echo "Error: Unsupported machine $this_machine" >&2
|
fail_with "Unsupported machine $this_machine"
|
||||||
fail
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user