Skip to content

Commit

Permalink
feat: update version and add: mimo, dsq, iputils-ping and vim (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSimon authored Sep 15, 2023
1 parent 91b98ea commit 6d04a71
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
20 changes: 16 additions & 4 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
ARG VERSION_PIMO=v1.19.0
ARG VERSION_LINO=v2.4.0
ARG VERSION_SIGO=0.3.0
ARG VERSION_MILLER=6.8.0
ARG VERSION_MC=RELEASE.2023-07-07T05-25-51Z
ARG VERSION_DEBIAN=stable-20230703-slim
ARG VERSION_MIMO=0.5.0
ARG VERSION_MILLER=6.9.0
ARG VERSION_MC=RELEASE.2023-09-07T22-48-55Z
ARG VERSION_DSQ=0.23.0
ARG VERSION_DEBIAN=stable-20230904-slim


FROM cgifr/pimo:${VERSION_PIMO} AS pimo
Expand All @@ -33,9 +35,11 @@ FROM debian:${VERSION_DEBIAN}

ARG VERSION_MILLER
ARG VERSION_SIGO
ARG VERSION_MIMO
ARG VERSION_DSQ

RUN apt-get update && \
apt-get install -y --no-install-recommends less jq wget git postgresql-client pv ca-certificates && \
apt-get install -y --no-install-recommends unzip less jq wget git postgresql-client pv ca-certificates vim iputils-ping && \
apt-get autoremove -y && \
apt-get clean -y && \
rm -r /var/cache/* /var/lib/apt/lists/*
Expand All @@ -51,12 +55,20 @@ RUN wget -nv -O- https://github.com/johnkerl/miller/releases/download/v${VERSION
RUN wget -nv -O- https://github.com/CGI-FR/SIGO/releases/download/v${VERSION_SIGO}/SIGO_${VERSION_SIGO}_linux_amd64.tar.gz | tar -xz -C /usr/bin sigo &&\
chmod +x /usr/bin/sigo

RUN wget -O- https://github.com/CGI-FR/MIMO/releases/download/v${VERSION_MIMO}/mimo_${VERSION_MIMO}_linux_amd64.tar.gz | tar xz -C /usr/bin mimo && \
chmod +x /usr/bin/mimo

ADD https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/ncat /usr/bin/nc
RUN chmod +x /usr/bin/nc

RUN wget https://github.com/multiprocessio/dsq/releases/download/v${VERSION_DSQ}/dsq-linux-x64-v${VERSION_DSQ}.zip && unzip -d /usr/bin dsq-linux-x64-v${VERSION_DSQ}.zip && \
chmod +x /usr/bin/dsq && rm -f dsq-linux-x64-v${VERSION_DSQ}.zip


COPY --from=pimo /usr/bin/pimo /usr/bin/pimo
COPY --from=lino /usr/bin/lino /usr/bin/lino
COPY --from=mc /usr/bin/mc /usr/bin/mc

USER 1000:1000

WORKDIR /home/lino
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
# LINO Toolbox

LINO Toolbox is suite of Docker images with commands `lino`, `pimo`, `sigo`, `mlr`, `mc`, `jq` `wget` `git` `pv` .
LINO Toolbox is suite of Docker images with commands `lino`, `pimo`, `sigo`, `mimo`, `mlr`, `mc`, `jq`, `dsq`, `wget`, `git`, `pv`, `vim`, `dsq` .

## Usage

To get started with Lino Toolbox and Docker, you'll need to have Docker installed on your system. Once you've done that, you can use the following command to run Lino Toolbox with Docker:

```
docker run --rm -it  -v $(pwd):/workspace  cgifr/lino-toolbox:v1.1.0-debian
docker run --rm -it  -v $(pwd):/workspace  cgifr/lino-toolbox:v1.3.0-debian
```

This command will start a Docker container with the cgifr/lino-toolbox:v1.1.0-debian image and mount the current working directory on your host machine to the /workspace directory in the container. Once the container finishes running, it will be automatically removed.
This command will start a Docker container with the cgifr/lino-toolbox:v1.3.0-debian image and mount the current working directory on your host machine to the /workspace directory in the container. Once the container finishes running, it will be automatically removed.

## debian image :
| Tool | Source | Version |
|------|---------|---------|
|debian|docker hub|debian:stable-20230703-slim |
|debian|docker hub|debian:stable-20230904-slim |
|lino |docker hub|cgifr/lino:2.4.0 |
|pimo |docker hub|cgifr/pimo:1.19.0 |
|sigo |github |0.3.0 |
|mlr |github |6.8.0 |
|mc |docker hub|minio/mc:RELEASE.2023-07-07T05-25-51Z|
|mimo |github |0.5.0 |
|mlr |github |6.9.0 |
|dsq |github |0.23.0 |
|mc |docker hub|minio/mc:RELEASE.2023-09-07T22-48-55Z|
|jq |debian |- |
|wget |debian |- |
|git |debian |- |
|pv |debian |- |
|vim |debian |- |
|iputils-ping |debian |- |

0 comments on commit 6d04a71

Please sign in to comment.