mirror of https://gitea.com/gitea/test-env.git
Add jq
`jq` might be useful to have. Also added .editorconfig and .gitattributes to the repo to ensure consistent file formatting.
This commit is contained in:
parent
ce003171ea
commit
4f90827e69
|
@ -0,0 +1,10 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
|
@ -0,0 +1 @@
|
|||
* text=auto eol=lf
|
|
@ -24,7 +24,7 @@ RUN addgroup \
|
|||
RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
|
||||
| tar -xz -C /go \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev \
|
||||
&& apt-get install -y jq libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev \
|
||||
&& make -C /go/git-${GIT_VERSION} prefix=/usr all \
|
||||
&& make -C /go/git-${GIT_VERSION} prefix=/usr install \
|
||||
&& rm -rf /go/git-${GIT_VERSION} \
|
||||
|
@ -38,4 +38,4 @@ RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
|
|||
USER gitea
|
||||
RUN git config --global --add safe.directory '*'
|
||||
USER root
|
||||
RUN git config --global --add safe.directory '*'
|
||||
RUN git config --global --add safe.directory '*'
|
||||
|
|
Loading…
Reference in New Issue