mritd
abe90e4c88
chore(build): add go-task support ( #1608 )
...
* chore(build): add go-task support
add go-task support
Signed-off-by: kovacs <mritd@linux.com>
* chore(docker): build with go-task
build with go-task
Signed-off-by: kovacs <mritd@linux.com>
* chore(task): support cross compile
support cross compile
Signed-off-by: kovacs <mritd@linux.com>
* chore(task): remove GCC build
remove GCC build
Signed-off-by: kovacs <mritd@linux.com>
* docs(task): update README
update README
Signed-off-by: kovacs <mritd@linux.com>
---------
Signed-off-by: kovacs <mritd@linux.com>
2 years ago
vvisionnn
5f4f6bd91a
refactor: build docker image using build.sh ( #1562 )
2 years ago
Nya Candy
053e4352b4
fix: Dockerfile ( #1561 )
2 years ago
WeidiDeng
f89653cea7
feat(static): release static files into memory while startup ( #1471 )
...
* 初始化时解压zip文件读取内存中
* update go.mod
* 更新各种go版本
2 years ago
AHdark
c99b36f788
chore: better way to remove frontend map files ( #1380 )
...
* Feat: better way to remove frontend map files
* Feat: Docker use `GENERATE_SOURCEMAP` in the frontend build section to avoid generating map files.
2 years ago
HFO4
4a4375a796
fix: recursive `.map` file is not deleted in build script
3 years ago
HFO4
9ab643a71b
fix: zip assets folder path error
3 years ago
HFO4
ac78e9db02
add empty `assets.zip` for placeholder
3 years ago
Weidi Deng
7a3d44451b
precompress embedded frontend. import mholt/archiver.
3 years ago
vvisionnn
79913a5dfa
fix: Dockerfile build issue ( #1217 )
3 years ago
vvisionnn
b50756dbcb
feat: docker/docker-compose support ( #1203 )
...
* Feat: add official Dockerfile
* Feat: add dev docker build actions
* update github actions for docker
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* fix: add npm default registry
* fix: remove yarn.lock
* fix: update frontend checksum
* remove set registry
* update Dockerfile
* feat: basic docker-compose solution
* remove old Dockerfile
* fix typo
* fix: frontend version
* fix: remove unused comments
3 years ago
Ink33
84807be1ca
use go:embed for static resources ( #1107 )
...
* feat: use go:embed to embed static files
* ci: fix broken test
* docs: update readme.md
* chore: remove statik
* feat: simplify code
Co-authored-by: AaronLiu <abslant@126.com>
3 years ago
HFO4
050a68a359
Chore: update golang version to 1.17.x
3 years ago
milkice
45597adcd3
Integrate aria2c support & fix unintended behavior for docker image ( #1073 )
...
* Update Dockerfile
* Create docker-bootstrap.sh
In addition to spawn cloudreve, this script generates password for aria2 so that users can take advantage of aria2 more conveniently instead of configuring aria2 by themselves.
3 years ago
milkice
8c5445a26d
Fix problems in Dockerfile ( #1059 )
...
Fix js heap out of memory
Fix can't find cloudreve for cloudreve has been renamed to Cloudreve
3 years ago
Loyalsoldier
79b8784934
Comply with Golang semantic import versioning ( #630 )
...
* Code: compatible with semantic import versioning
* Tools & Docs: compatible with semantic import versioning
* Clean go.mod & go.sum
4 years ago
mritd
40414fe6ae
chore(dockerfile): update node image to lts-buster ( #557 )
...
* chore(dockerfile): update node image to lts-buster
update node image to lts-buster, because the alpine image cannot be obtained on arm/arm64,
it will support `docker buildx` build after the upgrade.
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): update golang build image
update golang build image
Signed-off-by: mritd <mritd@linux.com>
4 years ago
mritd
f478c38307
chore(docker): add dockerfile ( #549 )
...
* chore(docker): add dockerfile
add dockerfile
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): fix docker file
fix docker file
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): mv bin file to /cloudreve
mv bin file to /cloudreve
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): remove GOPROXY
remove GOPROXY
Signed-off-by: mritd <mritd@linux.com>
4 years ago