Skip to content
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
24 changes: 24 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Build artifacts: regenerated inside the image (GOBIN=/app/bin + make build-plugin/build-server).
# Shipping the host's pre-built bin/ (multiple GB of plugin .so files) bloats the
# build context and the builder layer, which can exhaust the Docker VM and crash BuildKit.
bin/

# Generated mocks (regenerated via make mock inside the image)
mocks/

# Runtime logs
logs/

# Python build/venv artifacts (regenerated; Dockerfile.server reinstalls from
# requirements.txt / pyproject and runs python/build.sh). Source under python/ is kept.
**/.venv/
**/__pycache__/
**/*.pyc
python/.devlake-python-build-root/

# Test / coverage output
*.out
coverage.txt

# OS / editor junk
.DS_Store
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ RUN if [ "$(arch)" != "x86_64" ] ; then \
fi

RUN go install github.com/vektra/mockery/v2@v2.53.6
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.1
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.6

COPY --from=debian-amd64 /usr/include /rootfs-amd64/usr/include
COPY --from=debian-amd64 /usr/lib/x86_64-linux-gnu /rootfs-amd64/usr/lib/x86_64-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN mkdir -p /tmp/build && cd /tmp/build && \
ldconfig

RUN go install github.com/vektra/mockery/v2@v2.53.6
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.1
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.6

WORKDIR /app
COPY . /app
Expand Down
2 changes: 1 addition & 1 deletion backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ all: build

go-dep:
go install github.com/vektra/mockery/v2@v2.53.6
go install github.com/swaggo/swag/cmd/swag@v1.16.1
go install github.com/swaggo/swag/cmd/swag@v1.16.6
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2

go-dev-tools:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-dev-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ services:
- devlake

authproxy:
image: quay.io/oauth2-proxy/oauth2-proxy:v7.4.0-amd64
image: quay.io/oauth2-proxy/oauth2-proxy:v7.15.3-amd64
network_mode: "host"
ports:
- 4181:4180
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-dev-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ services:
- devlake

authproxy:
image: quay.io/oauth2-proxy/oauth2-proxy:v7.4.0-amd64
image: quay.io/oauth2-proxy/oauth2-proxy:v7.15.3-amd64
network_mode: "host"
ports:
- 4180:4180
Expand Down
Loading