Skip to content

Commit 528cc51

Browse files
authored
Merge pull request #7 from c-jimenez/fix/dockerfile_fetch_tag
now fetch tags from git to fix unknown tag when git checkout
2 parents dfb54ae + 72736d7 commit 528cc51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install build-essential clang cmake python3 python
1616

1717
RUN git clone https://github.com/c-jimenez/open-ocpp.git
1818

19-
RUN cd open-ocpp && git checkout v1.0.0 && make gcc-native && make install-gcc-native
19+
RUN cd open-ocpp && git fetch --tags && git checkout v1.0.0 && make gcc-native && make install-gcc-native
2020

2121
RUN apt-get update && apt-get install pkg-config && apt-get -q autoremove && rm -rf "/var/lib/apt/lists/*"
2222

0 commit comments

Comments
 (0)