Coder Social home page Coder Social logo

Comments (1)

Frenzie avatar Frenzie commented on September 26, 2024

Data dump of my WIP slim-down of the PB container:

diff --git a/docker/ubuntu/kopb/Dockerfile b/docker/ubuntu/kopb/Dockerfile
index c6cdafd..a7d466d 100644
--- a/docker/ubuntu/kopb/Dockerfile
+++ b/docker/ubuntu/kopb/Dockerfile
@@ -1,8 +1,9 @@
-FROM frenzie/kobase-python:0.1.0
+FROM frenzie/kobase-python:0.1.1
 
 ENV DEBIAN_FRONTEND noninteractive
 
 USER ko
 WORKDIR /home/ko
-RUN git clone https://github.com/pocketbook-free/SDK_481 pocketbook-toolchain
+RUN git clone https://github.com/pocketbook-free/SDK_481 pocketbook-toolchain && \
+    cd pocketbook-toolchain && rm -rf .git
 RUN echo "export PATH=/home/ko/pocketbook-toolchain/bin:\$PATH" >>/home/ko/.bashrc
diff --git a/docker/ubuntu/kopb/Makefile b/docker/ubuntu/kopb/Makefile
index baae6ad..c9ee56e 100644
--- a/docker/ubuntu/kopb/Makefile
+++ b/docker/ubuntu/kopb/Makefile
@@ -1,4 +1,4 @@
-VERSION=0.1.0
+VERSION=0.1.1
 
 all: build

I wanted to experiment with slimming down a lot further by dropping some things from the actual TC like the 335 MB of locales, but on actual testing I noticed it started cloning… and then I checked the logs. Yeah. So I might have to put this on hold 'cause I was just in there for a quick touch-up.

from koreader-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.