add some hacky experiments for inotify event parsing

This commit is contained in:
Dominic Breuker
2018-02-11 22:15:10 +01:00
parent 38c5d42bb4
commit 9bc66835a6
8 changed files with 214 additions and 31 deletions

View File

@@ -1,9 +1,15 @@
FROM golang:1.9-stretch
RUN useradd -ms /bin/bash myuser
RUN apt-get update && apt-get -y install cron sudo
COPY docker/etc/cron.d /etc/cron.d
COPY docker/scripts /scripts
RUN useradd -ms /bin/bash myuser && \
adduser myuser sudo && \
echo 'myuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER myuser
WORKDIR /go/src/github.com/dominicbreuker