Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14-alpine
FROM --platform=linux/amd64 golang:1.14-alpine
ENV SRC github.com/segmentio/ctlstore
ARG VERSION

Expand All @@ -16,7 +16,7 @@ RUN CGO_ENABLED=1 go install -ldflags="-X github.com/segmentio/ctlstore/pkg/vers

RUN apk del gcc git curl alpine-sdk libc6-compat

FROM 528451384384.dkr.ecr.us-west-2.amazonaws.com/segment-alpine
FROM --platform=linux/amd64 528451384384.dkr.ecr.us-west-2.amazonaws.com/segment-alpine
RUN apk --no-cache add sqlite

COPY --from=0 /bin/chamber /bin/chamber
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-load-generator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15
FROM golang:1.19
COPY . /go/src/github.com/segmentio/ctlstore/
RUN go install github.com/segmentio/ctlstore/pkg/cmd/ctlstore-mutator
ENTRYPOINT /go/bin/ctlstore-mutator
2 changes: 1 addition & 1 deletion Dockerfile-mysql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM mysql:5.6
FROM --platform=linux/amd64 mysql:5.6
COPY ctldb-example.sql /docker-entrypoint-initdb.d/
2 changes: 1 addition & 1 deletion docker-compose-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- -writer-secret
- heartbeat

# supervisor periodically snapshots ldb
# supervisor periodically snapshots ldb
supervisor:
restart: always
build:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '2.2'
services:
mysql:
image: mysql:5.6
platform: linux/amd64
restart:
always
ports:
Expand Down