Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GO Dockerfile build error on some deployments by adding missing forward slash (/) to COPY command #367

Merged
merged 3 commits into from
Apr 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/go/fileshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/
COPY go.* /go/src/github.com/target/strelka
COPY go.* /go/src/github.com/target/strelka/

# Statically compile and output to tmp
RUN go mod download && \
Expand Down
2 changes: 1 addition & 1 deletion build/go/filestream/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/
COPY go.* /go/src/github.com/target/strelka
COPY go.* /go/src/github.com/target/strelka/

# Statically compile and output to tmp
RUN go mod download && \
Expand Down
2 changes: 1 addition & 1 deletion build/go/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/
COPY go.* /go/src/github.com/target/strelka
COPY go.* /go/src/github.com/target/strelka/

# Statically compile and output to tmp
RUN go mod download && \
Expand Down
2 changes: 1 addition & 1 deletion build/go/manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/
COPY go.* /go/src/github.com/target/strelka
COPY go.* /go/src/github.com/target/strelka/

# Statically compile and output to /tmp
RUN go mod download && \
Expand Down
2 changes: 1 addition & 1 deletion build/go/oneshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/
COPY go.* /go/src/github.com/target/strelka
COPY go.* /go/src/github.com/target/strelka/

# Statically compile and output to tmp
RUN go mod download && \
Expand Down