Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LocMapper action #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add LocMapper action #14

wants to merge 3 commits into from

Conversation

JulienBreux
Copy link

Description

Add missing custom LocMapper tool action.

Reviewers note

Important to understand that in a very first time, we just pass one input "command".
In the future, it's better to split in relation of the tools commands, sub-commands and arguments.

@JulienBreux JulienBreux added the enhancement New feature or request label Sep 24, 2021
@JulienBreux JulienBreux self-assigned this Sep 24, 2021
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.command }}
Copy link

@DevHugo DevHugo Sep 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ags are passed on entrypoints.sh argument. See the docs: https://github.com/happn-tech/LocMapper/blob/main/Dockerfile#L49 .

I think it needed to create an entrypoint.sh file. Somethink like in the Dockerfile :

USER root

ADD entrypoint.sh .

RUN chmod +x entrypoint.sh && chown locmapper entrypoint.sh

ENTRYPOINT ["/locmapper/entrypoint.sh"]

and entrypoint.sh :

#!/bin/sh

locmapper $1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants