Giter Site home page Giter Site logo

rocket.chat.embedded.arm64's Introduction

Rocket.Chat.Embedded.arm64

An open source journey bringing the latest Rocket.Chat releases to the arm64 universe

Latest version is: 4.5.5 of Rocket.Chat

MongoDB has been updated to 4.3.6.23 for arm64 snaps

mongoDB support aarch64 BUT it does not support MMAPv1 storage engine on anything ourside of x86 architecture. This forces us to use WiredTiger engine for the arm64 snap.

rocket.chat.embedded.arm64's People

Contributors

sing-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocket.chat.embedded.arm64's Issues

Livechat Tranlation file

Hi all, on live chat most of the words are in English. even though my language setting is Korean.

When user access my website and click livechat to start. there is message 'Please, tell us some information to start the chat'
I want to change that but I don't know.

So I've tried bunch of things but none of working.

  1. General > Translation
    • Add json translation: Didn't work
    {
       "ko":{
        "please_tell_us_some_information_to_start_the_chat":"Please, tell us some information to start the chat!"
      }
    }
    
  2. Docker i18n change
    2.1) Find i18n files location
  • login runngin docker (docker exec -it {ContainerID} /bin/bash/
  • Search where is located i18n files
grep -r "please_tell_us_some_information_to_start_the_chat" * | cut -d ':' -f 1 | uniq
  • I found those files are in '/app/bundle/programs/web.browser/app/livechat/i18n.lt.chunk.c5d2f.js' format
    2.2) Change and restart
  • I changed that at the end put '!' mark.
"please_tell_us_some_information_to_start_the_chat":"Please, tell us some information to start the chat!"
  • restart docker also docker compose up again
 docker resatrt {containerid} 
 docker compose up -d 

### but still no luck. So Can anyone let me know how to change that?

MongoError: not master

Hello,

I used your dockerfile to build the latest rocket.chat and also started Mongo with your compose recommendations.

I also ran rs.initiate() so the db should be initialized.

But I'm getting the following error at the startup of rocket.chat:

/app/bundle/programs/server/node_modules/fibers/future.js:313
                                                throw(ex);
                                                ^

MongoError: not master and slaveOk=false
    at Connection.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/connection/pool.js:451:61)
    at Connection.emit (events.js:311:20)
    at processMessage (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/connection/connection.js:452:10)
    at Socket.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/connection/connection.js:621:15)
    at Socket.emit (events.js:311:20)
    at addChunk (_stream_readable.js:294:12)
    at readableAddChunk (_stream_readable.js:275:11)
    at Socket.Readable.push (_stream_readable.js:209:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:186:23) {
  operationTime: Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1605988825 },
  ok: 0,
  code: 13435,
  codeName: 'NotMasterNoSlaveOk',
  '$clusterTime': {
    clusterTime: Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1605988825 },
    signature: { hash: [Binary], keyId: 0 }
  },
  name: 'MongoError'
}

Any tips?

DEPRECATED: The legacy builder is deprecated and will be removed in a future release

Here https://github.com/RocketChat/Rocket.Chat.Embedded.arm64/tree/develop/docker/rocketchat

[asrez@asrez rocketchat]$ sudo docker build -t rocketchat:arm64-6.2.6 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon   5.12kB
Step 1/25 : FROM arm64v8/node:12.22.1-stretch as builder
12.22.1-stretch: Pulling from arm64v8/node
0789e4a342a1: Downloading  9.191MB
bfd2ed69368e: Downloading  527.6kB
c0c76e514669: Download complete
0aa19114dc4c: Download complete
16ac978c5b82: Waiting
681e567ebcf9: Waiting
5969d2ff62ae: Waiting
7f7ef0241b53: Waiting
206c47b6c623: Waiting

Will this image be updated to newer RocketChat releases?

Hi! I was curious and wanted to know if there was any plans to update this build to a newer release of RocketChat?

