Giter Club home page Giter Club logo

docker's People

Contributors

afolarin avatar busches avatar diegopintog avatar dmastag avatar michaelbitard avatar petruisfan 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

docker's Issues

Gradle is missing error

Hi,

I am running my script like this

image: agileek/ionic-framework

variables:
  IONIC_VERSION: "3.9.2"

cache:
  paths:
  - node_modules/
  - platforms/
  - plugins/

before_script:
  - npm install -g ionic@${IONIC_VERSION}

compile_android:
  stage: build
  script:
    - npm install
    - ionic cordova build android --prod

But am getting the following error:

> cordova build android
✖ Running command - failed!
[ERROR] An error occurred while running cordova build android (exit code 1):

        
        ANDROID_HOME=/opt/android-sdk-linux
        JAVA_HOME=/usr/lib/jvm/java-8-oracle
        Error: Could not find an installed version of Gradle either in Android Studio,
        or on your system to install the gradle wrapper. Please include gradle 
        in your path, or install Android Studio
        
ERROR: Job failed: exit code 1

Error: Requirements check failed for JDK 1.8 or greater

Hi

I ran into this error message using the agileek/ionic-framework image.

java -version<1s
�+ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
ionic info1s
�+ ionic info
Your system information:
Cordova CLI: 6.5.0 
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.11
Node Version: v6.10.0
Xcode version: Not installed

Can you please upgrade the Java in the image?

Thanks, Sebi

Run android livereload

Hi,

is it possible enable livelreload ?

ionic run android -l

No external network interfaces detected. In order to use the dev server externally you will need one.

    Are you connected to a local network?

ionic build does not work

Hello, i managed running your ionic image (v. 1.4.5) under windows (docker toolbox) with:
docker run -ti -p 8100:8100 -p 35729:35729 -v //c/Users/<path to existing app>/:/myApp:rw -v //c/Users/<path to .gradle>:/root/.gradle agileek/ionic-framework bash

ionic -version and ionic prepare seems to be working but ionic build or cordova build does not. The shell writes out
Running command: /myApp/platforms/android/cordova/build
and thats it. No more action after that. Can somebody advise me how to solve this?

Building an android project hangs

Hi, I'm trying to use this image to build an ionic android project, but it seems like ionic build just hangs indefinitely. After some digging, I've found that the problem lies in cordova/bulid, specifically when it tries to call android list targets --compact I know this might be a cordova or even an android issue, however, the same project builds correctly out of docker. I also find the same issue with the default ionic project.

to reproduce:

docker run -ti -p 8100:8100 --net host -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle agileek/ionic-framework bash
ionic platform android
ionic build

I'm running ubuntu if it makes a difference

Error when running `ionic platform build android`

ionic platform build android

Updated the hooks directory to have execute permissions
running cordova platform add build android
Platform "build" not recognized as a core cordova platform. See cordova platform list.

ionic cli last version

Hi, in order to use your docker image, i need an updated one. With the last cli (to build ionic 5 project.)

The path /dev/bus/usb is not shared from OS X and is not known to Docker

Hello !
I am very new to docker, so I am not sure of what might be wrong, but I cannot set the automation of the ionic command.

Here is the command I try to get working :
alias ionic="docker run -ti --rm -p 8100:8100 -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle -v /Users/me/my-app-name:/app-name-on-docker:rw agileek/ionic-framework:latest ionic"

There is no error executing this, but when I run "ionic run android" here is the error I get :

docker: Error response from daemon: Mounts denied: 
The path /dev/bus/usb is not shared from OS X and is not known to Docker.

The directory /dev/bus/usb is indeed not existing on my MAC, so I think this is why I don't succeed to get my app running on my physical device.

Can you indicate what should I do to solve this problem ? :)

agileek/ionic-framework:latest docker image missing version tag

First of all, thanks for the great work with this image. Really helps to build APKs out of Ionic projects.

I noticed that the current agileek/ionic-framework:latest is missing a proper version tag (3.19.1) on Docker Hub (see here) - As we use it in our builds, this would be great because we could fix the version and be sure it won't suddenly change. Could you probably push this tag?

Container exits when used with docker-compose

Problem: The container comes up and then immediately exits.

See output and docker-compose.yml below

docker-compose up

Creating docker_client_1
Attaching to docker_client_1
client_1 | Running live reload server: undefined
client_1 | Watching: 0=www//*, 1=!www/lib//*
client_1 | Running dev server: http://0.0.0.0:8100
client_1 | Ionic server commands, enter:
client_1 | restart or r to restart the client app from the root
client_1 | goto or g and a url to have the app navigate to the given url
client_1 | consolelogs or c to enable/disable console log output
client_1 | serverlogs or s to enable/disable server log output
client_1 | quit or q to shutdown the server and exit
client_1 |
client_1 | ionic $ docker_client_1 exited with code 0

docker-compose.yml

version: '2'
services:

client:
image: agileek/ionic-framework
volumes:
- ~/work/angular/firebase-social-login:/myApp:rw
ports:
- 8100:8100
- 35729:35729
command: ionic serve --all

[ionic] HTTPS?

Hi!
Is there a way to enable SSL certificates for the ionic image?

Already have Let's Encrypt certs

No device in container

Hello,

I tried running the command:

docker run -ti --privileged -v /dev/bus/usb:/dev/bus/usb agileek/ionic-framework adb devices

But no device was listed. When running adb devices locally, I see my android phone listed.
Any idea what the problem could be?

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.