mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-03 19:00:42 +02:00
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
245e7d426e
commit
f26c645faa
@ -1,19 +1,14 @@
|
|||||||
FROM ubuntu:16.04
|
FROM alpine:latest
|
||||||
MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apk add --no-cache \
|
||||||
weechat \
|
weechat
|
||||||
--no-install-recommends \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
|
||||||
ENV HOME /home/user
|
ENV HOME /home/user
|
||||||
|
|
||||||
RUN useradd --create-home --home-dir $HOME user \
|
RUN adduser -S user \
|
||||||
&& mkdir -p $HOME/.weechat \
|
&& chown -R user $HOME
|
||||||
&& chown -R user:user $HOME
|
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
USER user
|
USER user
|
||||||
|
|
||||||
ENTRYPOINT ["weechat"]
|
ENTRYPOINT [ "weechat" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user