I've tried to edit the dockerfile myself a couple of times to see if I could get newer releases to work, but the build always fails because of fibers.js.

For instance, if I try to upgrade to release 4.6.4 I'll always get this error even if I change the version of the node builder to correspond to the release notes.

bundle/programs/server/npm/node_modules/immediate/dist/immediate.js
bundle/programs/server/npm/node_modules/immediate/dist/immediate.min.js
bundle/programs/server/npm/node_modules/immediate/README.md
bundle/star.json
bundle/server/
bundle/server/.bundle_version.txt
bundle/.node_version.txt
Removing intermediate container 1a0546281cf3
 ---> d2ce7d419bed
Step 14/25 : ADD . /app
 ---> a3efe6191bb0
Step 15/25 : RUN set -x  && cd /app/bundle/programs/server  && npm install  && rm -rf npm/node_modules/sharp  && npm install [email protected]  && mv node_modules/sharp npm/node_modules/sharp  && cd npm  && npm rebuild bcrypt --build-from-source  && npm cache clear --force
 ---> Running in 660d7276a123
+ cd /app/bundle/programs/server
+ npm install
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future

> [email protected] install /app/bundle/programs/server/node_modules/fibers
> node build.js || nodejs build.js

make: Entering directory '/app/bundle/programs/server/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
  CXX(target) Release/obj.target/fibers/src/coroutine.o
  CC(target) Release/obj.target/fibers/src/libcoro/coro.o
In file included from /usr/include/ucontext.h:26:0,
                 from ../src/libcoro/coro.h:323,
                 from ../src/libcoro/coro.c:41:
/usr/include/aarch64-linux-gnu/sys/ucontext.h:51:5: error: unknown type name 'stack_t'
     stack_t uc_stack;
     ^~~~~~~
../src/libcoro/coro.c: In function 'coro_create':
../src/libcoro/coro.c:383:19: error: request for member 'ss_sp' in something not a structure or union
   ctx->uc.uc_stack.ss_sp    = sptr;
                   ^
../src/libcoro/coro.c:384:19: error: request for member 'ss_size' in something not a structure or union
   ctx->uc.uc_stack.ss_size  = (size_t)ssize;
                   ^
../src/libcoro/coro.c:385:19: error: request for member 'ss_flags' in something not a structure or union
   ctx->uc.uc_stack.ss_flags = 0;
                   ^
make: *** [Release/obj.target/fibers/src/libcoro/coro.o] Error 1
fibers.target.mk:123: recipe for target 'Release/obj.target/fibers/src/libcoro/coro.o' failed
make: Leaving directory '/app/bundle/programs/server/node_modules/fibers/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
gyp ERR! System Linux 5.13.0-1030-oracle
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /app/bundle/programs/server/node_modules/fibers
gyp ERR! node -v v14.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'` 
Alpine users please run: `sudo apk add python make g++`
make: Entering directory '/app/bundle/programs/server/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
  CXX(target) Release/obj.target/fibers/src/coroutine.o
  CC(target) Release/obj.target/fibers/src/libcoro/coro.o
In file included from /usr/include/ucontext.h:26:0,
                 from ../src/libcoro/coro.h:323,
                 from ../src/libcoro/coro.c:41:
/usr/include/aarch64-linux-gnu/sys/ucontext.h:51:5: error: unknown type name 'stack_t'
     stack_t uc_stack;
     ^~~~~~~
../src/libcoro/coro.c: In function 'coro_create':
../src/libcoro/coro.c:383:19: error: request for member 'ss_sp' in something not a structure or union
   ctx->uc.uc_stack.ss_sp    = sptr;
                   ^
../src/libcoro/coro.c:384:19: error: request for member 'ss_size' in something not a structure or union
   ctx->uc.uc_stack.ss_size  = (size_t)ssize;
                   ^
