Skip to content

Commit

Permalink
[ci][dcoker] Make Fedora version controlled by env variable
Browse files Browse the repository at this point in the history
Similarly to the Ubuntu container, this will help in building multiple Fedora version from the same docker file. It will be used to add support for Fedora 36.
  • Loading branch information
chantra committed Aug 16, 2022
1 parent 68f76e7 commit 468d4fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/build/Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) PLUMgrid, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")

FROM fedora:34
ARG VERSION="34"
FROM fedora:${VERSION}

ARG RUBY_INSTALL_VERSION="0.8.4"
ENV RUBY_INSTALL_VERSION=$RUBY_INSTALL_VERSION
Expand Down

0 comments on commit 468d4fc

Please sign in to comment.