Skip to content

Commit

Permalink
Update Dockerfile to use Arm64 compatible Swift base image (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlospt authored Jan 18, 2023
1 parent b1424bd commit 1a85cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ================================
# Build image
# ================================
FROM swift:5.5-bionic as build
FROM swift:5.6-focal as build
WORKDIR /build

# Install libraries needed
Expand All @@ -24,7 +24,7 @@ RUN swift build --enable-test-discovery --product XCMetricsBackend -c release
# ================================
# Run image
# ================================
FROM swift:5.5-bionic-slim
FROM swift:5.6-focal-slim

# Create a vapor user and group with /app as its home directory
RUN useradd --user-group --create-home --home-dir /app vapor
Expand Down

0 comments on commit 1a85cbe

Please sign in to comment.