Commit Graph

43 Commits

Author SHA1 Message Date
silverwind f3a5cc97dc Upgrade to Node 20 (#26)
Same as in https://github.com/go-gitea/gitea/pull/24524.

Reviewed-on: https://gitea.com/gitea/test-env/pulls/26
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
2023-06-01 18:21:00 +00:00
techknowlogick 9a7d3d6036 install nodejs into the container 2023-05-02 09:07:55 +08:00
silverwind 23e4487a3a Add .editorconfig and .gitattributes (#23)
To ensure consistent file formatting

Reviewed-on: https://gitea.com/gitea/test-env/pulls/23
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
2023-04-12 00:49:03 +08:00
harryzcy ce003171ea Bump golangci-lint and git version (#21)
This should also fix the CI issue in gitea main repo.

Co-authored-by: harryzcy <harry@harryzheng.com>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/21
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: harryzcy <harryzcy@noreply.gitea.io>
Co-committed-by: harryzcy <harryzcy@noreply.gitea.io>
2023-04-06 20:36:14 +08:00
techknowlogick fc425cbf02 Update 'Dockerfile' 2023-03-14 16:29:24 +08:00
techknowlogick 09b99f8979 Update 'Dockerfile' 2023-03-14 16:26:29 +08:00
techknowlogick e09c6e2081 add safe directories for git 2023-03-14 15:53:32 +08:00
techknowlogick 9d5f2f3e1a Use Gitea Actions to build image (#20)
This also enhances the image to use build arguments so that multiple versions of go can be used.

Reviewed-on: https://gitea.com/gitea/test-env/pulls/20
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-03-14 15:51:28 +08:00
Kyle 56e84fe1c2 version-lock git at v2.38.4 (#19)
Feel free to reject this, but I feel we should be building the test image with the same version of git we are deploying in released docker images.

Since we're using alpine 3.17, that should be `2.38.4`: https://pkgs.alpinelinux.org/packages?name=git&branch=v3.17&repo=&arch=&maintainer=

Reviewed-on: https://gitea.com/gitea/test-env/pulls/19
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: Kyle <kyle@noreply.gitea.io>
Co-committed-by: Kyle <kyle@noreply.gitea.io>
2023-02-28 23:41:42 +08:00
techknowlogick b00b104713 Update 'Dockerfile' 2023-02-03 11:31:08 +08:00
techknowlogick 4b3ad8cafd bump git & linter version 2023-01-18 04:38:34 +08:00
techknowlogick d42ced5d58 git v2.39.0 2022-12-13 02:33:20 +08:00
techknowlogick 2b0492fae4 git 2.38.1 2022-10-19 03:46:25 +08:00
techknowlogick ad24f35bc8 v2.38.0 2022-10-04 05:03:43 +08:00
techknowlogick 1e842800e2 git v2.37.3 2022-09-21 21:54:54 +08:00
Lunny Xiao 435bb386ae Bump golangci-lint (#14)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/14
Reviewed-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-02 04:36:21 +08:00
techknowlogick ebd58e46f0 use go 1.19 2022-09-02 04:35:23 +08:00
kdumontnu 0b848c8554 Use same git version as production alpine 3.16 (#15)
Use the same version as alpine 3.16

```
git version 2.36.2
```

Reviewed-on: https://gitea.com/gitea/test-env/pulls/15
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: kdumontnu <kdumontnu@noreply.gitea.io>
Co-committed-by: kdumontnu <kdumontnu@noreply.gitea.io>
2022-09-02 04:34:49 +08:00
techknowlogick 46621d15e4 bump git & lint 2022-04-21 09:21:44 +08:00
techknowlogick 5926db1574 CLI test included in build 2022-03-17 03:49:07 +08:00
techknowlogick 39a7a52a4e Update 'Dockerfile' 2022-03-17 03:44:52 +08:00
techknowlogick 71b7023848 update go, git & golangci-lint 2022-03-16 10:15:21 +08:00
techknowlogick 75ff84b393 update to git 2.35.0
Signed-off-by: techknowlogick <techknowlogick@gitea.io>
2022-01-26 06:41:46 +08:00
Gusted 64076dd3c0 Bump golangci-lint (#13)
- Related: https://github.com/go-gitea/gitea/pull/18411

Reviewed-on: https://gitea.com/gitea/test-env/pulls/13
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-01-26 06:40:41 +08:00
Wim 701cb2fcbd Update to bullseye and git 2.34.1 (#12)
bullseye is needed for newer OpenSSH which support ssh-signing using
ssh-keygen -Y sign

Needed for https://github.com/go-gitea/gitea/pull/17743

Co-authored-by: Wim <wim@42.be>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/12
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Wim <42wim@noreply.gitea.io>
Co-committed-by: Wim <42wim@noreply.gitea.io>
2021-12-02 13:34:31 +08:00
dachary 2f17425104 allow override of gid/uid from the build command (#11)
It is useful when running from a development environment with
a setup identical to the CI.

Signed-off-by: Loïc Dachary <loic@dachary.org>

Reviewed-on: https://gitea.com/gitea/test-env/pulls/11
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: dachary <dachary@noreply.gitea.io>
Co-committed-by: dachary <dachary@noreply.gitea.io>
2021-11-29 05:55:33 +08:00
Gusted 3bf763c245 Update golangci-lint (#10)
- Download the newest version of golangci-lint.
- Use the recommended install script.
- Relavent: https://github.com/go-gitea/gitea/pull/17647

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/10
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Gusted <gusted@noreply.gitea.io>
Co-committed-by: Gusted <gusted@noreply.gitea.io>
2021-11-16 13:47:33 +08:00
techknowlogick 7fe8076d27 Update 'Dockerfile' 2021-09-29 04:14:03 +08:00
techknowlogick 82d57b357a Update 'Dockerfile' 2021-09-29 04:08:50 +08:00
techknowlogick 946a559371 Update 'Dockerfile' 2021-09-29 04:05:18 +08:00
techknowlogick 1ff26f7746 Update 'Dockerfile' 2021-09-29 03:59:15 +08:00
techknowlogick 9806bca297 revert to 1.37.0 2021-09-29 01:20:33 +08:00
techknowlogick 558e35c77d Update 'Dockerfile' 2021-09-29 01:06:59 +08:00
techknowlogick dc92ace254 update golangci-lint 2021-09-29 01:05:15 +08:00
techknowlogick b632974033 Update 'Dockerfile' 2021-09-29 01:03:24 +08:00
techknowlogick 524f98af99 Update 'Dockerfile' 2021-09-29 01:02:58 +08:00
techknowlogick 35654ada42 add a non-root user to testing image 2021-09-29 00:58:25 +08:00
techknowlogick 5cbc2c5b39 update to go1.17 and git 2.33.0 (#8)
Signed-off-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/8
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2021-08-23 21:40:01 +08:00
6543 2e505962c7 Upgrade git to v2.30.2 (#6)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/6
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-03-12 10:04:23 +08:00
a1012112796 48fe3847bd fix a small nit (#5)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/5
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2021-03-08 19:45:56 +08:00
a1012112796 1a5dcac2d8 go1.16 (#4)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/4
Reviewed-by: Gary Kim <gary@garykim.dev>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2021-03-01 20:26:13 +08:00
a1012112796 51e9b9bd74 Add golangci-lint v1.37.0 (#3)
Reviewed-on: https://gitea.com/gitea/test-env/pulls/3
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2021-02-21 23:15:53 +08:00
a1012112796 fd0c83b566 init Dockerfile (#1)
Co-authored-by: 赵智超 <1012112796@qq.com>
Reviewed-on: https://gitea.com/gitea/test-env/pulls/1
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2021-02-18 09:56:04 +08:00