Skip to content

Commit

Permalink
fix dockerfile builds
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed May 25, 2019
1 parent a6a529e commit ffc0508
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bcc-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>

ENV PATH /usr/share/bcc/tools:$PATH
Expand Down
12 changes: 7 additions & 5 deletions clisp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"

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
Expand All @@ -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
Expand Down
4 changes: 0 additions & 4 deletions lkp-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
4 changes: 2 additions & 2 deletions tor-browser/alpha/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion transfer-sh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions zoom-us/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -42,7 +41,6 @@ RUN apt-get update && apt-get install -y \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-xtest0 \
libibus-qt1 \
libnss3 \
libxss1 \
sudo \
Expand Down
4 changes: 2 additions & 2 deletions zsh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit ffc0508

Please sign in to comment.