Skip to content

Instantly share code, notes, and snippets.

@ToQoz
Last active November 14, 2016 01:46
Show Gist options
  • Select an option

  • Save ToQoz/703ca7c59a5b19db35d575940697591b to your computer and use it in GitHub Desktop.

Select an option

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