Skip to content
Closed
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
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# The default obtained 6/4 from /universe/docker-images/ubuntu/18.04/BUILD
ARG IMAGE_SHA=sha256:6058c5e6bd1c60a065f5197d705386c84c62c4ab806ef51a7342a3237fcd1e5d
# Set base image to internal ubuntu image with image sha version generated in universe/thirdparty/showfast/build_container.sh
FROM registry.dev.databricks.com/universe/db-ubuntu-18.04@${IMAGE_SHA} AS final

# Install Necessary Tools
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -rf /var/lib/apt/lists/*

# Copy Binary
COPY bin/example /databricks/xds-go-cp
RUN chmod +x /databricks/xds-go-cp

# Port
EXPOSE 18000

# Run showfast
CMD ["/bin/bash", "-c", "/databricks/xds-go-cp -debug $@"]
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ $(BINDIR)/example:
@go build -race -o $@ internal/example/main/main.go

example: $(BINDIR)/example
@build/example.sh

.PHONY: docker_tests
docker_tests:
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ require (
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed
github.com/envoyproxy/protoc-gen-validate v0.1.0
github.com/golang/protobuf v1.4.3
github.com/google/go-cmp v0.5.0
github.com/google/go-cmp v0.5.4
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/proto/otlp v0.7.0
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
google.golang.org/grpc v1.36.0
google.golang.org/protobuf v1.25.0
k8s.io/apimachinery v0.21.3 // indirect
k8s.io/client-go v0.21.3 // indirect
)
Loading