Skip to content

Instantly share code, notes, and snippets.

@ToQoz
Last active November 14, 2016 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ToQoz/703ca7c59a5b19db35d575940697591b to your computer and use it in GitHub Desktop.
Save ToQoz/703ca7c59a5b19db35d575940697591b to your computer and use it in GitHub Desktop.

setusergroups

Dockerfile:

RUN apk add --no-cache --virtual .setusergroups-buildeps abuild build-base git autoconf automake && \
    git clone https://github.com/tokuhirom/setusergroups.git /opt/setusergroups && \
    (cd /opt/setusergroups && autoreconf -i && ./configure && make && make install) && \
    rm -r /opt/setusergroups && \
    apk del .setusergroups-buildeps

share/h2o/setuidgid

Dockerfile:

ADD https://raw.githubusercontent.com/h2o/h2o/master/share/h2o/setuidgid /usr/local/bin/
RUN apk add --no-cache perl && chmod +x /usr/local/bin/setuidgid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment