Coder Social home page Coder Social logo

Comments (6)

Raxxor avatar Raxxor commented on August 15, 2024 1

it's better 👍

from docker-orange.

syhily avatar syhily commented on August 15, 2024

Sorry for my poor docker knowledge. I would reduce my dockerfile build commands ASAP.

from docker-orange.

syhily avatar syhily commented on August 15, 2024

@Raxxor

16.8 MB	RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c yum install...
1.2 MB	RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c cd /tmp ...
2.3 kB	RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c useradd www...
1.1 MB	RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c mkdir -p ${...
RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c nginx -V
685 bytes	ADD file:b827533aebd0a7411788632a82ffaf02b8b77b208af07f4503edbda2529...
RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c chmod 755 d...
751 bytes	COPY file:b827533aebd0a7411788632a82ffaf02b8b77b208af07f4503edbda252...
EXPOSE 7777/tcp 8888/tcp 9999/tcp
32 bytes	ENTRYPOINT ["docker-entrypoint.sh"]

The layers created by orange dockerfile is so small, The main question for this issue should be the drop of openresty images.

from docker-orange.

syhily avatar syhily commented on August 15, 2024

Fixed in 76c4512

from docker-orange.

syhily avatar syhily commented on August 15, 2024
67.2 MB	ADD file:807143da05d70138e54c4a25c6c3ea64ad1096982333ef3b94a366580be40f52 in /
LABEL name=CentOS Base Image vendor=CentOS license=GPLv2 build-date=20170406
CMD ["/bin/bash"]
MAINTAINER Syhily, syhily@[hidden]
ENV ORANGE_PATH=/usr/local/orange
ARG LOR_VERSION=0.3.0
ARG ORANGE_VERSION=0.6.3
693 bytes	ADD file:b827533aebd0a7411788632a82ffaf02b8b77b208af07f4503edbda25295ac10 in docker-entrypoint.sh
32.4 MB	RUN |2 LOR_VERSION=0.3.0 ORANGE_VERSION=0.6.3 /bin/sh -c chmod 755 d...
EXPOSE 7777/tcp 8888/tcp 9999/tcp
32 bytes	ENTRYPOINT ["docker-entrypoint.sh"]

The new layer analysis report. Tks for your issue. This method reduced the image size a bit.

from docker-orange.

noname007 avatar noname007 commented on August 15, 2024

good work

from docker-orange.

Related Issues (11)

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.