../src/libcoro/coro.c:385:19: error: request for member 'ss_flags' in something not a structure or union
   ctx->uc.uc_stack.ss_flags = 0;
                   ^
make: *** [Release/obj.target/fibers/src/libcoro/coro.o] Error 1
fibers.target.mk:123: recipe for target 'Release/obj.target/fibers/src/libcoro/coro.o' failed
make: Leaving directory '/app/bundle/programs/server/node_modules/fibers/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
gyp ERR! System Linux 5.13.0-1030-oracle
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /app/bundle/programs/server/node_modules/fibers
gyp ERR! node -v v14.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'` 
Alpine users please run: `sudo apk add python make g++`
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node build.js || nodejs build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-06-29T16_25_02_739Z-debug.log
1 error occurred:
        * Status: The command '/bin/sh -c set -x  && cd /app/bundle/programs/server  && npm install  && rm -rf npm/node_modules/sharp  && npm install [email protected]  && mv node_modules/sharp npm/node_modules/sharp  && cd npm  && npm rebuild bcrypt --build-from-source  && npm cache clear --force' returned a non-zero code: 1, Code: 1

Mongo replica exits immediately

After running docker-compose up on an RPI4, the mongodb container starts together with rocketchat. The replica container immediately exits however.

docker logs:

connecting to: mongodb://mongo:27017/rocketchat?gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("6b2e789c-00ab-45d1-8cb5-82e0dfb6b866") }
MongoDB server version: 4.0.12
{
        "ok" : 1,
        "operationTime" : Timestamp(1600067167, 1),
        "$clusterTime" : {
                "clusterTime" : Timestamp(1600067167, 1),
                "signature" : {
                        "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
                        "keyId" : NumberLong(0)
                }
        }
}

Running everything default.

ARM64 support at official docker library

rocketchat doesn't have ARM64v8 as a supported architecture in Docker Hub. I have successfully built/tested Rocket.Chat.Embedded.arm64 on an ARM64 platform and it is running successfully.

Also, I have explored to add support for ARM64v8 in the docker hub at the official docker library as mentioned in https://github.com/docker-library/official-images/blob/master/library/rocket.chat#L1 it gets generated through generate-stackbrew-library.sh file present in https://github.com/RocketChat/Docker.Official.Image.

generate-stackbrew-library.sh file needs to be updated to add ARM64v8 arch at the official docker library.

Please share your opinion on this.

exec user process caused "exec format error

Hi, sorry to say I got this on the build phase, step 4/25

standard_init_linux.go:207: exec user process caused "exec format error"
The command '/bin/sh -c groupadd -r rocketchat && useradd -r -g rocketchat rocketchat && mkdir -p /app/uploads && chown rocketchat.rocketchat /app/uploads && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf' returned a non-zero code: 1

I'm on:

NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster

Docker without MongoDB replica

What is the MongoDB replica need for? Is it absolutely required? As far as I know, the normal Rocket Chat image doesn't need both a main and a replica container running at the same time.

Raspberry Pi 4 (Rocket.Chat RC 3.14.0) - TypeError: AsyncLocalStorage is not a constructor

I am getting an error when trying to start Rocket.Chat RC 3.14.0.
The Dockerfile got compiled on a Raspberry 4 with following OS:

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Used the Dockerfile and docker-compose provided in this repo.

When starting an image of the build rocketchat following error appeared:

docker logs rocket
/app/bundle/programs/server/node_modules/fibers/future.js:280
                                                throw(ex);
                                                ^

TypeError: AsyncLocalStorage is not a constructor
    at module (server/sdk/index.ts:35:34)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/app/bundle/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
    at ee/server/broker.ts:1:80
    at module (ee/server/broker.ts:361:2)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/app/bundle/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
    at module (server/main.js:1:8)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at require (packages/modules-runtime.js:258:21)
    at /app/bundle/programs/server/app/app.js:201916:15
    at /app/bundle/programs/server/boot.js:401:38
    at Array.forEach (<anonymous>)

