GithubHelp home page GithubHelp logo

japscan-proxy's People

Contributors

arnaudpiroelle avatar

Stargazers

 avatar

Watchers

 avatar

japscan-proxy's Issues

Multiple problème à l'install du dockerfile

Hello !
pour commencer, dans le dockerfile, cette ligne à changer:
docker build -t microsoft/playwright:bionic -f Dockerfile.bionic .

puisqu'il s'agit ici d'un simple "Dockerfile"

ensuite problème dans ton "npm install" :

$> docker build -t microsoft/playwright:bionic -f Dockerfile .
Sending build context to Docker daemon  176.6kB
Step 1/16 : FROM ubuntu:bionic
 ---> d27b9ffc5667
Step 2/16 : RUN apt-get update && apt-get install -y curl &&     curl -sL https://deb.nodesource.com/setup_14.x | bash - &&     apt-get install -y nodejs
 ---> Using cache
 ---> 788c618670b6
Step 3/16 : RUN apt-get update && apt-get install -y libwoff1                                          libopus0                                          libwebp6                                          libwebpdemux2                                          libenchant1c2a                                          libgudev-1.0-0                                          libsecret-1-0                                          libhyphen0                                          libgdk-pixbuf2.0-0                                          libegl1                                          libnotify4                                          libxslt1.1                                          libevent-2.1-6                                          libgles2                                          libvpx5
 ---> Using cache
 ---> 2ed11e8f36f7
Step 4/16 : RUN apt-get update && apt-get install -y gstreamer1.0-gl                                          gstreamer1.0-plugins-base                                          gstreamer1.0-plugins-good                                          gstreamer1.0-plugins-bad
 ---> Using cache
 ---> 4a0a3c87821e
Step 5/16 : RUN apt-get update && apt-get install -y libnss3                                          libxss1                                          libasound2                                          fonts-noto-color-emoji
 ---> Using cache
 ---> e51340752069
Step 6/16 : RUN apt-get update && apt-get install -y libdbus-glib-1-2                                          libxt6
 ---> Using cache
 ---> 1a99ac92707d
Step 7/16 : RUN apt-get update && apt-get install -y ffmpeg
 ---> Using cache
 ---> cd6f8e1796b5
Step 8/16 : RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser     && mkdir -p /home/pwuser/Downloads     && chown -R pwuser:pwuser /home/pwuser
 ---> Using cache
 ---> 58ef8467783f
Step 9/16 : RUN apt-get update && apt-get install -y xvfb
 ---> Using cache
 ---> 67a6d8b20f41
Step 10/16 : USER pwuser
 ---> Using cache
 ---> 1f35702fddb5
Step 11/16 : WORKDIR /usr/src/app
 ---> Using cache
 ---> 0084d4e7a7fd
Step 12/16 : COPY package*.json ./
 ---> Using cache
 ---> 3160e5429577
Step 13/16 : RUN npm install
 ---> Running in 728f66cd3bce
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN checkPermissions Missing write access to /usr/src/app
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/src/app
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/src/app'
npm ERR!  [Error: EACCES: permission denied, access '/usr/src/app'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/src/app'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pwuser/.npm/_logs/2020-07-20T19_28_23_614Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 243

et du coup je suis en "EXITED" avec docker... merci de fix cela !

et j'oubliais ensuite, la ligne de docker run semble elle aussi a problème, genre:

$> docker run -d -p --rm --name playwright microsoft/playwright:bionic
docker: invalid publish opts format (should be name=value but got '--rm').

ou même:

$> docker run -d -p --name=playwright microsoft/playwright:bionic 
docker: No port specified: :/tcp<empty>.

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.