Comments (3)
我稍微改了一下 Dockerfile,现在能 build 出 deb 包了,不过我在宿主机上安装时候会提示依赖问题,感觉可能 build 的有点问题,能否帮忙看下
因为树莓派上 build 速度太慢,我后面都是在 amd64 机器上操作的,安装也是
libssl-dev
和libssl1.0.0
两个包加进去后有报错,所以先注释掉了,后来编译过程中也没报错,不知道是否需要加回来
Dockerfile
FROM debian:jessie
ENV SS_VER 3.0.8
RUN set -xe \
&& echo 'deb http://ftp.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/jessie-backports.list \
&& apt-get update \
&& apt-get -y -t jessie-backports install debhelper libmbedtls-dev libsodium-dev libmbedcrypto0 libsodium18 \
&& apt-get install -y --no-install-recommends \
apg \
gettext \
build-essential \
autoconf \
libtool \
libpcre3 \
libpcre3-dev \
#libssl1.0.0 \
#libssl-dev \
asciidoc \
xmlto \
gawk \
libev4 \
libev-dev \
libudns0 \
libudns-dev \
automake \
#dh-systemd \
#init-system-helpers \
zlib1g \
zlib1g-dev \
git-core \
ca-certificates \
pkg-config \
&& git clone https://github.com/shadowsocks/shadowsocks-libev.git \
&& cd shadowsocks-libev \
&& git submodule update --init --recursive \
&& ./autogen.sh \
&& dpkg-buildpackage -b -us -uc -i
宿主机上安装 deb 包时的报错信息:
sudo dpkg -i shadowsocks-libev_3.0.8-1_amd64.deb
(Reading database ... 82636 files and directories currently installed.)
Preparing to unpack shadowsocks-libev_3.0.8-1_amd64.deb ...
Unpacking shadowsocks-libev (3.0.8-1) over (3.0.8-1) ...
dpkg: dependency problems prevent configuration of shadowsocks-libev:
shadowsocks-libev depends on apg | pwgen; however:
Package apg is not installed.
Package pwgen is not installed.
shadowsocks-libev depends on libev4 (>= 1:4.04); however:
Package libev4 is not installed.
shadowsocks-libev depends on libmbedcrypto0 (>= 2.0); however:
Package libmbedcrypto0 is not installed.
shadowsocks-libev depends on libsodium18 (>= 1.0.8); however:
Package libsodium18 is not installed.
shadowsocks-libev depends on libudns0 (>= 0.4); however:
Package libudns0 is not installed.
dpkg: error processing package shadowsocks-libev (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
shadowsocks-libev
from docker-shadowsocks-libev.
Please try ppa:max-c-lv/shadowsocks-libev on Ubuntu x86
from docker-shadowsocks-libev.
according to some issues on official repos, seems it's quite difficult to compile latest ss-libev deb packages on debian jessie
and thank for your advice
from docker-shadowsocks-libev.
Related Issues (20)
- How to update my ss-libev? HOT 2
- shadowsocks-libev update to 3.1.0 HOT 4
- 编译的时候出现pcre问题 HOT 3
- how to enable UDP relay? HOT 1
- Connect to the server docker instance via sslocal command HOT 3
- Build failed on v3.1.2 and v3.1.3 HOT 5
- 请问哪里还能看到EasyPi的更新?
- Suggest: add example for SERVER_PORT in docker-compose.yml
- Found this great lib no option to set network.
- archive path has changed
- /bin/sh: ./autogen.sh: not found
- Doesn't it support http or https proxy ? HOT 2
- v3.0.0 not working. HOT 3
- Wanna to add workers and fast_open variable HOT 4
- Wrong link at "Deploy without docker" section HOT 1
- 能否把simple-obfs这个组件也编译进镜像里呢? HOT 7
- failed to start HOT 3
- Failed to build Dockerfile.debian HOT 2
- Can't change the server side port. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-shadowsocks-libev.