-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca42dba
commit ffaa60d
Showing
17 changed files
with
24 additions
and
394 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
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,11 +6,11 @@ LABEL maintainer="Target Brands, Inc. [email protected]" | |
|
||
# Copy source files and set the working directory | ||
COPY ./src/go/ /go/src/github.com/target/strelka/src/go/ | ||
WORKDIR /go/src/github.com/target/strelka/src/go/cmd/strelka-fileshot | ||
WORKDIR /go/src/github.com/target/strelka/src/go/ | ||
|
||
# Statically compile and output to tmp | ||
RUN go mod download && \ | ||
CGO_ENABLED=0 go build -o /tmp/strelka-fileshot . | ||
CGO_ENABLED=0 go build -o /tmp/strelka-fileshot cmd/strelka-fileshot/main.go | ||
|
||
# Initialize runtime container | ||
FROM alpine | ||
|
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,11 +6,11 @@ LABEL maintainer="Target Brands, Inc. [email protected]" | |
|
||
# Copy source files and set the working directory | ||
COPY ./src/go/ /go/src/github.com/target/strelka/src/go/ | ||
WORKDIR /go/src/github.com/target/strelka/src/go/cmd/strelka-filestream | ||
WORKDIR /go/src/github.com/target/strelka/src/go/ | ||
|
||
# Statically compile and output to tmp | ||
RUN go mod download && \ | ||
CGO_ENABLED=0 go build -o /tmp/strelka-filestream . | ||
CGO_ENABLED=0 go build -o /tmp/strelka-filestream cmd/strelka-filestream/main.go | ||
|
||
# Initialize runtime container | ||
FROM alpine | ||
|
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,11 +6,11 @@ LABEL maintainer="Target Brands, Inc. [email protected]" | |
|
||
# Copy source files and set the working directory | ||
COPY ./src/go/ /go/src/github.com/target/strelka/src/go/ | ||
WORKDIR /go/src/github.com/target/strelka/src/go/cmd/strelka-frontend | ||
WORKDIR /go/src/github.com/target/strelka/src/go/ | ||
|
||
# Statically compile and output to tmp | ||
RUN go mod download && \ | ||
CGO_ENABLED=0 go build -o /tmp/strelka-frontend . | ||
CGO_ENABLED=0 go build -o /tmp/strelka-frontend cmd/strelka-frontend/main.go | ||
|
||
# Initialize runtime container | ||
FROM alpine | ||
|
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,11 +6,11 @@ LABEL maintainer="Target Brands, Inc. [email protected]" | |
|
||
# Copy source files and set the working directory | ||
COPY ./src/go/ /go/src/github.com/target/strelka/src/go/ | ||
WORKDIR /go/src/github.com/target/strelka/src/go/cmd/strelka-manager | ||
WORKDIR /go/src/github.com/target/strelka/src/go/ | ||
|
||
# Statically compile and output to /tmp | ||
RUN go mod download && \ | ||
CGO_ENABLED=0 go build -o /tmp/strelka-manager . | ||
CGO_ENABLED=0 go build -o /tmp/strelka-manager cmd/strelka-manager/main.go | ||
|
||
# Initialize runtime container with non-root user | ||
FROM alpine | ||
|
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,11 +6,11 @@ LABEL maintainer="Target Brands, Inc. [email protected]" | |
|
||
# Copy source files and set the working directory | ||
COPY ./src/go/ /go/src/github.com/target/strelka/src/go/ | ||
WORKDIR /go/src/github.com/target/strelka/src/go/cmd/strelka-oneshot | ||
WORKDIR /go/src/github.com/target/strelka/src/go/ | ||
|
||
# Statically compile and output to tmp | ||
RUN go mod download && \ | ||
CGO_ENABLED=0 go build -o /tmp/strelka-oneshot . | ||
CGO_ENABLED=0 go build -o /tmp/strelka-oneshot cmd/strelka-oneshot/main.go | ||
|
||
# Initialize runtime container | ||
FROM alpine | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.