We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example
BUILDER_IMAGE=$(DOCKER_HUB_LOCAL)/node:18.18.2-bullseye define docker-inside-node docker run \ --rm -t \ -u root \ -v $(PWD):/app \ -w /app \ -e CI=true \ $(BUILDER_IMAGE) \ sh -x -c "$(strip $(1))" endef ################################################################################ .PHONY: version version: $(call docker-inside-node, yarn version $(VERSION) -i) ################################################################################ .PHONY: build-app build-app: $(call docker-inside-node, yarn install --immutable) $(call docker-inside-node, yarn run build) ################################################################################ .PHONY: build-image build-image: @docker build -t ${IMAGE_NAME}:${IMAGE_TAG} \ -f Dockerfile . ################################################################################ .PHONY: test test: $(call docker-inside-node, yarn run test:cov) ################################################################################ .PHONY: lint lint: $(call docker-inside-node, yarn run lint)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example
The text was updated successfully, but these errors were encountered: