FROM ubuntu:18.04
LABEL maintainer "<[email protected]>"
COPY sources.list .
ENV DEBIAN_FRONTEND=noninteractive
RUN set -eux && \
rm /etc/apt/sources.list && \
mv sources.list /etc/apt/sources.list && \
apt-get update && \
apt-get install sqlcipher -y
It's easy to install sqlcipher in ubuntu, just run apt install sqlcipher。
Usage:
docker run -it wenfengand/sqlcipher:v3.15.2 /bin/bash
> root@63ba983d7bcc:/# sqlcipher --version
> 3.15.2 2016-11-28 19:13:37 bbd85d235f7037c6a033a9690534391ffeacecc8
有些 sqlite 用密钥加密的,DB browser for sqlite 软件只能以交互式的方法解密,如果需要用命令行式解密数据库,就需要编译 sqlcipher。
注意 sqlcipher 是有版本的,目前主要分为 3 和 4,必须指定版本才能解密。
Content type
Image
Digest
Size
68.5 MB
Last updated
almost 5 years ago
docker pull wenfengand/sqlcipher:v3.15.2