fix dockerfile builds

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle 2019-05-25 19:11:12 -04:00
parent a6a529eda0
commit ffc0508b44
7 changed files with 13 additions and 17 deletions

View File

@ -6,7 +6,7 @@
# -v /etc/localtime:/etc/localtime:ro \
# r.j3ss.co/bcc-tools
#
FROM debian:buster-slim
FROM debian:stretch-slim
MAINTAINER Jessica Frazelle <jess@linux.com>
ENV PATH /usr/share/bcc/tools:$PATH

View File

@ -3,13 +3,15 @@ RUN apk add --no-cache \
git
RUN git clone https://github.com/brendandburns/cl-k8s.git /cl-k8s
FROM alpine:latest
FROM debian:buster-slim
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk --no-cache add \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
RUN apt-get update && apt-get install -y \
ca-certificates \
clisp
clisp \
wget \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY .clisprc.lisp /home/user/.clisprc.lisp
COPY --from=cl-k8s /cl-k8s /home/user/quicklisp/local-projects/cl-k8s
@ -18,7 +20,7 @@ COPY --from=cl-k8s /cl-k8s /home/user/quicklisp/local-projects/cl-k8s
RUN wget -O /home/user/quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp
ENV HOME /home/user
RUN adduser -u 1001 -D user \
RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME
USER user

View File

@ -82,10 +82,6 @@ WORKDIR /usr/src/lkp-tests
RUN make install \
&& lkp install
# Create the lkp user and group
RUN groupadd --gid 1090 lkp
RUN useradd --uid 1090 --gid 1090 lkp
COPY runbench /usr/local/bin/runbench
CMD [ "lkp" ]

View File

@ -32,8 +32,8 @@ RUN useradd --create-home --home-dir $HOME user \
ENV LANG C.UTF-8
# https://www.torproject.org/projects/torbrowser.html.en
ENV TOR_VERSION 8.5a8
# https://www.torproject.org/download/alpha/
ENV TOR_VERSION 9.0a1
ENV TOR_FINGERPRINT 0x4E2C6E8793298290
# download tor and check signature

View File

@ -14,7 +14,7 @@ RUN git clone --depth 1 --branch ${TRANSFER_SH_VERSION} https://github.com/dutch
WORKDIR /go/src/github.com/dutchcoders/transfer.sh
RUN go build -o /usr/bin/transfer.sh
RUN GO111MODULE=on go build -o /usr/bin/transfer.sh
# Create a clean image without build dependencies
FROM alpine:latest

View File

@ -18,7 +18,6 @@ RUN apt-get update && apt-get install -y \
desktop-file-utils \
ibus \
ibus-gtk \
ibus-qt4 \
lib32z1 \
libx11-6 \
libasound2-dev \
@ -42,7 +41,6 @@ RUN apt-get update && apt-get install -y \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-xtest0 \
libibus-qt1 \
libnss3 \
libxss1 \
sudo \

View File

@ -5,9 +5,9 @@ COPY ./.zshrc /root/.zshrc
RUN apk --no-cache add \
shadow \
zsh \
&& chsh -s /bin/zsh
&& chsh -s /bin/zsh || true
ENV SHELL /usr/bin/zsh
WORKDIR /root
ENTRYPOINT /bin/zsh
ENTRYPOINT ["/bin/zsh"]