[add] initial commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM debian:buster-slim
|
||||
|
||||
ARG USER_ID=9999
|
||||
ARG GROUP_ID=9999
|
||||
ENV OUTPUT_PATH=/service/data
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y iputils-ping
|
||||
|
||||
COPY ./files/inet_stat.sh /entrypoint.sh
|
||||
|
||||
RUN mkdir -p $OUTPUT_PATH \
|
||||
&& chown -R $USER_ID:$GROUP_ID $OUTPUT_PATH
|
||||
|
||||
USER $USER_ID:$GROUP_ID
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user