mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01: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
|
||||
MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
weechat \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apk add --no-cache \
|
||||
weechat
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
ENV HOME /home/user
|
||||
|
||||
RUN useradd --create-home --home-dir $HOME user \
|
||||
&& mkdir -p $HOME/.weechat \
|
||||
&& chown -R user:user $HOME
|
||||
RUN adduser -S user \
|
||||
&& chown -R user $HOME
|
||||
|
||||
WORKDIR $HOME
|
||||
USER user
|
||||
|
||||
ENTRYPOINT ["weechat"]
|
||||
ENTRYPOINT [ "weechat" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user