Sign inSign up

bryankp/vapor4

By bryankp

•Updated almost 7 years ago

🐳 💧Simple Dev Environment for Serverside Swift using Vapor 4

Image
0

10K+

bryankp/vapor4 repository overview

⁠Vapor 4 Docker environment⁠

Docker Pulls

With Vapor 4 comes a whole host of improvements:

  • Overhaul of Fluent
  • Support for Apple's new Swift-Log API⁠ as the default logger
  • HTTP/2 support with SwiftNIO v2

Vapor 4 is still only in beta.
For the latest stable release see my Vapor 3 Docker image⁠

⁠Image details

  • Ubuntu 18.04 Bionic
  • Swift 5.1.2
  • Vapor 4 Beta

⁠Option 1. Build Docker Image

  • From within the directory of the Dockerfile execute the following command to build the image
docker build -t vapor4 .
  • To run with bash and a shared volume
docker run -v <host_path>:<container_path> -ti vapor4:latest bash

⁠Option 2. Pull image from Docker Hub

docker pull bryankp/vapor4:latest
  • To run with bash and a shared volume
docker run -v <host_path>:<container_path> -ti bryankp/vapor4:latest bash
⁠Further Details

Tag summary

Content type

Image

Digest

Size

583.6 MB

Last updated

almost 7 years ago

docker pull bryankp/vapor4