Skip to content

Commit b2db2e6

Browse files
committed
Merge branch 'release-0.2.0' into stable
2 parents 3fe4102 + 3f90303 commit b2db2e6

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.2.0
4+
- Upgrade baseimage: light-baseimage:1.1.0 (debian stretch)
5+
36
## 0.1.4
47
- Upgrade baseimage: light-baseimage:0.2.6
58

Makefile

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
NAME = osixia/tinc
2-
VERSION = 0.1.4
2+
VERSION = 0.2.0
33

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
75

86
build:
97
docker build -t $(NAME):$(VERSION) --rm image
@@ -14,10 +12,17 @@ build-nocache:
1412
test:
1513
env NAME=$(NAME) VERSION=$(VERSION) bats test/test.bats
1614

17-
tag_latest:
15+
tag-latest:
1816
docker tag $(NAME):$(VERSION) $(NAME):latest
1917

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)

image/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Use osixia/light-baseimage
22
# sources: https://github.com/osixia/docker-light-baseimage
3-
FROM osixia/light-baseimage:0.2.6
3+
FROM osixia/light-baseimage:1.1.0
44
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>
55

66
# Tinc version
7-
ENV TINC_VERSION 1.1pre14
7+
ARG TINC_VERSION=1.1pre14
88

99
# Download, build and install Tinc
1010
RUN apt-get -y update \
1111
&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1212
ca-certificates \
1313
curl \
1414
gcc \
15-
libssl1.0.0 \
16-
libssl-dev \
15+
libssl1.0.2 \
16+
libssl1.0-dev \
1717
liblzo2-2 \
1818
liblzo2-dev \
1919
libncurses5 \
2020
libncurses5-dev \
21-
libreadline6 \
21+
libreadline7 \
2222
libreadline-dev \
2323
make \
2424
pkg-config \
@@ -33,7 +33,7 @@ RUN apt-get -y update \
3333
&& cd - \
3434
&& mkdir -p /usr/local/var/run/ \
3535
&& 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 \
3737
&& rm -f tinc.tar.gz \
3838
&& rm -rf /container/tinc-sources \
3939
&& apt-get clean \

0 commit comments

Comments
 (0)