chrislu
e29163dfa4
fix: remove invalid shell operators from Dockerfile COPY
...
- Remove '|| true' from COPY commands (not supported in Dockerfile)
- Remove optional weed_pub* and weed_sub* copies (not needed for tests)
- Simplify Dockerfile to only copy required files
- Keep chmod +x and ls -la verification for main binary
2025-11-22 13:46:32 -08:00
chrislu
459ff0bd38
fix: improve binary copy and chmod in Dockerfile
...
- Copy weed binary explicitly to /usr/bin/weed
- Run chmod +x immediately after COPY to ensure executable
- Add ls -la to verify binary exists and has correct permissions
- Make weed_pub* and weed_sub* copies optional with || true
- Simplify RUN commands for better layer caching
2025-11-22 13:40:46 -08:00
chrislu
45b45c4a8d
fix: ensure weed binary is executable in Docker image
...
- Add chmod +x for weed binaries in Dockerfile.local
- Artifact upload/download doesn't preserve executable permissions
- Ensures binaries are executable regardless of source file permissions
2025-11-22 13:36:46 -08:00
Chris Lu and gemini-code-assist[bot]
2a05af2e14
docker: fix /data ownership and permission ( #7451 )
...
* docker: fix /data ownership and permission
* chown if not owned by seaweed user
* fix github tests
* comments
* fix the unquoted variables in the case pattern matching
* Update docker/entrypoint.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update docker/entrypoint.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update entrypoint.sh
* Update entrypoint.sh
* Update docker/entrypoint.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-08 01:10:33 -08:00
Chris Lu
8a032bf57d
fix add user command ( #7406 )
...
* fix add user command
* add folder /etc/seaweedfs
2025-10-29 19:41:04 -07:00
Chris Lu
b8bef0328b
docker containers: add non-root user ( #7399 )
...
* add non-root user
* using -g more clearly expresses the intent of setting the primary group for the new user
* no cache
* read only
* specific perm
2025-10-28 14:58:10 -07:00
chrislu
30f8600a24
working
2024-05-03 21:27:06 -07:00
Chris Lu
c471265837
build with pub sub clients for testing
2024-02-05 16:47:11 -08:00
Patrick Schmidt
a73e177ecf
Add an End-to-End workflow for FUSE mount ( #3562 )
...
* Add an e2e workflow to test FUSE mount
* Fix deadlocks during concurrent r/w
2022-08-31 09:27:53 -07:00
Chris Lu
947fe4cc97
docker: entry point change working directory from root to /data
2021-11-12 17:21:49 -08:00
Chris Lu
9c56b46886
webdav: adds to docker file
2021-01-31 22:57:30 -08:00
nivekuil
efd4253ab6
Add fuse to all dockerfiles
2020-12-28 13:54:02 -08:00
nevermore1000
d4db0db220
some typos
2020-05-13 19:16:03 +08:00
Chris Lu
4dec5e0e4a
fix dockerhub build
2020-03-01 18:23:07 -08:00