浏览代码

docker alpine: fix example

execute 20191112.sql too
Nicola Murino 5 年之前
父节点
当前提交
f8fd5c0
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      README.md
  2. 1 0
      docker/sftpgo/alpine/README.md

+ 2 - 0
README.md

@@ -312,6 +312,8 @@ netsh advfirewall firewall add rule name="SFTPGo Service" dir=in action=allow pr
 
 or through the Windows Firewall GUI.
 
+## Portable mode
+
 SFTPGo allows to share a single directory on demand using the `portable` subcommand:
 
 ```

+ 1 - 0
docker/sftpgo/alpine/README.md

@@ -10,6 +10,7 @@ sudo groupadd -g 1003 sftpgrp && \
   sudo useradd -u 1003 -g 1003 sftpuser -d /home/sftpuser/ && \
   sudo -u sftpuser mkdir /home/sftpuser/{conf,data} && \
   curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sql/sqlite/20190828.sql | sqlite3 /home/sftpuser/conf/sftpgo.db && \
+  curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sql/sqlite/20191112.sql | sqlite3 /home/sftpuser/conf/sftpgo.db && \
   curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sftpgo.json -o /home/sftpuser/conf/sftpgo.json
 
 # Get and build SFTPGo image