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

Not working on alpine linux #94

Closed
pierreozoux opened this issue Mar 10, 2016 · 8 comments
Closed

Not working on alpine linux #94

pierreozoux opened this issue Mar 10, 2016 · 8 comments

Comments

@pierreozoux
Copy link

I just tried to run this on alpine linux, and I get the following error:

egrep: bad regex '{[^{]*"type":"http-01"[^}]*': Invalid contents of {}
@Neilpang
Copy link
Member

I just installed a alpine linux. Can you tell me how to install bash, git and curl on it?
which command should I use ?

@pierreozoux
Copy link
Author

apk --no-cache add git bash openssh curl

@Neilpang
Copy link
Member

fixed, please try again.

@pierreozoux
Copy link
Author

Yes it is working! Thanks a lot for your project and your help :)

@itoffshore
Copy link

For the egrep: bad regex ..... Invalid contents of {} - [you just need to escape the {}](Invalid contents of {}) causing the error on busybox egrep.

@Neilpang
Copy link
Member

Neilpang commented Aug 9, 2016

@itoffshore
Can you pleae give me more info ?

@itoffshore
Copy link

It looks like you have fixed it @ line 1509 - you escape the first open brace:

\{[^{]*"type":"http-01"[^}]*

which works ok in busybox

I had the same Invalid contents of {} error in a logcheck ignore rule in Alpine.

@Neilpang
Copy link
Member

Neilpang commented Aug 9, 2016

@itoffshore Cool.

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

No branches or pull requests

3 participants