Skip to content

Commit

Permalink
Fix apt-get. Remove todo from packages.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Jan 11, 2022
1 parent 3943bee commit d838179
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -669,13 +669,11 @@ shared:
from: 'arm64v8/ubuntu:20.04'
buildFrom: 'arm64v8/ubuntu:20.04'

# TODO: Did I must change those to ?
- &docker_ubi_spec
extra_vars:
image_name: '{{.BeatName}}-ubi8'
from: 'docker.elastic.co/ubi8/ubi-minimal'

# TODO: Did I must change those to ?
- &docker_arm_ubi_spec
extra_vars:
image_name: '{{.BeatName}}-ubi8'
Expand Down Expand Up @@ -1232,4 +1230,4 @@ specs:
<<: *elastic_license_for_binaries
files:
'{{.BeatName}}{{.BinaryExt}}':
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ RUN apt-get update -y && \
libpango-1.0-0\
libcairo2\
libasound2\
libatspi2.0-0 \
libxshmfence1 \
libatspi2.0-0\
libxshmfence1 && \
apt-get clean all && \
exit_code=0 && break || exit_code=$? && echo "apt-get error: retry $iter in 10s" && sleep 10; \
done; \
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/packaging/templates/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN apt-get update -y && \
libpango-1.0-0\
libcairo2\
libasound2\
libatspi2.0-0 \
libatspi2.0-0\
libxshmfence1 && \
apt-get clean all && \
exit_code=0 && break || exit_code=$? && echo "apt-get error: retry $iter in 10s" && sleep 10; \
Expand Down

0 comments on commit d838179

Please sign in to comment.