forked from jessfraz/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jess Frazelle <[email protected]>
- Loading branch information
Showing
7 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters