Git Product home page Git Product logo

Comments (4)

bboughton avatar bboughton commented on May 3, 2024 1

Looks like curl isn't installed on the image.

$ docker run -it --entrypoint=/bin/sh gcr.io/oauth2l/oauth2l
/ # ls
bin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var
/ # which curl
/ # ls /bin/
arch           chgrp          dd             ed             fsync          ionice         linux32        makemime       mountpoint     pidof          pwd            sed            stty           umount
ash            chmod          df             egrep          getopt         iostat         linux64        mkdir          mpstat         ping           reformime      setpriv        su             uname
base64         chown          dmesg          false          grep           ipcalc         ln             mknod          mv             ping6          rev            setserial      sync           usleep
bbconfig       conspy         dnsdomainname  fatattr        gunzip         kbd_mode       login          mktemp         netstat        pipe_progress  rm             sh             tar            watch
busybox        cp             dumpkmap       fdflush        gzip           kill           ls             more           nice           printenv       rmdir          sleep          touch          zcat
cat            date           echo           fgrep          hostname       link           lzop           mount          oauth2l        ps             run-parts      stat           true
/ # ls /usr/bin/
[            bzcat        comm         dirname      factor       getent       install      lsusb        mkpasswd     od           pscan        scanelf      showkey      sum          tr           uniq         uptime       which
[[           bzip2        cpio         dos2unix     fallocate    groups       ipcrm        lzcat        nc           openvt       pstree       seq          shred        tac          traceroute   unix2dos     uudecode     whoami
awk          c_rehash     crontab      du           find         hd           ipcs         lzma         nl           passwd       pwdx         setkeycodes  shuf         tail         traceroute6  unlink       uuencode     whois
basename     cal          cryptpw      dumpleases   flock        head         killall      lzopcat      nmeter       paste        readlink     setsid       smemcap      tee          truncate     unlzma       vi           xargs
bc           chvt         cut          eject        fold         hexdump      ldd          md5sum       nohup        pgrep        realpath     sha1sum      sort         test         tty          unlzop       vlock        xxd
beep         cksum        dc           env          free         hostid       less         mesg         nproc        pkill        renice       sha256sum    split        time         ttysize      unshare      volname      xz
blkdiscard   clear        deallocvt    expand       fuser        iconv        logger       microcom     nsenter      pmap         reset        sha3sum      ssl_client   timeout      udhcpc6      unxz         wc           xzcat
bunzip2      cmp          diff         expr         getconf      id           lsof         mkfifo       nslookup     printf       resize       sha512sum    strings      top          unexpand     unzip        wget         yes

from oauth2l.

andyrzhao avatar andyrzhao commented on May 3, 2024 1

The docker file changes should be available immediately. (You can also install curl manually.)

from oauth2l.

rreddykeap avatar rreddykeap commented on May 3, 2024
apiVersion: batch/v1beta1
kind: CronJob
spec:
  schedule: "* * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - name: abcd
              image: gcr.io/oauth2l/oauth2l
              env:
                - name: GOOGLE_APPLICATION_CREDENTIALS
                  value: "/secrets/creds.json"
              args:
                - curl
                - --url
                - http://google.com
                - --scope
                - cloud-platform
                - --
                - -i

from oauth2l.

rreddykeap avatar rreddykeap commented on May 3, 2024

@andyrzhao when can we expect the changes to be available?

from oauth2l.

Related Issues (20)

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.