mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-21 05:54:59 +02:00
commit
0ae5849ada
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM php:cli
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./h-m-m .
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libonig-dev xclip xsel wl-clipboard
|
||||
|
||||
RUN docker-php-ext-install pcntl mbstring
|
||||
|
||||
RUN chmod +x h-m-m
|
||||
|
||||
CMD ["./h-m-m"]
|
|
@ -148,6 +148,15 @@ Optionally, you can make the file executable by running the `chmod +x h-m-m` in
|
|||
|
||||
In Arch Linux, you can use the `h-m-m-git` AUR package to install it.
|
||||
|
||||
It's also possible to execute `h-m-m` through docker (or podman), just run:
|
||||
|
||||
```sh
|
||||
# Build the image
|
||||
docker build -t hmm .
|
||||
|
||||
# Run it
|
||||
docker run --rm -it -v $(pwd):/app/ hmm
|
||||
```
|
||||
|
||||
## 3. Installation script for Linux
|
||||
|
||||
|
|
Loading…
Reference in a new issue