Skip to content

Commit

Permalink
fix: update casing (#65)
Browse files Browse the repository at this point in the history
### Description

Update the casing in the Dockerfile to resolve warnings

### Checklist
- [ ] Created tests which fail without the change (if possible)
- [ ] Extended the README / documentation, if necessary
  • Loading branch information
obs-gh-alexlew authored Jul 29, 2024
1 parent f64e227 commit 55df297
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# For FIPS binary, there are some debian runtime dependencies
FROM debian:12.5 as agent
FROM debian:12.5 AS agent
COPY observe-agent /
# This shouldn't be necessary but sometimes we end up with execution bit not set.
# ref: https://github.com/open-telemetry/opentelemetry-collector/issues/1317
Expand All @@ -12,13 +12,13 @@ RUN tar czhf observe-agent.tar.gz /observe-agent $(ldd /observe-agent | grep -oP
# however, we can copy full directory as root (/) to be base file structure for scratch image
RUN mkdir /output && tar xf /observe-agent.tar.gz --directory /output

FROM alpine:3.20.2 as directories
FROM alpine:3.20.2 AS directories
RUN mkdir -p /var/lib/observe-agent/filestorage

FROM alpine:3.20.2 as certs
FROM alpine:3.20.2 AS certs
RUN apk --update add ca-certificates

FROM debian:12.5 as systemd
FROM debian:12.5 AS systemd
RUN apt update && apt install -y systemd
# prepare package with journald and it's dependencies keeping original paths
# h stands for dereference of symbolic links
Expand Down

0 comments on commit 55df297

Please sign in to comment.