Skip to content

Commit

Permalink
fix: add git to Dockerfile build (celestiaorg#1017)
Browse files Browse the repository at this point in the history
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview
Fixes the following error:
```
 ---> 0119ef2bed23
Step 5/12 : RUN make build
 ---> Running in 8f545cb05d38
make: git: No such file or directory
make: git: No such file or directory
--> Updating go.mod
```
<--- 
Please provide an explanation of the PR, including the apprioprate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->

## Checklist

<!-- 
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [ ] New and updated code has appropriate documentation
- [ ] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [ ] Linked issues closed with keywords
  • Loading branch information
rach-id committed Nov 17, 2022
1 parent 7cfc795 commit f93071d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# stage 1 Generate celestia-appd Binary
FROM golang:1.18-alpine as builder
# hadolint ignore=DL3018
RUN apk update && apk --no-cache add make gcc musl-dev
RUN apk update && apk --no-cache add make gcc musl-dev git
COPY . /celestia-app
WORKDIR /celestia-app
RUN make build
Expand Down

0 comments on commit f93071d

Please sign in to comment.