mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
add some hacky experiments for inotify event parsing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user