Skip to content

Commit

Permalink
fix(docker): Double-quote REDIS_VERSION Docker ARG
Browse files Browse the repository at this point in the history
This is related to #18, in the
context of resolving double-quote escape issues.

There's no known report of this Dockerfile being an issue in the wild,
but given #18, I felt it would be
a good idea to nip it in the bud.
  • Loading branch information
shymega committed Jan 2, 2024
1 parent 1e49248 commit eec71e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG REDIS_VERSION=6.2.6
FROM redis:${REDIS_VERSION}-alpine
FROM redis:"${REDIS_VERSION}"-alpine

COPY start-redis-server.sh /usr/bin/start-redis-server.sh

Expand Down

0 comments on commit eec71e5

Please sign in to comment.