浏览代码

feat: add lz4 and zstd for better compression (#125)

* feat: add lz4 and zstd for better compression

* docs: update README.MD
Catfish 6 月之前
父节点
当前提交
8791ab839a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Dockerfile
  2. 1 1
      README.md

+ 1 - 1
Dockerfile

@@ -28,7 +28,7 @@ LABEL name=backup-x
 LABEL url=https://github.com/jeessy2/backup-x
 
 RUN apt-get -y update \
-    && apt-get install -y wget curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates rsync
+    && apt-get install -y wget curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates rsync lz4 zstd
 
 # https://www.postgresql.org/download/linux/debian/
 RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \

+ 1 - 1
README.md

@@ -23,7 +23,7 @@
     jeessy/backup-x
   ```
 - 登录 http://your_docker_ip:9977 并配置
-- docker容器默认安装default-mysql-client/postgres-client/[s3sync](https://github.com/jeessy2/s3sync)/rclone/wget/curl/minio mc/rsync
+- docker容器默认安装default-mysql-client/postgres-client/[s3sync](https://github.com/jeessy2/s3sync)/rclone/wget/curl/minio mc/rsync/lz4/zstd
 
 ## 系统中使用
 - 下载并解压[https://github.com/jeessy2/backup-x/releases](https://github.com/jeessy2/backup-x/releases)