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
23 additions
and
13 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:bullseye-slim | ||
FROM debian:sid-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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:latest as builder | ||
FROM golang:1.12 as builder | ||
MAINTAINER Jessica Frazelle <[email protected]> | ||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$PATH | ||
|
@@ -29,9 +29,9 @@ RUN apt-get update && apt-get install -y \ | |
--no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV CONSUL_VERSION v1.6.0-beta2 | ||
ENV CONSUL_VERSION v1.6.1 | ||
|
||
RUN go get github.com/hashicorp/consul | ||
RUN go get github.com/hashicorp/consul || true | ||
|
||
WORKDIR /go/src/github.com/hashicorp/consul | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
MAINTAINER Jessica Frazelle <[email protected]> | ||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$PATH | ||
|
@@ -24,10 +24,10 @@ COPY *.go /go/src/k8scan/ | |
RUN set -x \ | ||
&& go get -d . \ | ||
&& gofmt -s -l . \ | ||
&& go test ./... \ | ||
&& go vet ./... \ | ||
&& golint ./... \ | ||
&& staticcheck ./... \ | ||
&& go test ./... \ | ||
&& CGO_ENABLED=0 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o /usr/bin/k8scan *.go \ | ||
&& echo "Build complete." | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apk --no-cache add \ | ||
|
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 |
---|---|---|
@@ -1,21 +1,31 @@ | ||
FROM debian:bullseye-slim | ||
FROM ubuntu:bionic | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
libc++1-7 \ | ||
curl \ | ||
gnupg2 \ | ||
libc++1 \ | ||
--no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& curl -sSL https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - \ | ||
&& echo 'deb https://apt.kitware.com/ubuntu/ bionic main' > /etc/apt/sources.list.d/cmake.list | ||
|
||
ENV OSQUERY_VERSION 4.0.0 | ||
ENV OSQUERY_VERSION 4.0.2 | ||
|
||
RUN buildDeps=' \ | ||
bison \ | ||
clang \ | ||
cmake \ | ||
flex \ | ||
git \ | ||
libc++-dev \ | ||
libc++abi-dev \ | ||
liblzma-dev \ | ||
libssl-dev \ | ||
llvm \ | ||
make \ | ||
python \ | ||
|
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