diff --git a/Dockerfile.dev b/Dockerfile.dev deleted file mode 100644 index 7375d08a..00000000 --- a/Dockerfile.dev +++ /dev/null @@ -1,21 +0,0 @@ -FROM debian:12.7-slim - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get update && apt-get install -y \ - ca-certificates; \ - apt-get clean; \ - rm -rf /var/lib/apt/lists/*; \ - groupadd -r beekeeper --gid 999; \ - useradd -r -g beekeeper --uid 999 --no-log-init -m beekeeper; - -# make sure mounted volumes have correct permissions -RUN mkdir -p /home/beekeeper/.beekeeper && chown 999:999 /home/beekeeper/.beekeeper - -COPY ./tmp/beekeeper /usr/local/bin/beekeeper - -USER beekeeper -WORKDIR /home/beekeeper -VOLUME /home/beekeeper/.beekeeper - -ENTRYPOINT ["beekeeper"] diff --git a/Makefile b/Makefile index 5cfd9f9a..809fb13b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ GO ?= go GOLANGCI_LINT ?= golangci-lint GOLANGCI_LINT_VERSION ?= v1.61.0 -BEEKEEPER_IMAGE ?= ethersphere/beekeeper:latest COMMIT ?= "$(shell git describe --long --dirty --always --match "" || true)" LDFLAGS ?= -s -w -X github.com/ethersphere/beekeeper.commit=$(COMMIT) @@ -51,13 +50,4 @@ clean: $(GO) clean rm -rf dist/ -.PHONY: docker-build -docker-build: binary - @echo "Build flags: $(LDFLAGS)" - mkdir -p ./tmp - cp ./dist/beekeeper ./tmp/beekeeper - docker build -f Dockerfile.dev -t $(BEEKEEPER_IMAGE) . - rm -rf ./tmp - @echo "Docker image: $(BEEKEEPER_IMAGE)" - FORCE: