initial commit
This commit is contained in:
commit
63fb611ece
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
.git
|
||||
out/
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
out/
|
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
#FROM ubuntu:22.04
|
||||
FROM debian:buster
|
||||
#FROM ghcr.io/tiredofit/docker-debian:buster
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y build-essential autogen automake autoconf dh-make dh-autoreconf debhelper-compat git-buildpackage perl protobuf-compiler libprotobuf-dev pkg-config libutempter-dev zlib1g-dev libncurses5-dev libssl-dev bash-completion locales tmux less git
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
#RUN git clone --depth 1 https://github.com/b4tman/mosh mosh
|
||||
RUN git clone --depth 1 https://github.com/mobile-shell/mosh mosh
|
||||
|
||||
WORKDIR /src/mosh
|
||||
|
||||
RUN sed -i "s/--enable-completion/--enable-completion --enable-static-libgcc --enable-static-libstdc++ --enable-static-utempter --enable-static-zlib --enable-static-curses --enable-static-protobuf /g" debian/rules
|
||||
#RUN apt-get install -y libcrypto++-dev
|
||||
|
||||
RUN dpkg-buildpackage -b --no-sign
|
||||
|
||||
VOLUME /out
|
||||
|
||||
CMD cp ../*.deb /out
|
Loading…
Reference in New Issue
Block a user