Skip to content

Commit 6ce6dfd

Browse files
author
swo0k
committed
Update instructions for tmpfs
1 parent 2e6754e commit 6ce6dfd

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ RUN set -x \
2020
&& mv r53Server /usr/bin/r53Server \
2121
&& apk del .build-deps \
2222
&& rm -rf /go \
23-
&& mkdir /empty \
2423
&& echo "Build complete."
2524

2625
FROM scratch
2726

2827
COPY --from=builder /usr/bin/r53Server /usr/bin/r53Server
2928
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
30-
COPY --from=builder /empty /tmp
3129

3230
COPY static static
3331
COPY templates templates

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ bump-version: ## Bump the version in the version file. Set BUMP to [ patch | maj
129129
@echo "Bumping VERSION from $(VERSION) to $(NEW_VERSION)"
130130
echo $(NEW_VERSION) > _VERSION
131131
@echo "Updating links to download binaries in README.md"
132-
sed -i s/$(VERSION)/$(NEW_VERSION)/g README.md
132+
sed -i "" -e s/$(VERSION)/$(NEW_VERSION)/g README.md
133133
git add _VERSION README.md
134134
git commit -vsam "Bump version to $(NEW_VERSION)"
135135
@echo "Run make tag to create and push the tag for new version $(NEW_VERSION)"

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ based on [jessfraz/s3server](https://github.com/jessfraz/s3server)
1111

1212
```bash
1313
Server to index & view recods in r53 zones.
14-
Version: v0.1.0
14+
Version: v0.1.1
1515
Build: 9089a07
1616
-aws-access-key-id string
1717
AWS access key
@@ -35,7 +35,8 @@ docker run -d \
3535
-p 8080:8080 \
3636
-e AWS_ACCESS_KEY_ID \
3737
-e AWS_SECRET_ACCESS_KEY \
38-
quay.io/swo0k/r53server:v0.1.0 \
38+
--tmpfs /tmp \
39+
quay.io/swo0k/r53server:v0.1.1 \
3940
-zone Z2UE.......... \
4041
-zone Z1W...........
4142
```

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.0
1+
v0.1.1

0 commit comments

Comments
 (0)