File tree 3 files changed +23
-15
lines changed 3 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.2.0
4
+ - Upgrade baseimage: light-baseimage:1.1.0 (debian stretch)
5
+
3
6
## 0.1.4
4
7
- Upgrade baseimage: light-baseimage:0.2.6
5
8
Original file line number Diff line number Diff line change 1
1
NAME = osixia/tinc
2
- VERSION = 0.1.4
2
+ VERSION = 0.2.0
3
3
4
- .PHONY : all build build-nocache test tag_latest release
5
-
6
- all : build
4
+ .PHONY : build build-nocache test tag-latest push push-latest release git-tag-version
7
5
8
6
build :
9
7
docker build -t $(NAME ) :$(VERSION ) --rm image
@@ -14,10 +12,17 @@ build-nocache:
14
12
test :
15
13
env NAME=$(NAME ) VERSION=$(VERSION ) bats test/test.bats
16
14
17
- tag_latest :
15
+ tag-latest :
18
16
docker tag $(NAME ) :$(VERSION ) $(NAME ) :latest
19
17
20
- release : build test tag_latest
21
- @if ! docker images $(NAME ) | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
22
- docker push $(NAME )
23
- @echo " *** Don't forget to run 'twgit release/hotfix finish' :)"
18
+ push :
19
+ docker push $(NAME ) :$(VERSION )
20
+
21
+ push-latest :
22
+ docker push $(NAME ) :latest
23
+
24
+ release : build test tag-latest push push-latest
25
+
26
+ git-tag-version : release
27
+ git tag -a v$(VERSION ) -m " v$( VERSION) "
28
+ git push origin v$(VERSION )
Original file line number Diff line number Diff line change 1
1
# Use osixia/light-baseimage
2
2
# sources: https://github.com/osixia/docker-light-baseimage
3
- FROM osixia/light-baseimage:0.2.6
3
+ FROM osixia/light-baseimage:1.1.0
4
4
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>
5
5
6
6
# Tinc version
7
- ENV TINC_VERSION 1.1pre14
7
+ ARG TINC_VERSION= 1.1pre14
8
8
9
9
# Download, build and install Tinc
10
10
RUN apt-get -y update \
11
11
&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
12
12
ca-certificates \
13
13
curl \
14
14
gcc \
15
- libssl1.0.0 \
16
- libssl -dev \
15
+ libssl1.0.2 \
16
+ libssl1.0 -dev \
17
17
liblzo2-2 \
18
18
liblzo2-dev \
19
19
libncurses5 \
20
20
libncurses5-dev \
21
- libreadline6 \
21
+ libreadline7 \
22
22
libreadline-dev \
23
23
make \
24
24
pkg-config \
@@ -33,7 +33,7 @@ RUN apt-get -y update \
33
33
&& cd - \
34
34
&& mkdir -p /usr/local/var/run/ \
35
35
&& apt-get remove -y --purge --auto-remove ca-certificates curl gcc \
36
- libssl -dev liblzo2-dev libncurses5-dev libreadline-dev make pkg-config zlib1g-dev \
36
+ libssl1.0 -dev liblzo2-dev libncurses5-dev libreadline-dev make pkg-config zlib1g-dev \
37
37
&& rm -f tinc.tar.gz \
38
38
&& rm -rf /container/tinc-sources \
39
39
&& apt-get clean \
You can’t perform that action at this time.
0 commit comments