Imagemagick buildpack for Heroku-18 stack - heroku

I am upgrading my Heroku tech stack to Heroku-18 from heroku-16. I am getting error while deploying beacause of un supported Imagemagic build pack for Heroku-18. Is there any option to use another Imagemagic version that supports in Heroku-18 stack.thanks in advance.

Apparently Heroku 18 already comes with Imagemagick, so you no longer need the separate buildpack.

Related

Docker image for ruby 2.6.1

It seems like the latest 2.6.1 version is not yet available at Docker Hub
I defined it as follows in Dockerfile and it fails to pull it:
FROM ruby:2.6.1
The official repo for Docker ruby image was updated just 2 days ago to 2.6.1.
Any ideas ? Thank you.
You can get old ruby image form PPC64le.
https://hub.docker.com/r/ppc64le/ruby/tags?page=1
PPC64 explain that in this article.
https://en.wikipedia.org/wiki/Ppc64

How to install old version (1.8.3) of docker on OS-X?

There is a nasty bug in Docker 1.9.x that is causing java
processes to hang and frankly hang up the entire container
instance, spinning 100% CPU.
I currently have docker 1.9.1 installed because that is all that
the docker install tool will install. There is no opportunity during
the install process to select any other version.
This is completely preventing me from building a cordova
build container. In my internet research I have found many
others who are encountering the same problem.
I've done some research and seen that others are reporting this
problem does not occur with Docker 1.8.3.
I've searched in vain for some hints on how to install older versions
of docker on OS-X. I tried replacing the boot2docker.iso in ~/.docker/machine/machines/default with the 1.8.3 version downloaded
from here: https://github.com/boot2docker/boot2docker/releases/tag/v1.8.3 but that fails miserably. I am guessing that there are other things about my default machine (which had been created with 1.9.1) that are incompatible with it.
If anybody has hints as to how I could create a new machine or modify
the existing machine to work with 1.8.3 I would very much appreciate
it.
Alternatively, let me know if there is some other installation method that would allow me to specify which version of docker to install.
I figured out that what I needed to do is to find an older version of DockerToolbox and that would install the version of docker that I wanted.
I went to the github repository for DockerToolbox:
https://github.com/docker/toolbox/releases?after=v1.9.
and there I found a link to the 1.8.3 binary:
https://github.com/docker/toolbox/releases/download/v1.8.3/DockerToolbox-1.8.3.pkg
I still had to uninstall my previous installation of docker so I followed the uninstall instructions on this page:
https://medium.com/#itseranga/install-old-version-of-docker-osx-c92ebd5f15f7#.5qh1z0ino
Once I had uninstalled and reinstalled via the legacy DockerToolbox, I managed to build the cordova container:
https://github.com/oren/docker-cordova
without incident.
I've been using the following:
https://get.docker.com/builds/$(uname -s)/$(uname -m)/docker-.tgz
See https://github.com/docker/for-mac/issues/1120.
If you happen to know the build number (e.g. 14937) -- not the git commit you see when running docker --version or docker version -- you can form the URL:
https://download.docker.com/mac/{{ beta | stable}}/{{ version }}.{{ build number }}/Docker.dmg
# example:
https://download.docker.com/mac/stable/1.12.6.14937/Docker.dmg

how to install libreoffice on heroku

I am trying this http://documentcloud.github.io/docsplit/ on heroku which require libreoffice to be installed on heroku to cut docs in to pdfs.
Is there any build pack available for this or how to create a build pack for this
I was looking for an answer to this also, so I ended up building my own LibreOffice buildpack: https://github.com/rishihahs/heroku-buildpack-libreoffice

Heroku supported SBT version

Heroku documentation states SBT v0.12.3 is supported. I set my project/build.properties to sbt.version=0.12.3 and push, but Heroku responds with "Error, SBT version 0.12.3 not supported".
Which versions are supported?
Through trial and error, it seems that v0.12.2 is the highest supported version at this time, despite what the documentation says.

Upgrading ImageMagick on Heroku

Is this possible? If so how I do upgrade from Version XXX to Version XXXX?
I can't seem to find any docs on it.
Thanks!
No.
Heroku maintain imagemagick as part of the service so you'd have to convince them to upgrade it across the platform.
The way to upgrade ImageMagick on heroku now is by using a 'buildpack'.
If you search through the buildpacks on heroku: https://elements.heroku.com/search/buildpacks?utf8=%E2%9C%93&q=imagemagick you can see there are quite a few dedicated to updating ImageMagick.
You can install a custom buildpack by using the following command line call:
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-erlang
Buildpack set. Next release on random-app-1234 will use https://github.com/heroku/heroku-buildpack-erlang.
Run `git push heroku master` to create a new release using this buildpack.
More information about buildpacks can be found here: https://devcenter.heroku.com/articles/buildpacks

Resources