Unable to run on Ubuntu 18.04 64 bit

I've got a clean install of Ubuntu 18.04 64-bit on a Raspberry Pi 4, cloned this repo, and run snapcraft stage then snapcraft snap. Running snapcraft stage runs fine, but when I run snapcraft snap, I get the following:

DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://snapcraft.io/docs/deprecation-notices/dn7 for more information.
Skipping pull mongodb (already ran)
Skipping pull caddy (already ran)
Skipping pull hooks (already ran)
Skipping pull node (already ran)
Skipping pull rocketchat-server (already ran)
Skipping pull scripts (already ran)
Skipping build mongodb (already ran)
Skipping build caddy (already ran)
Skipping build hooks (already ran)
Skipping build node (already ran)
Skipping build rocketchat-server (already ran)
Skipping build scripts (already ran)
Skipping stage mongodb (already ran)
Skipping stage caddy (already ran)
Skipping stage hooks (already ran)
Skipping stage node (already ran)
Skipping stage rocketchat-server (already ran)
Skipping stage scripts (already ran)
Priming mongodb
The linker version '2.23' used by the base 'core' is incompatible with files in this snap:
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (2.25)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libgnutls.so.30.14.10 (2.25)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2.2 (2.27)
    /home/ubuntu/Rocket.Chat.Embedded.arm64/snapdir/prime/usr/lib/aarch64-linux-gnu/libp11-kit.so.0.3.0 (2.26)

And then it quits. Am I doing something wrong?

stable tested arm64 snap works on 18.04lts and 16.04lts but crashes on 20.04lts

Rocket.Chat's latest arm64 snaps have been working fine on both 18.04lts and 16.04lts for years. When installed with 20.04lts, fails every time. Many users have reported this in the wild with Raspberry Pi's update to 20.04lts.

We have tested and found the same problem. We have even created new snaps with different version of MongoDB inside - from 3.x to 4.x - all crashes with the same problem.

To reproduce, on an arm64 20.04lts install:

sudo snap install rocketchat-server

The error message from the log in EVERY CASE is:

sudo journalctl  -u snap.rocketchat-server.rocketchat-mongo
-- Logs begin at Wed 2020-04-01 17:23:43 UTC, end at Sun 2020-05-10 23:30:18 UTC. --
May 10 22:15:56 ubuntu systemd[1]: Started Service for snap application rocketchat-server.rocketchat-mongo.
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]: 2020-05-10T22:16:00.429+0000 E -        [main] Assertion failure getrlimit(RLIMIT_NOFILE, &limit) == 0 src/mongo/transport/service_entry_point_i>
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]: 2020-05-10T22:16:00.527+0000 I CONTROL  [main]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  0xaaaac47db568 0xaaaac47d9e14 0xaaaac3238208 0xaaaac34ae908 0xaaaac34a2274 0xaaaac32a3ce0 0xaaaac4794d20 0xaaaac47952d4 0xaaaac32b40ac 0xaaaac3>
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]: ----- BEGIN BACKTRACE -----
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]: {"backtrace":[{"b":"AAAAC28BB000","o":"1F20568","s":"_ZN5mongo15printStackTraceERSo"},{"b":"AAAAC28BB000","o":"1F1EE14","s":"_ZN5mongo10logConte>
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo15printStackTraceERSo+0x48) [0xaaaac47db568]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo10logContextEPKc+0x104) [0xaaaac47d9e14]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x188) [0xaaaac3238208]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo21ServiceEntryPointImplC2EPNS_14ServiceContextE+0x390) [0xaaaac34ae908]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(+0xBE7274) [0xaaaac34a2274]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3_+0x30) [0xaaaac32a3ce0]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt>
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo21runGlobalInitializersEiPKPKcS3_+0x244) [0xaaaac47952d4]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(_ZN5mongo11mongoDbMainEiPPcS1_+0xAC) [0xaaaac32b40ac]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  mongod(main+0xC) [0xaaaac323a4e4]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]:  libc.so.6(__libc_start_main+0xE0) [0xffffbce8c8a0]
May 10 22:16:00 ubuntu rocketchat-server.rocketchat-mongo[5015]: -----  END BACKTRACE  -----

