[GH-ISSUE #272] Docker build failure under Ubuntu 18.04 #257

Closed
opened 2026-02-27 15:55:51 +03:00 by kerem · 2 comments
Owner

Originally created by @mr-david on GitHub (Dec 8, 2019).
Original GitHub issue: https://github.com/RD17/ambar/issues/272

Attempting to build from scratch gives the following error:

$ docker build . -t ambar
Sending build context to Docker daemon 1.954MB
Step 1/8 : FROM nginx:latest
---> 231d40e811cd
Step 2/8 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl
---> Using cache
---> 27f94c85400d
Step 3/8 : ENV TZ=UTC
---> Using cache
---> cecbbaec99c2
Step 4/8 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
---> Using cache
---> f343be593a34
Step 5/8 : COPY default /etc/nginx/conf.d/default.conf
---> Using cache
---> 01fb4d6b1aee
Step 6/8 : COPY dist /usr/share/nginx/html
COPY failed: stat /var/lib/docker/tmp/docker-builder696796482/dist: no such file or directory
dcolon@plexy:~/source/ambar/FrontEnd$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

Originally created by @mr-david on GitHub (Dec 8, 2019). Original GitHub issue: https://github.com/RD17/ambar/issues/272 Attempting to build from scratch gives the following error: $ docker build . -t ambar Sending build context to Docker daemon 1.954MB Step 1/8 : FROM nginx:latest ---> 231d40e811cd Step 2/8 : RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl ---> Using cache ---> 27f94c85400d Step 3/8 : ENV TZ=UTC ---> Using cache ---> cecbbaec99c2 Step 4/8 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ---> Using cache ---> f343be593a34 Step 5/8 : COPY default /etc/nginx/conf.d/default.conf ---> Using cache ---> 01fb4d6b1aee Step 6/8 : COPY dist /usr/share/nginx/html COPY failed: stat /var/lib/docker/tmp/docker-builder696796482/dist: no such file or directory dcolon@plexy:~/source/ambar/FrontEnd$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic
kerem 2026-02-27 15:55:51 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@olislaeda commented on GitHub (Dec 10, 2019):

cd ~/source/ambar/FrontEnd/
npm install
npm run compile

PROFIT :-)

<!-- gh-comment-id:563972301 --> @olislaeda commented on GitHub (Dec 10, 2019): cd ~/source/ambar/FrontEnd/ npm install npm run compile PROFIT :-)
Author
Owner

@stale[bot] commented on GitHub (Dec 25, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:568884271 --> @stale[bot] commented on GitHub (Dec 25, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#257
No description provided.