Skip to content

Commit

Permalink
Move Dockerfiles to build-aux/docker/images
Browse files Browse the repository at this point in the history
Creates a build-aux/docker directory where we can put all things Docker,
adds an initial image directory there, and moves existing Dockerfiles
to that directory.

Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed Jan 31, 2023
1 parent c81cded commit 65b66a8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
.circleci/
.idea/
.git/
base-image/
build-aux/
build-output/
!build-output/version.txt
docs/
integration_test/
k8s/
packaging/
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.5
FROM golang:1.19.4


RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion build-aux/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ release-binary: $(TELEPRESENCE)
image: build-deps
mkdir -p $(BUILDDIR)
printf $(TELEPRESENCE_VERSION) > $(BUILDDIR)/version.txt ## Pass version in a file instead of a --build-arg to maximize cache usage
docker build --target tel2 --tag tel2 --tag $(TELEPRESENCE_REGISTRY)/tel2:$(patsubst v%,%,$(TELEPRESENCE_VERSION)) -f base-image/Dockerfile .
docker build --target tel2 --tag tel2 --tag $(TELEPRESENCE_REGISTRY)/tel2:$(patsubst v%,%,$(TELEPRESENCE_VERSION)) -f build-aux/docker/images/Dockerfile.traffic .

.PHONY: push-image
push-image: image ## (Build) Push the manager/agent container image to $(TELEPRESENCE_REGISTRY)
Expand Down
2 changes: 1 addition & 1 deletion build-aux/winmake.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if not exist .wintools\jq.exe (
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe --output .\.wintools\jq.exe
)

docker build . -f .\build-aux\Dockerfile.winbuild -t tel2-winbuild || exit \b
docker build . -f .\build-aux\docker\images\Dockerfile.winbuild -t tel2-winbuild || exit \b

set pwd=%~dp0
set pwd=%pwd:~3%
Expand Down

0 comments on commit 65b66a8

Please sign in to comment.