doesn't build now

└─> docker build -t rocketchat:arm64-6.2.6 . --no-cache
[+] Building 3.8s (10/20)                                                                                                                      docker:default
 => [internal] load build definition from dockerfile                                                                                                     0.0s
 => => transferring dockerfile: 2.35kB                                                                                                                   0.0s
 => [internal] load metadata for docker.io/arm64v8/node:12.22.1-stretch                                                                                  0.1s
 => [internal] load .dockerignore                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                          0.0s
 => CACHED [builder  1/12] FROM docker.io/arm64v8/node:12.22.1-stretch@sha256:57d21538dbf0b75aa7bec952ffde609cd311721ad02365669d099be93b2283fc           0.0s
 => [stage-1 2/5] RUN groupadd -r rocketchat &&  useradd -r -g rocketchat rocketchat &&  mkdir -p /app                                                   0.5s
 => [internal] load build context                                                                                                                        0.0s
 => => transferring context: 61B                                                                                                                         0.0s
 => [builder  2/12] RUN groupadd -r rocketchat &&  useradd -r -g rocketchat rocketchat &&  mkdir -p /app/uploads &&  chown rocketchat.rocketchat /app/u  0.5s
 => [builder  3/12] RUN gpg --batch --keyserver keyserver.ubuntu.com --recv-keys  0E163286C20D07B9787EBE9FD7F9D0414FD08104                               2.8s
 => [builder  4/12] WORKDIR /app                                                                                                                         0.0s
 => ERROR [builder  5/12] RUN apt-get update && apt-get -y install g++ build-essential                                                                   0.3s
------
 > [builder  5/12] RUN apt-get update && apt-get -y install g++ build-essential:
0.235 Ign:1 http://deb.debian.org/debian stretch InRelease
0.236 Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
0.237 Ign:3 http://deb.debian.org/debian stretch-updates InRelease
0.238 Ign:4 http://deb.debian.org/debian stretch Release
0.239 Ign:5 http://security.debian.org/debian-security stretch/updates Release
0.239 Ign:6 http://deb.debian.org/debian stretch-updates Release
0.241 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.242 Ign:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.243 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.243 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.244 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.245 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.246 Ign:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.246 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.248 Ign:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.249 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.249 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.250 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.251 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.252 Ign:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.253 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.254 Ign:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.256 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.257 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.258 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.258 Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.261 Ign:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.261 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.262 Ign:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.263 Err:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
0.263   404  Not Found
0.265 Ign:10 http://security.debian.org/debian-security stretch/updates/main all Packages
0.267 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.270 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.272 Ign:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.274 Ign:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.275 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.276 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.280 Ign:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.282 Err:8 http://deb.debian.org/debian stretch/main arm64 Packages
0.282   404  Not Found
0.284 Ign:9 http://deb.debian.org/debian stretch/main all Packages
0.286 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.288 Err:12 http://deb.debian.org/debian stretch-updates/main arm64 Packages
0.288   404  Not Found
0.292 Reading package lists...
0.304 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
0.304 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
0.304 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
0.304 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-arm64/Packages  404  Not Found
0.304 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages  404  Not Found
0.304 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages  404  Not Found
0.304 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
dockerfile:24
--------------------
  22 |     WORKDIR /app
  23 |
  24 | >>> RUN apt-get update && apt-get -y install g++ build-essential
  25 |     RUN apt-get update && apt-get -y upgrade
  26 |     RUN apt-get install -y curl ca-certificates imagemagick --no-install-recommends
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get -y install g++ build-essential" did not complete successfully: exit code: 100

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.