Skip to content

Commit

Permalink
chore: update dockerfiles naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Oct 27, 2023
1 parent 2174fb6 commit 9c4fe18
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./dockers/seda-node.Dockerfile
file: ./dockerfiles/Dockerfile.node
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile si for .gorelease purposesBuild: docker build -t seda-chaind .
# If you are looking for a Dockerfile to run a node, see dockers/seda-node.Dockerfile
# This Dockerfile is for .gorelease purposesBuild: docker build -t seda-chaind .
# If you are looking for a Dockerfile to run a node, see dockerfiles/Dockerfile.node
FROM scratch
ENTRYPOINT ["/seda-chaind"]
COPY seda-chaind /
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ docker-static-build:
--build-arg RUNNER_IMAGE=$(RUNNER_BASE_IMAGE_DISTROLESS) \
--build-arg GIT_VERSION=$(VERSION) \
--build-arg GIT_COMMIT=$(COMMIT) \
-f static.Dockerfile .
-f $(CURDIR)/dockerfiles/Dockerfile.static .

docker-static-build-alpine:
@DOCKER_BUILDKIT=1 docker build \
Expand All @@ -298,4 +298,4 @@ docker-static-build-alpine:
--build-arg RUNNER_IMAGE=$(RUNNER_BASE_IMAGE_ALPINE) \
--build-arg GIT_VERSION=$(VERSION) \
--build-arg GIT_COMMIT=$(COMMIT) \
-f static.Dockerfile .
-f $(CURDIR)/dockerfiles/Dockerfile.static .
File renamed without changes.
File renamed without changes.
7 changes: 1 addition & 6 deletions static.Dockerfile → dockerfiles/Dockerfile.static
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ COPY --from=builder /seda-chain/build/seda-chaind /bin/seda-chaind
ENV HOME /seda-chain
WORKDIR $HOME

EXPOSE 26656
EXPOSE 26657
EXPOSE 1317
# Note: uncomment the line below if you need pprof
# We disable it by default in out main Dockerfile for security reasons
# EXPOSE 6060
EXPOSE 26656 26657 1317 9090

ENTRYPOINT ["seda-chaind"]

0 comments on commit 9c4fe18

Please sign in to comment.