Skip to content

Commit

Permalink
Update elixir to 1.14.1 (Oct 10, 2022) and phoenix framework to 1.6.1…
Browse files Browse the repository at this point in the history
…4 (Oct 10, 2022)
  • Loading branch information
nicbet committed Dec 5, 2022
1 parent 7221e2b commit 7e5fb9b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nicbet/phoenix:1.6.13
FROM nicbet/phoenix:1.6.14

RUN apt-get install -y ruby \
&& gem install --no-document htmlbeautifier -v 1.3.1 \
Expand Down
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM elixir:1.14.0
FROM elixir:1.14.1

# Build Args
ARG PHOENIX_VERSION=1.6.13
ARG PHOENIX_VERSION=1.6.14
ARG NODEJS_VERSION=18.x

# Apt
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y apt-utils
RUN apt-get install -y build-essential
RUN apt-get install -y inotify-tools
RUN apt-get update && apt-get upgrade -y && apt-get install -y apt-utils build-essential inotify-tools

# Nodejs
RUN curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION} | bash
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OWNER = nicbet
IMAGE = phoenix
TAG = $(OWNER)/$(IMAGE)
VERSION = 1.6.13
VERSION = 1.6.14

all: test

Expand All @@ -11,7 +11,7 @@ all: test
# Build the docker image
docker-image: Dockerfile
$(info Building image with tag $(TAG):$(VERSION))
@docker build -t $(TAG):$(VERSION) --no-cache .
@docker build --no-cache -t $(TAG):$(VERSION) .

# Fetch the image from docker.io (requires `docker login` for private repositories)
pull:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Maybe you are working on multiple different projects, built with different versi

To initialize a new development environment, clone this repository. You can specify a version tag to target a particular Phoenix framework version. We automatically pin the Elixir version of each release to the version of Elixir that was available at the time of the specific Phoenix framework release.

For instance, to set up a dockerized development environment for a project called `hello-phoenix` using Phoenix framework version `1.6.13` you would run:
For instance, to set up a dockerized development environment for a project called `hello-phoenix` using Phoenix framework version `1.6.14` you would run:

```sh
# Clone this repository into a new project folder
git clone -b 1.6.13 https://github.com/nicbet/docker-phoenix ~/Projects/hello-phoenix
git clone -b 1.6.14 https://github.com/nicbet/docker-phoenix ~/Projects/hello-phoenix

# Go to the new project folder
cd ~/Projects/hello-phoenix
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2"
services:
app:
image: nicbet/phoenix:1.6.13
image: nicbet/phoenix:1.6.14
build: .
ports:
- "4000:4000"
Expand Down

0 comments on commit 7e5fb9b

Please sign in to comment.