Skip to content

Commit

Permalink
Fixing logrotate issue in Makefile/Dockerfile (#3233)
Browse files Browse the repository at this point in the history
* fixing logrotate build issue. Need to specify DOCKER_BUILDKIT=1 in the Makefile for `make docker` command
  • Loading branch information
jrynkiew authored Mar 28, 2022
1 parent faf3c97 commit f85c9ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ RUN apk add logrotate
COPY logrotate.conf /etc/logrotate.d/iotex
RUN mkdir -p /var/lib/
RUN touch /var/lib/logrotate.status
RUN chmod -R u=rwX,go=rX /etc
RUN logrotate /etc/logrotate.d/iotex
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ run:

.PHONY: docker
docker:
$(DOCKERCMD) build -t $(USER)/iotex-core:latest .
DOCKER_BUILDKIT=1 $(DOCKERCMD) build -t $(USER)/iotex-core:latest .

.PHONY: minicluster
minicluster:
Expand Down

0 comments on commit f85c9ad

Please sign in to comment.