Lotoen
Hi, I’m on Linux Mint 22.3 - Cinnamon 64-bit, and I encountered an error when trying to build an elixir phoenix container
577.1 Reading package lists...
577.1 Building dependency tree...
577.1 Reading state information... 577.1 Package build-essential is not available, but is referred to by another package. 577.1 This may mean that the package is missing, has been obsoleted, or 577.1 is only available from another source 577.1 577.1 E: Package 'build-essential' has no installation candidate 577.1 E: Unable to locate package inotify-tools 577.1 E: Unable to locate package postgresql-client ------
Also my dockerfile up to that command is:
FROM elixir:1.18-otp-27
WORKDIR /app
ENV MIX_ENV=dev
RUN apt-get update && \
apt-get install --yes build-essential inotify-tools postgresql-client git && \
apt-get clean
I’ve already tried
-
restarting the docker container
-
resetting the docker cache
-
restarting vscode
-
deleting the
_buildanddepsfolder -
using the default mirrors, main mirrors, and trying switch up the mirrors in Software Sources
Any help would be appreciated !
Trending in Troubleshooting
Hello, I’ve found an interesting non-backwards-compatible change in Elixir 1.20.
For context: There exists a project called PolyHok, whi...
New
I’m using Postgrex in a Phoenix app to connect to Postgres. The database for my dev instance is in a local VM, with hostname jot.local. M...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 3- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
benwilson512
In general I would strongly recommend using the official hexpm images, rather than the
elixirimage managed by your distro.Here hexpm/elixir - Docker Image you can choose exactly which core distro you want, elixir version, and erlang version.
Lotoen
Thanks for providing docker images from hexpm, but is there any way I can get a image for a version of elixir past 1.18 ? I can’t seem to find one there.
dimitarvp
You can’t? I use those in my GHA CI and prod deployments. There are absolutely are 1.19 images.