Skip to content

Commit

Permalink
Add flag to install sqlfluff following python 3.11 PEP-0668
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonmeister committed Apr 19, 2024
1 parent 5af67d8 commit 07cea5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flyway/linux-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ARG FLYWAY_VERSION=10.7.1
RUN apt-get update && apt-get install -y openjdk-17-jre-headless

# Get SQL Fluff for Flyway Check Command
RUN pip3 install sqlfluff==1.2.1
# Added --break-system-packages as a result of https://peps.python.org/pep-0668/
# Setting a virtual env in a container isnt needed.
RUN pip3 install sqlfluff==1.2.1 --break-system-packages

# Install AWS CLI to support IAM role authentication
RUN apt-get update && apt-get install unzip \
Expand Down

0 comments on commit 07cea5a

Please sign in to comment.