Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker ubuntu:latest error #20393

Closed
djkloop opened this issue Jan 3, 2020 · 3 comments
Closed

docker ubuntu:latest error #20393

djkloop opened this issue Jan 3, 2020 · 3 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@djkloop
Copy link

djkloop commented Jan 3, 2020

Description

 It feels like a sharp problem.

Steps to reproduce

# docker file 
FROM ubuntu:latest as builder

RUN apt-get update \
    && apt-get install -y python2.7 \
    && apt-get install -y python3.7 \
    && apt-get install -y python3-pip \
    && apt-get install -y libvips libvips-dev libvips-tools \
    && apt-get install -y glib2.0-dev \
    && apt-get install -y python-pip python-dev \
    && apt-get install -y curl

RUN rm /bin/sh && \
	ln -s /bin/bash /bin/sh

RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
    && apt-get install -y nodejs \
    && rm -rf /var/lib/apt/lists/*

RUN npm --version
RUN node -v

RUN npm i -g yarn

RUN npm i -g gatsby-cli
# Pull git project operation
...

RUN cd /tmp && yarn

// error

Expected result

  Be able to install successfully

Actual result

image

Environment

gatsby-cli@latest
@DanielRuf
Copy link
Contributor

Not a problem on the side of gatsby. Please report this at https://github.com/lovell/sharp-libvips/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

@DanielRuf
Copy link
Contributor

You might want to delete the mentioned incomplete tarball file.

@sidharthachatterjee sidharthachatterjee added the type: question or discussion Issue discussing or asking a question about Gatsby label Jan 10, 2020
@sidharthachatterjee
Copy link
Contributor

Thanks @DanielRuf 🤗

Closing this since it is upstream and the comment at lovell/sharp-libvips#35 resolves it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants