Skip to content

Commit

Permalink
fix docker automatic build
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot committed Jul 11, 2023
1 parent 9e96cd7 commit a66ba7e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.interlink
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.19 as build-stage

WORKDIR /app

COPY . .
COPY .. .

RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -o bin/interlink cmd/interlink/main.go

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.refresh-token
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM python:3.10

RUN pip3 install requests

COPY ./scripts/refresh.py /opt/refresh.py
COPY ../scripts/refresh.py /opt/refresh.py

ENTRYPOINT ["python3", "/opt/refresh.py"]
2 changes: 1 addition & 1 deletion docker/Dockerfile.sidecar-docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.19 as build-stage

WORKDIR /app

COPY . .
COPY .. .

RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -o bin/docker-sidecar cmd/sidecars/docker/main.go

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.sidecar-slurm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.19 as build-stage

WORKDIR /app

COPY . .
COPY .. .

RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -o bin/slurm-sidecar cmd/sidecars/slurm/main.go

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.vk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.19 as build-stage

WORKDIR /app

COPY . .
COPY .. .

RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -o bin/vk

Expand Down

0 comments on commit a66ba7e

Please sign in to comment.